Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001803/0.001803, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9426/0.9426, allocations: 177 MB / 205.2 MB, free: 5.031 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2679/0.2679, allocations: 34.87 MB / 296.6 MB, free: 404 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 325.9 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.367e-05/1.527e-05, allocations: 5.266 kB / 325.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.009447/0.009462, allocations: 12.33 MB / 338.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007143/0.01661, allocations: 4.357 MB / 342.6 MB, free: 6.363 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.01764, allocations: 99.5 kB / 342.7 MB, free: 6.266 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003809/0.02145, allocations: 3.983 MB / 346.7 MB, free: 2.27 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002933/0.02438, allocations: 2.115 MB / 348.8 MB, free: 148 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.0256, allocations: 0.8926 MB / 349.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003718/0.02932, allocations: 4.633 MB / 354.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002891/0.03221, allocations: 4.158 MB / 358.5 MB, free: 6.359 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002335/0.03455, allocations: 2.939 MB / 361.4 MB, free: 3.414 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002197/0.03674, allocations: 2.392 MB / 363.8 MB, free: 1.016 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004185/0.03716, allocations: 408 kB / 364.2 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.03835, allocations: 1.073 MB / 365.3 MB, free: 15.54 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.03959, allocations: 2.341 MB / 367.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.04075, allocations: 1.523 MB / 369.2 MB, free: 11.67 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003439/0.04419, allocations: 5.079 MB / 374.2 MB, free: 6.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.04419, allocations: 0 / 374.2 MB, free: 6.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.04419, allocations: 0 / 374.2 MB, free: 6.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.892e-05/0.04426, allocations: 0 / 374.2 MB, free: 6.57 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.00546/0.04972, allocations: 5.513 MB / 379.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.04976, allocations: 12.03 kB / 379.8 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002522/0.05228, allocations: 1.191 MB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/0.05434, allocations: 2.042 MB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.05449, allocations: 299.6 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004244/0.05491, allocations: 391.7 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005662/0.06057, allocations: 5.597 MB / 389.3 MB, free: 6.711 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.904e-05/0.06066, allocations: 43.64 kB / 389.3 MB, free: 6.668 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003107/0.06097, allocations: 179.8 kB / 389.5 MB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001493/0.06246, allocations: 1.789 MB / 391.3 MB, free: 4.703 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004116/0.06658, allocations: 2.778 MB / 394.1 MB, free: 1.887 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02156/0.08814, allocations: 33.59 MB / 427.6 MB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003532/0.09167, allocations: 1.668 MB / 429.3 MB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004555/0.09213, allocations: 402.4 kB / 429.7 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004578/0.09671, allocations: 4.151 MB / 433.9 MB, free: 8.754 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.09673, allocations: 43.56 kB / 433.9 MB, free: 8.703 MB / 410.7 MB Notification: Performance of pre-optimization done (n=149): time 3.757e-06/0.09674, allocations: 3.984 kB / 433.9 MB, free: 8.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=158): time 0.01094/0.1077, allocations: 5.406 MB / 439.3 MB, free: 3.254 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.1077, allocations: 145.5 kB / 439.5 MB, free: 3.082 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1395/0.2472, allocations: 3.394 MB / 442.8 MB, free: 110.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003436/0.2476, allocations: 47.64 kB / 442.9 MB, free: 110.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001921/0.2495, allocations: 3.466 MB / 446.4 MB, free: 108.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000606/0.2501, allocations: 0.661 MB / 447 MB, free: 108.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009339/0.251, allocations: 1.199 MB / 448.2 MB, free: 108.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.78e-05/0.2511, allocations: 301.1 kB / 448.5 MB, free: 108 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.2521, allocations: 0.7654 MB / 449.3 MB, free: 107.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/0.254, allocations: 4.691 MB / 454 MB, free: 102.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003351/0.2573, allocations: 6.039 MB / 460 MB, free: 97.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.07e-05/0.2573, allocations: 41.56 kB / 460.1 MB, free: 97.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.004009/0.2614, allocations: 4.343 MB / 464.4 MB, free: 95.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.717e-05/0.2614, allocations: 70.55 kB / 464.5 MB, free: 95.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.633e-05/0.2615, allocations: 146.5 kB / 464.6 MB, free: 95.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003653/0.2619, allocations: 249.5 kB / 464.8 MB, free: 95.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002061/0.2639, allocations: 1.456 MB / 466.3 MB, free: 95.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009025/0.2648, allocations: 1.599 MB / 467.9 MB, free: 93.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.2667, allocations: 284.4 kB / 468.2 MB, free: 93.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002485/0.2669, allocations: 342.8 kB / 468.5 MB, free: 93.51 MB / 410.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.0009829/0.2679, allocations: 0.6582 MB / 469.2 MB, free: 93.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/0.2681, allocations: 223.3 kB / 469.4 MB, free: 92.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009957/0.2691, allocations: 0.8666 MB / 470.3 MB, free: 92.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.2691, allocations: 20 kB / 470.3 MB, free: 92.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2692, allocations: 3.469 kB / 470.3 MB, free: 92.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.2692, allocations: 11.88 kB / 470.3 MB, free: 92.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004429/0.2736, allocations: 4.287 MB / 474.6 MB, free: 89.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.2736, allocations: 8 kB / 474.6 MB, free: 89.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005931/0.2742, allocations: 261.5 kB / 474.8 MB, free: 89.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002182/0.2744, allocations: 69.42 kB / 474.9 MB, free: 89.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.055e-05/0.2745, allocations: 35.56 kB / 474.9 MB, free: 89.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008572/0.2753, allocations: 1.509 MB / 476.5 MB, free: 87.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2753, allocations: 6.875 kB / 476.5 MB, free: 87.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.2767, allocations: 1.817 MB / 478.3 MB, free: 85.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/0.2771, allocations: 439.7 kB / 478.7 MB, free: 85.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/0.2773, allocations: 31.94 kB / 478.7 MB, free: 85.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005523/0.2779, allocations: 43.27 kB / 478.8 MB, free: 85.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.278, allocations: 106 kB / 478.9 MB, free: 85.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.548e-05/0.2781, allocations: 43.98 kB / 478.9 MB, free: 85.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007835/0.2788, allocations: 1.234 MB / 480.2 MB, free: 84.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2788, allocations: 0 / 480.2 MB, free: 84.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00235/0.2812, allocations: 1.033 MB / 481.2 MB, free: 83.07 MB / 410.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.0002611/0.2815, allocations: 160 kB / 481.4 MB, free: 82.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001964/0.2834, allocations: 2.57 MB / 483.9 MB, free: 80.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001322/0.2835, allocations: 100.2 kB / 484 MB, free: 80.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004501/0.284, allocations: 0.5292 MB / 484.5 MB, free: 79.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.2853, allocations: 0.6671 MB / 485.2 MB, free: 79.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006892/0.2922, allocations: 8.128 MB / 493.3 MB, free: 70.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008719/0.2931, allocations: 1.351 MB / 494.7 MB, free: 69.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009748/0.2941, allocations: 0.512 MB / 495.2 MB, free: 68.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006805/0.2947, allocations: 0.5636 MB / 495.8 MB, free: 68.36 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2947, allocations: 0 / 495.8 MB, free: 68.36 MB / 410.7 MB Notification: Performance of Templates: time 0.03756/0.3323, allocations: 30.16 MB / 0.5136 GB, free: 38.55 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.938802615739405]