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.001818/0.001818, allocations: 92.33 kB / 20.95 MB, free: 3.59 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.002392/0.002392, allocations: 165.2 kB / 24.26 MB, free: 288 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 1.516/1.516, allocations: 177.1 MB / 204.6 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] 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.3757/0.3757, allocations: 34.27 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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 2.154e-06/2.154e-06, allocations: 0 / 377.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.85e-05/4.066e-05, allocations: 2.312 kB / 377.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01536/0.0154, allocations: 9.728 MB / 387 MB, free: 9.156 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008955/0.02435, allocations: 3.656 MB / 390.7 MB, free: 5.488 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/0.0261, allocations: 71.69 kB / 390.7 MB, free: 5.418 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00652/0.03262, allocations: 2.788 MB / 393.5 MB, free: 2.621 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005306/0.03792, allocations: 1.874 MB / 395.4 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.04004, allocations: 0.7522 MB / 396.2 MB, free: 15.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006139/0.04618, allocations: 3.98 MB / 400.1 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005937/0.05212, allocations: 3.144 MB / 403.3 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004922/0.05704, allocations: 2.226 MB / 405.5 MB, free: 6.555 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003985/0.06103, allocations: 2.1 MB / 407.6 MB, free: 4.449 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001163/0.06219, allocations: 328 kB / 407.9 MB, free: 4.129 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002711/0.0649, allocations: 1.018 MB / 408.9 MB, free: 3.109 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002714/0.06762, allocations: 1.921 MB / 410.9 MB, free: 1.184 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002777/0.07039, allocations: 1.211 MB / 412.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009995/0.08039, allocations: 6.74 MB / 418.8 MB, free: 9.207 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.08039, allocations: 4 kB / 418.8 MB, free: 9.203 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.0804, allocations: 0 / 418.8 MB, free: 9.203 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001896/0.08058, allocations: 0 / 418.8 MB, free: 9.203 MB / 394.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.02098/0.1016, allocations: 5.269 MB / 424.1 MB, free: 3.879 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.1016, allocations: 12.03 kB / 424.1 MB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00797/0.1096, allocations: 2.393 MB / 426.5 MB, free: 1.469 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005218/0.1148, allocations: 2.208 MB / 428.7 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002513/0.1151, allocations: 233.8 kB / 428.9 MB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001006/0.1161, allocations: 303.8 kB / 429.2 MB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02133/0.1374, allocations: 10.14 MB / 439.4 MB, free: 3.887 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001313/0.1375, allocations: 43.64 kB / 439.4 MB, free: 3.844 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004836/0.138, allocations: 143.9 kB / 439.6 MB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003637/0.1416, allocations: 1.813 MB / 441.4 MB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1784/0.32, allocations: 9.088 MB / 450.5 MB, free: 93.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03497/0.355, allocations: 34.6 MB / 485.1 MB, free: 69.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01271/0.3677, allocations: 3.355 MB / 488.4 MB, free: 69.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00218/0.3699, allocations: 1.607 MB / 490 MB, free: 68.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007112/0.3706, allocations: 231.5 kB / 490.2 MB, free: 68.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.3706, allocations: 50 kB / 490.3 MB, free: 68.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.887e-06/0.3706, allocations: 0 / 490.3 MB, free: 68.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=136): time 0.0396/0.4102, allocations: 13.6 MB / 0.4921 GB, free: 63.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.4103, allocations: 152.3 kB / 0.4922 GB, free: 63.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004062/0.4143, allocations: 3.718 MB / 0.4959 GB, free: 60.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.4145, allocations: 45.7 kB / 0.4959 GB, free: 60.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001291/0.4158, allocations: 3.071 MB / 0.4989 GB, free: 57.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000437/0.4162, allocations: 0.565 MB / 0.4994 GB, free: 57.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/0.4173, allocations: 1.14 MB / 0.5006 GB, free: 56.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.907e-05/0.4173, allocations: 305.1 kB / 0.5009 GB, free: 56.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002134/0.4195, allocations: 1.932 MB / 0.5027 GB, free: 54.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003469/0.4229, allocations: 5.5 MB / 0.5081 GB, free: 47.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006156/0.4291, allocations: 8.054 MB / 0.516 GB, free: 38.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.237e-05/0.4291, allocations: 36 kB / 0.516 GB, free: 38.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01098/0.4401, allocations: 8.198 MB / 0.524 GB, free: 30.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.546e-05/0.4402, allocations: 60 kB / 0.5241 GB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.354e-05/0.4403, allocations: 131.9 kB / 0.5242 GB, free: 29.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/0.4426, allocations: 0.923 MB / 0.5251 GB, free: 28.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003207/0.4458, allocations: 1.287 MB / 0.5264 GB, free: 27.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005068/0.4508, allocations: 5.042 MB / 0.5313 GB, free: 22.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00373/0.4546, allocations: 335.8 kB / 0.5316 GB, free: 22.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005432/0.4551, allocations: 367.4 kB / 0.5319 GB, free: 21.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * 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 (681): * Single equations (assignments): 677 * 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.002487/0.4576, allocations: 1.965 MB / 0.5339 GB, free: 19.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000744/0.4583, allocations: 341.9 kB / 0.5342 GB, free: 19.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004537/0.4629, allocations: 2.735 MB / 0.5369 GB, free: 16.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-05/0.4629, allocations: 16 kB / 0.5369 GB, free: 16.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.4629, allocations: 4 kB / 0.5369 GB, free: 16.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.4629, allocations: 8.062 kB / 0.5369 GB, free: 16.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/0.4732, allocations: 6.205 MB / 0.543 GB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.4732, allocations: 4 kB / 0.543 GB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.4743, allocations: 255.6 kB / 0.5432 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002092/0.4764, allocations: 0.728 MB / 0.5439 GB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/0.4766, allocations: 43.41 kB / 0.544 GB, free: 9.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005071/0.4816, allocations: 4.636 MB / 0.5485 GB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4816, allocations: 4.031 kB / 0.5485 GB, free: 4.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006963/0.4886, allocations: 5.118 MB / 0.5535 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009783/0.4896, allocations: 301.8 kB / 0.5538 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006102/0.4902, allocations: 24 kB / 0.5538 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/0.4917, allocations: 107.8 kB / 0.5539 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000323/0.492, allocations: 104.4 kB / 0.554 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.4922, allocations: 47.97 kB / 0.554 GB, free: 15 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003617/0.4958, allocations: 2.171 MB / 0.5562 GB, free: 12.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4958, allocations: 0 / 0.5562 GB, free: 12.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004739/0.5005, allocations: 0.9406 MB / 0.5571 GB, free: 11.9 MB / 426.7 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 (104): * Single equations (assignments): 100 * 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.0004681/0.501, allocations: 170.5 kB / 0.5572 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007931/0.5089, allocations: 4.46 MB / 0.5616 GB, free: 7.289 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.5089, allocations: 0 / 0.5616 GB, free: 7.289 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002178/0.5111, allocations: 1.287 MB / 0.5629 GB, free: 5.992 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002835/0.514, allocations: 387.4 kB / 0.5632 GB, free: 5.621 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/0.5319, allocations: 8.54 MB / 0.5716 GB, free: 13.01 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004043/0.5359, allocations: 2.519 MB / 0.574 GB, free: 10.46 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004367/0.5403, allocations: 1.732 MB / 0.5757 GB, free: 8.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007822/0.5411, allocations: 256.4 kB / 0.576 GB, free: 8.48 MB / 442.7 MB Notification: Performance of SimCode: time 2.264e-06/0.5411, allocations: 0 / 0.576 GB, free: 8.48 MB / 442.7 MB Notification: Performance of Templates: time 0.2284/0.7694, allocations: 29.48 MB / 0.6047 GB, free: 128 MB / 458.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.979279677034356]