Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9812/0.9812, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2346/0.2346, allocations: 32.81 MB / 294.3 MB, free: 1.27 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 3.938 kB / 376 MB, free: 4.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.091e-05/3.281e-05, allocations: 6.25 kB / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003465/0.003498, allocations: 1.706 MB / 377.7 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004332/0.003931, allocations: 107.6 kB / 377.8 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.272e-05/0.004014, allocations: 7.938 kB / 377.8 MB, free: 2.852 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.202e-05/0.004086, allocations: 15.86 kB / 377.8 MB, free: 2.836 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.004241, allocations: 39.62 kB / 377.9 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.004404, allocations: 19.98 kB / 377.9 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.004594, allocations: 135.3 kB / 378 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.004755, allocations: 29.14 kB / 378 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.00491, allocations: 71.81 kB / 378.1 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.814e-05/0.005008, allocations: 39.89 kB / 378.2 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.005037, allocations: 8 kB / 378.2 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.245e-05/0.005059, allocations: 15.94 kB / 378.2 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.355e-05/0.005093, allocations: 23.92 kB / 378.2 MB, free: 2.461 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.988e-05/0.005153, allocations: 43.91 kB / 378.2 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.005342, allocations: 79.73 kB / 378.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.005347, allocations: 0 / 378.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.005348, allocations: 0 / 378.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.005355, allocations: 0 / 378.3 MB, free: 2.34 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005635/0.005919, allocations: 432.4 kB / 378.7 MB, free: 1.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.005967, allocations: 15.97 kB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.943e-05/0.006036, allocations: 16.89 kB / 378.8 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.006232, allocations: 144.5 kB / 378.9 MB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.006252, allocations: 16.59 kB / 378.9 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.965e-05/0.006302, allocations: 12.38 kB / 378.9 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.006517, allocations: 119.1 kB / 379.1 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.006534, allocations: 4.141 kB / 379.1 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.006551, allocations: 4.375 kB / 379.1 MB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.006561, allocations: 4.375 kB / 379.1 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.939e-05/0.00666, allocations: 43.89 kB / 379.1 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007747/0.007435, allocations: 0.5295 MB / 379.6 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.007584, allocations: 98.11 kB / 379.7 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.007627, allocations: 23.38 kB / 379.8 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.007638, allocations: 0 / 379.8 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.007673, allocations: 41.39 kB / 379.8 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.007674, allocations: 0 / 379.8 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005616/0.008236, allocations: 140.9 kB / 379.9 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.008282, allocations: 85.05 kB / 380 MB, free: 448 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.008398, allocations: 181.8 kB / 380.2 MB, free: 248 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.008415, allocations: 37.64 kB / 380.2 MB, free: 204 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.008495, allocations: 162.6 kB / 380.4 MB, free: 36 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.008524, allocations: 31.73 kB / 380.4 MB, free: 4 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.388e-05/0.008598, allocations: 35.44 kB / 380.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004103/0.009008, allocations: 0.4884 MB / 381 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.582e-05/0.009054, allocations: 11.98 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.96e-05/0.009144, allocations: 107.8 kB / 381.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.009293, allocations: 136.7 kB / 381.2 MB, free: 15.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.009298, allocations: 4 kB / 381.2 MB, free: 15.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003011/0.009599, allocations: 160.7 kB / 381.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.009619, allocations: 8.25 kB / 381.4 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.009627, allocations: 4 kB / 381.4 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002444/0.009871, allocations: 39.3 kB / 381.4 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.833e-05/0.009969, allocations: 20 kB / 381.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.01213, allocations: 3.468 MB / 384.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.965e-05/0.0122, allocations: 7.953 kB / 384.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.01221, allocations: 16 kB / 384.9 MB, free: 11.13 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.01233, allocations: 172.4 kB / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.01238, allocations: 8.125 kB / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.01241, allocations: 15.98 kB / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01241, allocations: 0 / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.01242, allocations: 0 / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.01242, allocations: 4 kB / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.01265, allocations: 152.4 kB / 385.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.01266, allocations: 0 / 385.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.656e-05/0.01275, allocations: 12 kB / 385.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001286/0.01288, allocations: 39.3 kB / 385.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.0129, allocations: 7.984 kB / 385.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/0.01513, allocations: 3.441 MB / 388.8 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01513, allocations: 4.25 kB / 388.8 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.01546, allocations: 390.3 kB / 389.2 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.01547, allocations: 11.89 kB / 389.2 MB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.01549, allocations: 0 / 389.2 MB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.01559, allocations: 8 kB / 389.2 MB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.01562, allocations: 15.86 kB / 389.2 MB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.01563, allocations: 7.938 kB / 389.2 MB, free: 6.535 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.281e-05/0.01569, allocations: 135.2 kB / 389.3 MB, free: 6.402 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.01569, allocations: 0 / 389.3 MB, free: 6.402 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002887/0.01598, allocations: 35.95 kB / 389.4 MB, free: 6.367 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.539e-05/0.01608, allocations: 99.23 kB / 389.5 MB, free: 6.258 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003625/0.01644, allocations: 407.2 kB / 389.9 MB, free: 5.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01644, allocations: 0 / 389.9 MB, free: 5.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.01659, allocations: 375.8 kB / 390.2 MB, free: 5.414 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.01689, allocations: 28.05 kB / 390.3 MB, free: 5.387 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007284/0.01762, allocations: 396.4 kB / 390.6 MB, free: 4.969 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.674e-05/0.01767, allocations: 68.09 kB / 390.7 MB, free: 4.883 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.427e-05/0.0177, allocations: 8.969 kB / 390.7 MB, free: 4.871 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.01773, allocations: 12.5 kB / 390.7 MB, free: 4.859 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01773, allocations: 4 kB / 390.7 MB, free: 4.855 MB / 362.7 MB Notification: Performance of Templates: time 0.003476/0.0212, allocations: 1.684 MB / 392.4 MB, free: 3.195 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.249515128787607]