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.00103/0.00103, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001292/0.001292, allocations: 170.4 kB / 24.91 MB, free: 9.191 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.9559/0.9559, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2483/0.2483, allocations: 34.28 MB / 296.1 MB, free: 0.7383 MB / 266.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 2.645e-06/2.645e-06, allocations: 0 / 325.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.817e-05, allocations: 3.516 kB / 325.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01204/0.01207, allocations: 10.46 MB / 335.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008858/0.02093, allocations: 3.875 MB / 339.6 MB, free: 9.297 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.02282, allocations: 75.62 kB / 339.7 MB, free: 9.223 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003683/0.02651, allocations: 2.869 MB / 342.5 MB, free: 6.344 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003499/0.03, allocations: 1.882 MB / 344.4 MB, free: 4.453 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.03125, allocations: 0.7562 MB / 345.2 MB, free: 3.695 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004015/0.03527, allocations: 3.987 MB / 349.2 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003026/0.03829, allocations: 3.239 MB / 352.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002995/0.04129, allocations: 2.308 MB / 354.7 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002278/0.04357, allocations: 2.022 MB / 356.7 MB, free: 8.027 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006533/0.04422, allocations: 320 kB / 357 MB, free: 7.715 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.04568, allocations: 0.9791 MB / 358 MB, free: 6.734 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001395/0.04707, allocations: 1.921 MB / 359.9 MB, free: 4.809 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.04849, allocations: 1.211 MB / 361.2 MB, free: 3.598 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004427/0.05292, allocations: 4.266 MB / 365.4 MB, free: 15.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.05293, allocations: 0 / 365.4 MB, free: 15.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.05293, allocations: 0 / 365.4 MB, free: 15.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001071/0.05304, allocations: 0 / 365.4 MB, free: 15.32 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.005295/0.05833, allocations: 4.464 MB / 369.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.05837, allocations: 8.031 kB / 369.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002426/0.06079, allocations: 1.054 MB / 370.9 MB, free: 9.742 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001964/0.06276, allocations: 1.689 MB / 372.6 MB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.06286, allocations: 233.9 kB / 372.9 MB, free: 7.766 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000318/0.06318, allocations: 299.8 kB / 373.2 MB, free: 7.473 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004656/0.06783, allocations: 4.57 MB / 377.7 MB, free: 2.242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.536e-05/0.06791, allocations: 47.62 kB / 377.8 MB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002337/0.06814, allocations: 143.9 kB / 377.9 MB, free: 2.055 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001293/0.06944, allocations: 1.513 MB / 379.4 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004377/0.07381, allocations: 2.243 MB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02292/0.09674, allocations: 28.44 MB / 410.1 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/0.09913, allocations: 1.126 MB / 411.2 MB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.09944, allocations: 244.9 kB / 411.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004161/0.1036, allocations: 2.758 MB / 414.2 MB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.1036, allocations: 42.56 kB / 414.3 MB, free: 12.44 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 3.867e-06/0.1036, allocations: 0 / 414.3 MB, free: 12.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.005469/0.1091, allocations: 2.467 MB / 416.7 MB, free: 9.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.1092, allocations: 140.5 kB / 416.9 MB, free: 9.762 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/0.1116, allocations: 3.098 MB / 420 MB, free: 6.656 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.549e-05/0.1117, allocations: 33.7 kB / 420 MB, free: 6.617 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/0.1131, allocations: 2.997 MB / 423 MB, free: 3.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002796/0.1133, allocations: 448.8 kB / 423.4 MB, free: 3.148 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007321/0.1141, allocations: 1.045 MB / 424.5 MB, free: 2.094 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.551e-05/0.1141, allocations: 305.1 kB / 424.8 MB, free: 1.793 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008461/0.115, allocations: 0.6235 MB / 425.4 MB, free: 1.164 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002366/0.1173, allocations: 4.2 MB / 429.6 MB, free: 11.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003644/0.121, allocations: 5.344 MB / 434.9 MB, free: 3.871 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.493e-05/0.121, allocations: 40 kB / 435 MB, free: 3.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.004493/0.1255, allocations: 3.755 MB / 438.7 MB, free: 64 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.446e-05/0.1256, allocations: 62.34 kB / 438.8 MB, free: 4 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.611e-05/0.1257, allocations: 132 kB / 438.9 MB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000302/0.126, allocations: 219.6 kB / 439.1 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/0.1279, allocations: 1.248 MB / 440.4 MB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/0.1289, allocations: 1.51 MB / 441.9 MB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/0.1311, allocations: 247.7 kB / 442.1 MB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002616/0.1314, allocations: 308 kB / 442.4 MB, free: 12.26 MB / 426.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.001058/0.1324, allocations: 0.5911 MB / 443 MB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002889/0.1327, allocations: 179.9 kB / 443.2 MB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006045/0.1333, allocations: 0.4949 MB / 443.7 MB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.1333, allocations: 15.94 kB / 443.7 MB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1334, allocations: 0 / 443.7 MB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.1334, allocations: 3.984 kB / 443.7 MB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003625/0.137, allocations: 2.838 MB / 446.6 MB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.137, allocations: 4 kB / 446.6 MB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/0.1374, allocations: 148 kB / 446.7 MB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001498/0.1375, allocations: 51.58 kB / 446.8 MB, free: 7.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.1375, allocations: 15.98 kB / 446.8 MB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009011/0.1384, allocations: 1.431 MB / 448.2 MB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1384, allocations: 0 / 448.2 MB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.1397, allocations: 1.216 MB / 449.4 MB, free: 5.031 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/0.1401, allocations: 273.8 kB / 449.7 MB, free: 4.762 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.1402, allocations: 12 kB / 449.7 MB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004322/0.1407, allocations: 32.02 kB / 449.7 MB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.501e-05/0.1408, allocations: 55.78 kB / 449.8 MB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.256e-05/0.1408, allocations: 24 kB / 449.8 MB, free: 4.641 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001015/0.1418, allocations: 1.117 MB / 450.9 MB, free: 3.531 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1418, allocations: 0 / 450.9 MB, free: 3.531 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003015/0.1448, allocations: 0.8281 MB / 451.8 MB, free: 2.703 MB / 426.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.0003239/0.1452, allocations: 140.1 kB / 451.9 MB, free: 2.555 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00279/0.1479, allocations: 2.108 MB / 454 MB, free: 468 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001567/0.1481, allocations: 100.2 kB / 454.1 MB, free: 360 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003692/0.1485, allocations: 337 kB / 454.4 MB, free: 4 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1295/0.278, allocations: 0.5369 MB / 455 MB, free: 125.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007457/0.2855, allocations: 6.414 MB / 461.4 MB, free: 122.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008343/0.2863, allocations: 1.106 MB / 462.5 MB, free: 122.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001097/0.2874, allocations: 442.2 kB / 462.9 MB, free: 122.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005275/0.2879, allocations: 493.2 kB / 463.4 MB, free: 122.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.724e-06/0.2879, allocations: 3.75 kB / 463.4 MB, free: 122.5 MB / 426.7 MB Notification: Performance of Templates: time 0.03561/0.3235, allocations: 22.31 MB / 485.7 MB, free: 105.5 MB / 426.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: 3.960458111949265]