Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.001301/0.001301, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.00123/0.00123, allocations: 165.1 kB / 25.61 MB, free: 8.887 MB / 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.9578/0.9578, allocations: 177.1 MB / 206 MB, free: 4.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1615/0.1615, allocations: 34.26 MB / 296.8 MB, free: 13.9 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.764e-05, allocations: 5.828 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.0112/0.01123, allocations: 10.45 MB / 389.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008388/0.01961, allocations: 3.72 MB / 393.5 MB, free: 9.148 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002404/0.02202, allocations: 79.62 kB / 393.5 MB, free: 9.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005196/0.02721, allocations: 2.835 MB / 396.4 MB, free: 6.227 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00362/0.03083, allocations: 1.874 MB / 398.3 MB, free: 4.344 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.03189, allocations: 0.7639 MB / 399 MB, free: 3.578 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0027/0.03459, allocations: 3.975 MB / 403 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002592/0.03719, allocations: 3.163 MB / 406.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002044/0.03923, allocations: 2.319 MB / 408.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.04104, allocations: 2.1 MB / 410.6 MB, free: 7.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003281/0.04137, allocations: 324 kB / 410.9 MB, free: 7.613 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.04249, allocations: 0.9868 MB / 411.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.0436, allocations: 1.925 MB / 413.8 MB, free: 4.695 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009611/0.04456, allocations: 1.207 MB / 415 MB, free: 3.484 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003181/0.04774, allocations: 4.266 MB / 419.3 MB, free: 15.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.04774, allocations: 3.938 kB / 419.3 MB, free: 15.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.04774, allocations: 0 / 419.3 MB, free: 15.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.338e-05/0.0478, allocations: 0 / 419.3 MB, free: 15.2 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.005477/0.05327, allocations: 5.268 MB / 424.5 MB, free: 9.871 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.05331, allocations: 8.031 kB / 424.6 MB, free: 9.863 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002917/0.05623, allocations: 1.418 MB / 426 MB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.05799, allocations: 1.813 MB / 427.8 MB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.0581, allocations: 229.9 kB / 428 MB, free: 6.348 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003341/0.05843, allocations: 299.8 kB / 428.3 MB, free: 6.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004621/0.06306, allocations: 5.079 MB / 433.4 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.102e-05/0.06313, allocations: 43.62 kB / 433.4 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002644/0.06339, allocations: 147.9 kB / 433.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001279/0.06467, allocations: 1.509 MB / 435.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003427/0.0681, allocations: 2.191 MB / 437.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02295/0.09105, allocations: 39.61 MB / 476.9 MB, free: 3.195 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002399/0.09345, allocations: 1.061 MB / 477.9 MB, free: 2.086 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.09379, allocations: 308.6 kB / 478.2 MB, free: 1.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00321/0.097, allocations: 2.917 MB / 481.2 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.09703, allocations: 53.33 kB / 481.2 MB, free: 14.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 2.755e-06/0.09704, allocations: 0 / 481.2 MB, free: 14.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.006135/0.1032, allocations: 2.744 MB / 484 MB, free: 11.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.1032, allocations: 136.5 kB / 484.1 MB, free: 11.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002599/0.1058, allocations: 3.449 MB / 487.5 MB, free: 8.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.1059, allocations: 41.7 kB / 487.6 MB, free: 8.293 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00155/0.1074, allocations: 3.388 MB / 491 MB, free: 4.875 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/0.1077, allocations: 464.8 kB / 491.4 MB, free: 4.418 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009214/0.1086, allocations: 1.235 MB / 492.7 MB, free: 3.172 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.1087, allocations: 476.8 kB / 493.1 MB, free: 2.703 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007/0.1094, allocations: 450.5 kB / 493.6 MB, free: 2.258 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1466/0.256, allocations: 5.974 MB / 499.5 MB, free: 102.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003663/0.2596, allocations: 7.069 MB / 0.4947 GB, free: 95.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.012e-05/0.2597, allocations: 36.06 kB / 0.4948 GB, free: 95.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.0052/0.2649, allocations: 4.426 MB / 0.4991 GB, free: 94.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.601e-05/0.2649, allocations: 60.22 kB / 0.4991 GB, free: 94.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-05/0.265, allocations: 133.2 kB / 0.4993 GB, free: 94.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002715/0.2653, allocations: 219.1 kB / 0.4995 GB, free: 94.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/0.267, allocations: 1.247 MB / 0.5007 GB, free: 94.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008359/0.2678, allocations: 2.035 MB / 0.5027 GB, free: 92.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.2696, allocations: 256.8 kB / 0.5029 GB, free: 92.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002269/0.2699, allocations: 305.8 kB / 0.5032 GB, free: 92.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (685): * Single equations (assignments): 681 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009781/0.2708, allocations: 0.638 MB / 0.5038 GB, free: 92.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/0.2711, allocations: 319.9 kB / 0.5041 GB, free: 92.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005965/0.2717, allocations: 0.5343 MB / 0.5047 GB, free: 92.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.2717, allocations: 12.11 kB / 0.5047 GB, free: 92.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2717, allocations: 2.594 kB / 0.5047 GB, free: 92.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.2717, allocations: 8.016 kB / 0.5047 GB, free: 92.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003655/0.2754, allocations: 3.412 MB / 0.508 GB, free: 91.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.2754, allocations: 0 / 0.508 GB, free: 91.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004505/0.2758, allocations: 148.8 kB / 0.5082 GB, free: 91.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001646/0.276, allocations: 44.72 kB / 0.5082 GB, free: 91.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/0.276, allocations: 26.97 kB / 0.5082 GB, free: 91.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006719/0.2767, allocations: 1.789 MB / 0.51 GB, free: 89.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.2767, allocations: 8.484 kB / 0.51 GB, free: 89.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.278, allocations: 1.458 MB / 0.5114 GB, free: 88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002932/0.2782, allocations: 281.2 kB / 0.5117 GB, free: 87.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002287/0.2785, allocations: 14.27 kB / 0.5117 GB, free: 87.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006312/0.2791, allocations: 22.36 kB / 0.5117 GB, free: 87.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.2792, allocations: 69.45 kB / 0.5118 GB, free: 87.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.337e-05/0.2793, allocations: 29.94 kB / 0.5118 GB, free: 87.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001391/0.2807, allocations: 1.367 MB / 0.5131 GB, free: 86.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2807, allocations: 0 / 0.5131 GB, free: 86.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003303/0.284, allocations: 0.8365 MB / 0.514 GB, free: 86.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (74): * Single equations (assignments): 70 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002795/0.2843, allocations: 158 kB / 0.5141 GB, free: 86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002631/0.2869, allocations: 2.315 MB / 0.5164 GB, free: 84.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2869, allocations: 0.5469 kB / 0.5164 GB, free: 84.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003689/0.2873, allocations: 430.3 kB / 0.5168 GB, free: 83.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.2887, allocations: 364.6 kB / 0.5171 GB, free: 83.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007516/0.2962, allocations: 6.504 MB / 0.5235 GB, free: 77.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009446/0.2971, allocations: 1.119 MB / 0.5246 GB, free: 76.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001127/0.2983, allocations: 442.9 kB / 0.525 GB, free: 76.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005958/0.2989, allocations: 0.511 MB / 0.5255 GB, free: 76.01 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2989, allocations: 0 / 0.5255 GB, free: 76.01 MB / 410.7 MB Notification: Performance of Templates: time 0.05217/0.351, allocations: 22.94 MB / 0.5479 GB, free: 53.62 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.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: 4.193696008063853]