Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001465/0.001465, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.001442/0.001442, allocations: 165.4 kB / 24.84 MB, free: 9.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.006/1.006, allocations: 158.6 MB / 186.7 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1556/0.1556, allocations: 32.38 MB / 271.5 MB, free: 14.52 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.333e-05/3.563e-05, allocations: 6.25 kB / 348.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003718/0.003753, allocations: 2.819 MB / 351.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.005211, allocations: 0.7409 MB / 352.5 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.005455, allocations: 11.94 kB / 352.5 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.005671, allocations: 67.31 kB / 352.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.005951, allocations: 130.8 kB / 352.7 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.006288, allocations: 99.8 kB / 352.8 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004821/0.00677, allocations: 462.1 kB / 353.2 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.00704, allocations: 126.8 kB / 353.3 MB, free: 4.715 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004118/0.007452, allocations: 263.4 kB / 353.6 MB, free: 4.457 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.007683, allocations: 139.6 kB / 353.7 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.948e-05/0.007742, allocations: 39.94 kB / 353.8 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.664e-05/0.007799, allocations: 32 kB / 353.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.691e-05/0.007866, allocations: 87.66 kB / 353.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.008017, allocations: 143.7 kB / 354 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000387/0.008404, allocations: 294.9 kB / 354.3 MB, free: 3.734 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.00841, allocations: 0 / 354.3 MB, free: 3.734 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.008412, allocations: 0 / 354.3 MB, free: 3.734 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.008418, allocations: 0 / 354.3 MB, free: 3.734 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0008326/0.009251, allocations: 0.6987 MB / 355 MB, free: 2.996 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.009294, allocations: 8.031 kB / 355 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.009403, allocations: 76.66 kB / 355.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.009708, allocations: 244.8 kB / 355.3 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.009735, allocations: 29.38 kB / 355.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.048e-05/0.009796, allocations: 36.38 kB / 355.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/0.01026, allocations: 306.7 kB / 355.7 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.763e-05/0.0103, allocations: 4.141 kB / 355.7 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.01034, allocations: 16.38 kB / 355.7 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.01035, allocations: 15.94 kB / 355.7 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.01054, allocations: 107.8 kB / 355.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.0117, allocations: 0.9945 MB / 356.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.01203, allocations: 253.4 kB / 357.1 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.01216, allocations: 115.1 kB / 357.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.01218, allocations: 8 kB / 357.2 MB, free: 0.668 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.01221, allocations: 41.39 kB / 357.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 3.286e-06/0.01221, allocations: 4 kB / 357.3 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of matching and sorting (n=57): time 0.00248/0.01469, allocations: 1.561 MB / 358.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.01476, allocations: 110.8 kB / 358.9 MB, free: 14.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.01495, allocations: 238.8 kB / 359.2 MB, free: 14.49 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.01498, allocations: 37.7 kB / 359.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.01513, allocations: 240.2 kB / 359.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.01528, allocations: 210.2 kB / 359.6 MB, free: 14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.0154, allocations: 87.97 kB / 359.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.01562, allocations: 0.5195 MB / 360.2 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.01573, allocations: 49.27 kB / 360.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.01595, allocations: 178.7 kB / 360.5 MB, free: 13.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/0.01646, allocations: 287.8 kB / 360.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.01646, allocations: 0 / 360.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008933/0.01736, allocations: 411.8 kB / 361.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.01738, allocations: 8 kB / 361.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.01739, allocations: 0 / 361.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003561/0.01775, allocations: 123.2 kB / 361.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005145/0.01826, allocations: 95.83 kB / 361.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004794/0.02306, allocations: 6.27 MB / 367.6 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.02322, allocations: 24.03 kB / 367.7 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.02324, allocations: 12 kB / 367.7 MB, free: 5.473 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.02341, allocations: 188.4 kB / 367.9 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.685e-05/0.02349, allocations: 55.8 kB / 367.9 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.02354, allocations: 41.81 kB / 367.9 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.02355, allocations: 8 kB / 368 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.02356, allocations: 7.938 kB / 368 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.02357, allocations: 7.984 kB / 368 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.0248, allocations: 1.113 MB / 369.1 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.02481, allocations: 0 / 369.1 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.02505, allocations: 91.89 kB / 369.2 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001934/0.02525, allocations: 95.02 kB / 369.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.02527, allocations: 15.98 kB / 369.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002784/0.02805, allocations: 5.324 MB / 374.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.02805, allocations: 3.938 kB / 374.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007118/0.02877, allocations: 0.8438 MB / 375.5 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.0288, allocations: 39.73 kB / 375.5 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.02883, allocations: 15.94 kB / 375.5 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.02896, allocations: 8 kB / 375.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/0.02904, allocations: 47.91 kB / 375.6 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.02905, allocations: 12 kB / 375.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.189e-05/0.02913, allocations: 176.1 kB / 375.7 MB, free: 12.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-08/0.02913, allocations: 0 / 375.7 MB, free: 12.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005388/0.02967, allocations: 116 kB / 375.9 MB, free: 12.8 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001252/0.02979, allocations: 115.1 kB / 376 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006774/0.03047, allocations: 0.809 MB / 376.8 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.03047, allocations: 192 / 376.8 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.03086, allocations: 0.6775 MB / 377.5 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.03135, allocations: 64 kB / 377.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.03274, allocations: 0.9349 MB / 378.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.03286, allocations: 126.4 kB / 378.6 MB, free: 9.895 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.83e-05/0.03295, allocations: 31.27 kB / 378.6 MB, free: 9.867 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.03308, allocations: 126.2 kB / 378.7 MB, free: 9.742 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/0.03308, allocations: 0 / 378.7 MB, free: 9.742 MB / 314.7 MB Notification: Performance of Templates: time 0.008227/0.04131, allocations: 4.902 MB / 383.6 MB, free: 4.883 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.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.342036276124418]