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.0009723/0.0009723, 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.001041/0.001041, allocations: 172.4 kB / 24.91 MB, free: 8.262 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.911/0.911, 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.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.2454/0.2454, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.633e-06/1.633e-06, allocations: 0 / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.099e-05, allocations: 2.312 kB / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.009341/0.009362, allocations: 12.32 MB / 335.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007436/0.0168, allocations: 4.376 MB / 339.9 MB, free: 8.926 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.01836, allocations: 95.56 kB / 340 MB, free: 8.832 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004564/0.02293, allocations: 3.975 MB / 344 MB, free: 4.844 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004713/0.02764, allocations: 2.119 MB / 346.1 MB, free: 2.715 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.02947, allocations: 0.8887 MB / 347 MB, free: 1.824 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005292/0.03477, allocations: 4.647 MB / 351.6 MB, free: 13.17 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004573/0.03934, allocations: 4.161 MB / 355.8 MB, free: 8.918 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005196/0.04453, allocations: 2.931 MB / 358.7 MB, free: 5.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0037/0.04823, allocations: 2.396 MB / 361.1 MB, free: 3.578 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001102/0.04934, allocations: 412 kB / 361.5 MB, free: 3.176 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.05143, allocations: 1.069 MB / 362.6 MB, free: 2.105 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002128/0.05356, allocations: 2.338 MB / 364.9 MB, free: 15.76 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002192/0.05575, allocations: 1.519 MB / 366.5 MB, free: 14.24 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006446/0.0622, allocations: 5.083 MB / 371.5 MB, free: 9.137 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.0622, allocations: 4 kB / 371.6 MB, free: 9.133 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.06221, allocations: 0 / 371.6 MB, free: 9.133 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001718/0.06238, allocations: 0 / 371.6 MB, free: 9.133 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.009465/0.07184, allocations: 5.521 MB / 377.1 MB, free: 3.559 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.07188, allocations: 8.031 kB / 377.1 MB, free: 3.551 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003969/0.07585, allocations: 1.191 MB / 378.3 MB, free: 2.359 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003441/0.07929, allocations: 2.034 MB / 380.3 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000205/0.0795, allocations: 295.7 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006704/0.08017, allocations: 395.7 kB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008937/0.0891, allocations: 5.604 MB / 386.6 MB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001208/0.08923, allocations: 43.64 kB / 386.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004229/0.08965, allocations: 183.8 kB / 386.8 MB, free: 9.043 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001995/0.09164, allocations: 1.785 MB / 388.6 MB, free: 7.258 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006863/0.09851, allocations: 2.772 MB / 391.4 MB, free: 4.445 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0386/0.1371, allocations: 33.59 MB / 425 MB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003988/0.1411, allocations: 1.676 MB / 426.6 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006994/0.1418, allocations: 410.8 kB / 427 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006642/0.1484, allocations: 4.131 MB / 431.2 MB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.1485, allocations: 47.56 kB / 431.2 MB, free: 11.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=149): time 4.078e-06/0.1485, allocations: 0 / 431.2 MB, free: 11.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=158): time 0.01316/0.1616, allocations: 5.411 MB / 436.6 MB, free: 5.812 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.1617, allocations: 149.5 kB / 436.8 MB, free: 5.637 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003401/0.1651, allocations: 3.399 MB / 440.2 MB, free: 2.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002354/0.1653, allocations: 45.7 kB / 440.2 MB, free: 2.199 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001673/0.167, allocations: 3.462 MB / 443.7 MB, free: 14.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006531/0.1677, allocations: 0.6591 MB / 444.3 MB, free: 14.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/0.1687, allocations: 1.2 MB / 445.5 MB, free: 12.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.086e-05/0.1688, allocations: 305.1 kB / 445.8 MB, free: 12.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.1701, allocations: 0.7632 MB / 446.6 MB, free: 11.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003078/0.1732, allocations: 4.687 MB / 451.3 MB, free: 5.023 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1469/0.3201, allocations: 6.044 MB / 457.3 MB, free: 119 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.969e-05/0.3202, allocations: 40.47 kB / 457.4 MB, free: 119 MB / 426.7 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.006089/0.3263, allocations: 4.34 MB / 461.7 MB, free: 118.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.161e-05/0.3263, allocations: 68.03 kB / 461.8 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001261/0.3265, allocations: 142.6 kB / 461.9 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000537/0.327, allocations: 259.2 kB / 462.2 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002435/0.3294, allocations: 1.456 MB / 463.6 MB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.3305, allocations: 1.603 MB / 465.2 MB, free: 116.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002611/0.3331, allocations: 280.6 kB / 465.5 MB, free: 116.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005026/0.3336, allocations: 340.4 kB / 465.8 MB, free: 116.7 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.001418/0.335, allocations: 0.6557 MB / 466.5 MB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004337/0.3355, allocations: 226.2 kB / 466.7 MB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.3366, allocations: 0.8625 MB / 467.6 MB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/0.3366, allocations: 23.05 kB / 467.6 MB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.3366, allocations: 3.938 kB / 467.6 MB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.3367, allocations: 11.23 kB / 467.6 MB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006761/0.3434, allocations: 4.28 MB / 471.9 MB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.3434, allocations: 6 kB / 471.9 MB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000668/0.3441, allocations: 265.1 kB / 472.1 MB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002395/0.3443, allocations: 70.56 kB / 472.2 MB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.119e-05/0.3444, allocations: 31.62 kB / 472.2 MB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/0.3454, allocations: 1.52 MB / 473.8 MB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3454, allocations: 8 kB / 473.8 MB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/0.3475, allocations: 1.818 MB / 475.6 MB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007419/0.3482, allocations: 430.2 kB / 476 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002959/0.3485, allocations: 34.75 kB / 476 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000666/0.3492, allocations: 34.28 kB / 476.1 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.3493, allocations: 117.6 kB / 476.2 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-05/0.3494, allocations: 39.41 kB / 476.2 MB, free: 112.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001219/0.3506, allocations: 1.233 MB / 477.5 MB, free: 111.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3506, allocations: 0 / 477.5 MB, free: 111.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003626/0.3542, allocations: 1.039 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.0004597/0.3547, allocations: 164.1 kB / 478.7 MB, free: 110.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003412/0.3581, allocations: 2.577 MB / 481.2 MB, free: 108.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002652/0.3584, allocations: 100.2 kB / 481.3 MB, free: 108.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006984/0.3591, allocations: 0.5276 MB / 481.9 MB, free: 108 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/0.3619, allocations: 0.6687 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.01386/0.3757, allocations: 8.116 MB / 490.6 MB, free: 99.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002339/0.3781, allocations: 1.36 MB / 492 MB, free: 98.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002345/0.3804, allocations: 0.5138 MB / 492.5 MB, free: 97.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/0.3817, allocations: 0.5597 MB / 493.1 MB, free: 97.27 MB / 426.7 MB Notification: Performance of SimCode: time 2.295e-06/0.3817, allocations: 4 kB / 493.1 MB, free: 97.27 MB / 426.7 MB Notification: Performance of Templates: time 0.05281/0.4345, allocations: 30.14 MB / 0.511 GB, free: 67.57 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 -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: 3.919913471210748]