Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001704/0.001704, allocations: 74.97 kB / 19.93 MB, free: 1.77 MB / 14.72 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.002264/0.002264, allocations: 172 kB / 23.22 MB, free: 4.887 MB / 14.72 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.641/1.641, allocations: 158.6 MB / 185 MB, free: 6.391 MB / 174.1 MB " [Timeout remaining time 178] 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.2346/0.2346, allocations: 32.38 MB / 269.6 MB, free: 4.66 MB / 254.1 MB " [Timeout remaining time 179] 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.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 407.4 MB, free: 3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.961e-05/4.124e-05, allocations: 6.281 kB / 407.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01631/0.01635, allocations: 10.38 MB / 417.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01411/0.03046, allocations: 3.739 MB / 421.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003689/0.03415, allocations: 75.69 kB / 421.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007211/0.04136, allocations: 2.776 MB / 424.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007048/0.04841, allocations: 2.01 MB / 426.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.05095, allocations: 0.7328 MB / 427.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007014/0.05796, allocations: 4.135 MB / 431.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00624/0.0642, allocations: 3.189 MB / 434.4 MB, free: 7.801 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00658/0.07078, allocations: 2.358 MB / 436.8 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004763/0.07554, allocations: 2.252 MB / 439 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001565/0.07711, allocations: 356 kB / 439.4 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003416/0.08052, allocations: 1.026 MB / 440.4 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003211/0.08374, allocations: 2.069 MB / 442.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004069/0.0878, allocations: 1.316 MB / 443.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01415/0.102, allocations: 7.258 MB / 451 MB, free: 7.129 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.358e-05/0.102, allocations: 3.938 kB / 451 MB, free: 7.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.102, allocations: 0 / 451 MB, free: 7.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004759/0.1025, allocations: 0 / 451 MB, free: 7.125 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.028/0.1305, allocations: 5.531 MB / 456.6 MB, free: 1.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.333e-05/0.1305, allocations: 12.03 kB / 456.6 MB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008952/0.1395, allocations: 1.971 MB / 458.5 MB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006652/0.1461, allocations: 2.325 MB / 460.9 MB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002928/0.1464, allocations: 246.2 kB / 461.1 MB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001596/0.148, allocations: 315.8 kB / 461.4 MB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02766/0.1757, allocations: 10.83 MB / 472.3 MB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000268/0.1759, allocations: 39.64 kB / 472.3 MB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001523/0.1775, allocations: 151.9 kB / 472.4 MB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2183/0.3957, allocations: 1.982 MB / 474.4 MB, free: 64.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02368/0.4194, allocations: 9.675 MB / 484.1 MB, free: 62.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04678/0.4662, allocations: 36.67 MB / 0.5086 GB, free: 31.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01307/0.4793, allocations: 3.569 MB / 0.512 GB, free: 28.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002096/0.4814, allocations: 1.749 MB / 0.5138 GB, free: 26.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000666/0.482, allocations: 230.7 kB / 0.514 GB, free: 26.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.4821, allocations: 55.55 kB / 0.514 GB, free: 25.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=151): time 4.669e-06/0.4821, allocations: 3.938 kB / 0.514 GB, free: 25.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=157): time 0.04745/0.5295, allocations: 14.58 MB / 0.5283 GB, free: 11.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.5296, allocations: 149.5 kB / 0.5284 GB, free: 11.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005262/0.5348, allocations: 3.864 MB / 0.5322 GB, free: 7.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004044/0.5352, allocations: 55.73 kB / 0.5322 GB, free: 7.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001573/0.5368, allocations: 3.249 MB / 0.5354 GB, free: 4.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008481/0.5377, allocations: 0.642 MB / 0.536 GB, free: 3.766 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001389/0.5391, allocations: 1.195 MB / 0.5372 GB, free: 2.559 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.844e-05/0.5391, allocations: 305.1 kB / 0.5375 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002465/0.5416, allocations: 2.1 MB / 0.5395 GB, free: 156 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007715/0.5493, allocations: 5.8 MB / 0.5452 GB, free: 8.492 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01323/0.5625, allocations: 8.565 MB / 0.5536 GB, free: 14.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002458/0.5628, allocations: 39.94 kB / 0.5536 GB, free: 14.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01998/0.5828, allocations: 8.396 MB / 0.5618 GB, free: 5.641 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001547/0.5829, allocations: 64 kB / 0.5619 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002426/0.5832, allocations: 128 kB / 0.562 GB, free: 5.453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002784/0.5859, allocations: 0.9061 MB / 0.5629 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005121/0.5911, allocations: 1.38 MB / 0.5642 GB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007948/0.599, allocations: 5.026 MB / 0.5691 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005689/0.6047, allocations: 355.7 kB / 0.5695 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001419/0.6061, allocations: 380 kB / 0.5698 GB, free: 13.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 36 (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 (722): * Single equations (assignments): 718 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005695/0.6118, allocations: 2.095 MB / 0.5719 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/0.613, allocations: 317.8 kB / 0.5722 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007992/0.621, allocations: 3.116 MB / 0.5752 GB, free: 7.777 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.602e-05/0.6211, allocations: 16 kB / 0.5752 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.623e-05/0.6211, allocations: 15.92 kB / 0.5753 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.342e-05/0.6211, allocations: 3.984 kB / 0.5753 GB, free: 7.742 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01961/0.6407, allocations: 6.93 MB / 0.582 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/0.6408, allocations: 4 kB / 0.582 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/0.6426, allocations: 311.6 kB / 0.5823 GB, free: 480 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002483/0.645, allocations: 0.7224 MB / 0.583 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003076/0.6453, allocations: 43.97 kB / 0.5831 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00736/0.6527, allocations: 4.627 MB / 0.5876 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/0.6527, allocations: 4.031 kB / 0.5876 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01148/0.6642, allocations: 5.677 MB / 0.5931 GB, free: 5.262 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00199/0.6662, allocations: 0.5522 MB / 0.5937 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001074/0.6673, allocations: 24 kB / 0.5937 GB, free: 4.684 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002442/0.6697, allocations: 139.6 kB / 0.5938 GB, free: 4.551 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004582/0.6702, allocations: 112.7 kB / 0.5939 GB, free: 4.441 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002225/0.6704, allocations: 63.91 kB / 0.594 GB, free: 4.379 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005028/0.6754, allocations: 2.244 MB / 0.5962 GB, free: 2.145 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6754, allocations: 0 / 0.5962 GB, free: 2.145 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007136/0.6825, allocations: 1.023 MB / 0.5972 GB, free: 1.121 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (126): * Single equations (assignments): 122 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008703/0.6834, allocations: 182.3 kB / 0.5974 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01041/0.6938, allocations: 4.848 MB / 0.6021 GB, free: 12.11 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/0.6938, allocations: 0 / 0.6021 GB, free: 12.11 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003929/0.6978, allocations: 1.449 MB / 0.6035 GB, free: 10.65 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00494/0.7027, allocations: 375.1 kB / 0.6039 GB, free: 10.29 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02197/0.7247, allocations: 9.059 MB / 0.6127 GB, free: 1.172 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008014/0.7327, allocations: 2.705 MB / 0.6154 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00588/0.7386, allocations: 1.844 MB / 0.6172 GB, free: 12.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/0.7399, allocations: 268.4 kB / 0.6174 GB, free: 12.31 MB / 494.1 MB Notification: Performance of SimCode: time 1.492e-06/0.7399, allocations: 0 / 0.6174 GB, free: 12.31 MB / 494.1 MB Notification: Performance of Templates: time 0.07716/0.8171, allocations: 31.07 MB / 0.6478 GB, free: 13.34 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.784206002950668]