Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001114/0.001114, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001356/0.001356, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9967/0.9967, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1513/0.1513, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.646e-05, allocations: 2.312 kB / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.1389/0.1389, allocations: 11.2 MB / 310.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007635/0.1465, allocations: 3.968 MB / 314.3 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.1482, allocations: 78.66 kB / 314.4 MB, free: 11.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00307/0.1512, allocations: 2.866 MB / 317.2 MB, free: 10.35 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004041/0.1553, allocations: 1.979 MB / 319.2 MB, free: 8.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.1566, allocations: 0.7681 MB / 320 MB, free: 8.398 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00386/0.1605, allocations: 4.123 MB / 324.1 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002766/0.1633, allocations: 3.248 MB / 327.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003033/0.1663, allocations: 2.401 MB / 329.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002801/0.1691, allocations: 2.155 MB / 331.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008895/0.17, allocations: 344 kB / 332.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.1717, allocations: 1.042 MB / 333.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001586/0.1733, allocations: 2.08 MB / 335.4 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001908/0.1752, allocations: 1.312 MB / 336.7 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005177/0.1804, allocations: 4.588 MB / 341.3 MB, free: 3.879 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1804, allocations: 0 / 341.3 MB, free: 3.879 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1804, allocations: 0 / 341.3 MB, free: 3.879 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002058/0.1806, allocations: 4 kB / 341.3 MB, free: 3.875 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.00621/0.1868, allocations: 4.703 MB / 346 MB, free: 15.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1868, allocations: 12.03 kB / 346 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002815/0.1896, allocations: 1.101 MB / 347.1 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/0.1919, allocations: 1.759 MB / 348.8 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.1921, allocations: 248.2 kB / 349.1 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003548/0.1924, allocations: 319.8 kB / 349.4 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006371/0.1988, allocations: 4.848 MB / 354.2 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.942e-05/0.1989, allocations: 39.64 kB / 354.3 MB, free: 6.078 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002491/0.1991, allocations: 155.8 kB / 354.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001439/0.2006, allocations: 1.686 MB / 356.1 MB, free: 4.234 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004138/0.2047, allocations: 2.398 MB / 358.5 MB, free: 1.805 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02449/0.2292, allocations: 29.87 MB / 388.4 MB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002687/0.2319, allocations: 1.164 MB / 389.5 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/0.2322, allocations: 281.3 kB / 389.8 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003669/0.2359, allocations: 3.01 MB / 392.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.2359, allocations: 43.06 kB / 392.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=116): time 2.665e-06/0.2359, allocations: 0 / 392.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=117): time 0.005467/0.2414, allocations: 2.72 MB / 395.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.2414, allocations: 141.1 kB / 395.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/0.2437, allocations: 3.177 MB / 398.9 MB, free: 8.133 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.2438, allocations: 45.69 kB / 399 MB, free: 8.082 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001389/0.2452, allocations: 3.164 MB / 402.1 MB, free: 4.883 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/0.2455, allocations: 0.5041 MB / 402.6 MB, free: 4.375 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008364/0.2463, allocations: 1.1 MB / 403.7 MB, free: 3.262 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.312e-05/0.2464, allocations: 309.1 kB / 404 MB, free: 2.957 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009216/0.2473, allocations: 0.6675 MB / 404.7 MB, free: 2.281 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002977/0.2503, allocations: 4.373 MB / 409.1 MB, free: 11.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003916/0.2542, allocations: 5.574 MB / 414.6 MB, free: 4.457 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.539e-05/0.2542, allocations: 44 kB / 414.7 MB, free: 4.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.004095/0.2583, allocations: 3.948 MB / 418.6 MB, free: 464 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.393e-05/0.2584, allocations: 64 kB / 418.7 MB, free: 400 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.988e-05/0.2585, allocations: 140.8 kB / 418.8 MB, free: 260 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002922/0.2588, allocations: 223.6 kB / 419 MB, free: 32 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00262/0.2614, allocations: 1.369 MB / 420.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.2628, allocations: 1.518 MB / 421.9 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003366/0.2661, allocations: 271.6 kB / 422.2 MB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004222/0.2666, allocations: 320 kB / 422.5 MB, free: 12.47 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (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 (725): * Single equations (assignments): 721 * 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.001479/0.268, allocations: 0.6028 MB / 423.1 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003653/0.2684, allocations: 183.9 kB / 423.3 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.2695, allocations: 0.6082 MB / 423.9 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/0.2695, allocations: 16 kB / 423.9 MB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.2695, allocations: 0 / 423.9 MB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.2695, allocations: 7.984 kB / 423.9 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005716/0.2752, allocations: 3.134 MB / 427.1 MB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.2752, allocations: 12 kB / 427.1 MB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007643/0.276, allocations: 183.8 kB / 427.3 MB, free: 7.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002063/0.2762, allocations: 51.58 kB / 427.3 MB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.295e-05/0.2763, allocations: 23.98 kB / 427.3 MB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.2774, allocations: 1.427 MB / 428.8 MB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2774, allocations: 4 kB / 428.8 MB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.2791, allocations: 1.345 MB / 430.1 MB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006068/0.2797, allocations: 365.7 kB / 430.5 MB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002833/0.28, allocations: 20 kB / 430.5 MB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007444/0.2807, allocations: 27.92 kB / 430.5 MB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.2808, allocations: 68.56 kB / 430.6 MB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.316e-05/0.2809, allocations: 24 kB / 430.6 MB, free: 4.129 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001476/0.2824, allocations: 1.147 MB / 431.7 MB, free: 2.992 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2824, allocations: 0 / 431.7 MB, free: 2.992 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003033/0.2854, allocations: 0.9217 MB / 432.7 MB, free: 2.07 MB / 394.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 (95): * Single equations (assignments): 91 * 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.0002818/0.2857, allocations: 157.4 kB / 432.8 MB, free: 1.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002429/0.2881, allocations: 2.256 MB / 435.1 MB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000153/0.2883, allocations: 96.16 kB / 435.2 MB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003745/0.2887, allocations: 388.4 kB / 435.5 MB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.29, allocations: 0.5764 MB / 436.1 MB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007694/0.2977, allocations: 6.967 MB / 443.1 MB, free: 7.512 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009578/0.2987, allocations: 1.202 MB / 444.3 MB, free: 6.289 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001075/0.2998, allocations: 473.8 kB / 444.8 MB, free: 5.824 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006753/0.3004, allocations: 0.4934 MB / 445.2 MB, free: 5.332 MB / 410.7 MB Notification: Performance of SimCode: time 2.064e-06/0.3004, allocations: 0 / 445.2 MB, free: 5.332 MB / 410.7 MB Notification: Performance of Templates: time 0.1691/0.4696, allocations: 24.04 MB / 469.3 MB, free: 135.9 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.9696639836765826]