Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.001251/0.001251, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001395/0.001395, allocations: 172.7 kB / 24.91 MB, free: 9.148 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.9832/0.9832, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2534/0.2534, allocations: 32.81 MB / 294.6 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.077e-05, allocations: 2.312 kB / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01017/0.01019, allocations: 12.36 MB / 335.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007853/0.01805, allocations: 4.368 MB / 340 MB, free: 8.844 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.01954, allocations: 95.56 kB / 340.1 MB, free: 8.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00397/0.02351, allocations: 3.917 MB / 344 MB, free: 4.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003577/0.02708, allocations: 2.091 MB / 346.1 MB, free: 2.719 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.02848, allocations: 0.8809 MB / 347 MB, free: 1.836 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004757/0.03324, allocations: 4.649 MB / 351.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003989/0.03722, allocations: 4.044 MB / 355.7 MB, free: 9.043 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003815/0.04104, allocations: 2.904 MB / 358.6 MB, free: 6.133 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002368/0.04341, allocations: 2.389 MB / 361 MB, free: 3.738 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004553/0.04386, allocations: 408 kB / 361.4 MB, free: 3.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.04526, allocations: 1.1 MB / 362.5 MB, free: 2.238 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001685/0.04694, allocations: 2.353 MB / 364.8 MB, free: 15.88 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001325/0.04827, allocations: 1.523 MB / 366.3 MB, free: 14.35 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004352/0.05262, allocations: 5.079 MB / 371.4 MB, free: 9.254 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.05262, allocations: 0 / 371.4 MB, free: 9.254 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.05263, allocations: 0 / 371.4 MB, free: 9.254 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.494e-05/0.05272, allocations: 0 / 371.4 MB, free: 9.254 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.00635/0.05907, allocations: 5.506 MB / 376.9 MB, free: 3.695 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.05911, allocations: 12.03 kB / 376.9 MB, free: 3.684 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002827/0.06193, allocations: 1.195 MB / 378.1 MB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/0.06445, allocations: 2.03 MB / 380.2 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.06458, allocations: 299.6 kB / 380.5 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004265/0.06501, allocations: 395.8 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006516/0.07153, allocations: 5.6 MB / 386.4 MB, free: 9.398 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/0.07164, allocations: 43.58 kB / 386.5 MB, free: 9.355 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000333/0.07198, allocations: 183.8 kB / 386.7 MB, free: 9.176 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001473/0.07345, allocations: 1.789 MB / 388.5 MB, free: 7.387 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005008/0.07846, allocations: 2.772 MB / 391.2 MB, free: 4.574 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02919/0.1076, allocations: 33.59 MB / 424.8 MB, free: 1.738 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00375/0.1114, allocations: 1.673 MB / 426.5 MB, free: 24 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005518/0.112, allocations: 406.1 kB / 426.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006287/0.1182, allocations: 4.135 MB / 431 MB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.1183, allocations: 55.55 kB / 431.1 MB, free: 11.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=149): time 3.106e-06/0.1183, allocations: 0 / 431.1 MB, free: 11.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=158): time 0.01229/0.1306, allocations: 5.395 MB / 436.5 MB, free: 5.953 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.1306, allocations: 145.5 kB / 436.6 MB, free: 5.781 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002625/0.1332, allocations: 3.395 MB / 440 MB, free: 2.398 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.192e-05/0.1333, allocations: 57.64 kB / 440.1 MB, free: 2.336 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001635/0.135, allocations: 3.458 MB / 443.5 MB, free: 14.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004034/0.1354, allocations: 0.663 MB / 444.2 MB, free: 14.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008769/0.1362, allocations: 1.204 MB / 445.4 MB, free: 12.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.234e-05/0.1363, allocations: 301.1 kB / 445.7 MB, free: 12.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.1374, allocations: 0.7671 MB / 446.5 MB, free: 11.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002928/0.1403, allocations: 4.691 MB / 451.1 MB, free: 5.156 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1597/0.3, allocations: 6.037 MB / 457.2 MB, free: 119.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000106/0.3001, allocations: 43.38 kB / 457.2 MB, free: 119.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.006055/0.3061, allocations: 4.332 MB / 461.6 MB, free: 118.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.652e-05/0.3062, allocations: 68.19 kB / 461.6 MB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001248/0.3063, allocations: 149.8 kB / 461.8 MB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004576/0.3068, allocations: 258.4 kB / 462 MB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002525/0.3093, allocations: 1.511 MB / 463.5 MB, free: 118 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.3104, allocations: 1.613 MB / 465.1 MB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/0.3125, allocations: 276 kB / 465.4 MB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002765/0.3128, allocations: 347.4 kB / 465.8 MB, free: 116.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 661 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (802): * Single equations (assignments): 798 * 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.001153/0.314, allocations: 0.6598 MB / 466.4 MB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/0.3142, allocations: 222.5 kB / 466.6 MB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009976/0.3152, allocations: 0.8633 MB / 467.5 MB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.3153, allocations: 23.56 kB / 467.5 MB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3153, allocations: 3.938 kB / 467.5 MB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.3153, allocations: 6.984 kB / 467.5 MB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005138/0.3204, allocations: 4.279 MB / 471.8 MB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.3204, allocations: 5.312 kB / 471.8 MB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007089/0.3211, allocations: 284.8 kB / 472.1 MB, free: 115.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002418/0.3214, allocations: 80.23 kB / 472.2 MB, free: 115.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.307e-05/0.3214, allocations: 29.28 kB / 472.2 MB, free: 115.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009412/0.3224, allocations: 1.516 MB / 473.7 MB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.3224, allocations: 11.94 kB / 473.7 MB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.3239, allocations: 1.816 MB / 475.5 MB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005784/0.3245, allocations: 429.2 kB / 476 MB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.3247, allocations: 34.78 kB / 476 MB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005577/0.3253, allocations: 27.75 kB / 476 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.3254, allocations: 121.8 kB / 476.1 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.097e-05/0.3255, allocations: 36.42 kB / 476.2 MB, free: 112.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00097/0.3265, allocations: 1.24 MB / 477.4 MB, free: 111.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3265, allocations: 0 / 477.4 MB, free: 111.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002994/0.3295, allocations: 1.031 MB / 478.5 MB, free: 110.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (143): * Single equations (assignments): 139 * 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.0003277/0.3298, allocations: 162.5 kB / 478.6 MB, free: 110.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002725/0.3325, allocations: 2.579 MB / 481.2 MB, free: 108.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001523/0.3327, allocations: 104 kB / 481.3 MB, free: 108.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005903/0.3332, allocations: 0.5358 MB / 481.8 MB, free: 108 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.3352, allocations: 0.6614 MB / 482.5 MB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008989/0.3442, allocations: 8.122 MB / 490.6 MB, free: 99.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.3452, allocations: 1.356 MB / 492 MB, free: 98.35 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001214/0.3464, allocations: 0.5127 MB / 492.5 MB, free: 97.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007759/0.3472, allocations: 0.5597 MB / 493 MB, free: 97.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.463e-06/0.3472, allocations: 0 / 493 MB, free: 97.27 MB / 426.7 MB Notification: Performance of Templates: time 0.04273/0.39, allocations: 30.21 MB / 0.511 GB, free: 67.51 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.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.032638167031109]