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.0008787/0.0008787, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001368/0.002247, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0006838/0.0006838, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.001751, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9701/0.9701, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1907/1.161, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.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.1605/0.1605, allocations: 32.35 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04173/0.2022, allocations: 12.31 MB / 266.1 MB, free: 3.879 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 3.547e-06/3.547e-06, allocations: 3.984 kB / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.263e-05/3.618e-05, allocations: 14.12 kB / 267.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01383/0.01386, allocations: 11.28 MB / 278.7 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008734/0.0226, allocations: 4.002 MB / 282.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002373/0.02497, allocations: 79.62 kB / 282.8 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003965/0.02894, allocations: 2.764 MB / 285.5 MB, free: 352 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1941/0.223, allocations: 1.967 MB / 287.5 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002309/0.2253, allocations: 0.7029 MB / 288.2 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.008185/0.2335, allocations: 3.998 MB / 292.2 MB, free: 1.316 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005949/0.2395, allocations: 3.059 MB / 295.2 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006093/0.2456, allocations: 2.534 MB / 297.8 MB, free: 232 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004999/0.2506, allocations: 2.187 MB / 300 MB, free: 0 / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001748/0.2523, allocations: 345.4 kB / 300.3 MB, free: 0 / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002836/0.2551, allocations: 1.052 MB / 301.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002083/0.2572, allocations: 1.845 MB / 303.2 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002107/0.2593, allocations: 1.069 MB / 304.3 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006122/0.2655, allocations: 4.277 MB / 308.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.699e-05/0.2655, allocations: 3.938 kB / 308.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2655, allocations: 0 / 308.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003208/0.2658, allocations: 1.781 kB / 308.6 MB, free: 12.09 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.00834/0.2741, allocations: 5.649 MB / 314.2 MB, free: 6.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.2742, allocations: 12.03 kB / 314.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002813/0.277, allocations: 1.099 MB / 315.3 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/0.2798, allocations: 1.767 MB / 317.1 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.28, allocations: 237.1 kB / 317.3 MB, free: 3.863 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000382/0.2804, allocations: 318.7 kB / 317.6 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006719/0.2871, allocations: 4.841 MB / 322.5 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001365/0.2872, allocations: 39.92 kB / 322.5 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002865/0.2875, allocations: 160.2 kB / 322.7 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001681/0.2892, allocations: 1.579 MB / 324.2 MB, free: 12.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004792/0.294, allocations: 2.4 MB / 326.6 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02818/0.3222, allocations: 29.87 MB / 356.5 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002743/0.3249, allocations: 1.143 MB / 357.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.3253, allocations: 288.2 kB / 357.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004221/0.3295, allocations: 2.983 MB / 360.9 MB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.3295, allocations: 42.25 kB / 361 MB, free: 8.355 MB / 346.7 MB Notification: Performance of pre-optimization done (n=116): time 3.496e-06/0.3295, allocations: 3.938 kB / 361 MB, free: 8.352 MB / 346.7 MB Notification: Performance of matching and sorting (n=117): time 0.006126/0.3356, allocations: 2.701 MB / 363.7 MB, free: 5.648 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.3357, allocations: 140.4 kB / 363.8 MB, free: 5.484 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00268/0.3384, allocations: 3.183 MB / 367 MB, free: 2.875 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.707e-05/0.3384, allocations: 44.67 kB / 367 MB, free: 2.828 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001689/0.3401, allocations: 3.167 MB / 370.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003936/0.3405, allocations: 0.508 MB / 370.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008727/0.3414, allocations: 1.1 MB / 371.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.435e-05/0.3415, allocations: 309.1 kB / 372.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009758/0.3424, allocations: 0.6636 MB / 372.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002721/0.3452, allocations: 4.364 MB / 377.1 MB, free: 6.863 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004718/0.3499, allocations: 6.021 MB / 383.2 MB, free: 14.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.045e-05/0.35, allocations: 40 kB / 383.2 MB, free: 14.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.004945/0.3549, allocations: 3.948 MB / 387.1 MB, free: 10.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.145e-05/0.355, allocations: 64 kB / 387.2 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001213/0.3551, allocations: 148 kB / 387.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003412/0.3554, allocations: 223.6 kB / 387.6 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/0.3577, allocations: 1.462 MB / 389 MB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.3587, allocations: 1.522 MB / 390.6 MB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/0.3613, allocations: 267.7 kB / 390.8 MB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002953/0.3616, allocations: 320 kB / 391.1 MB, free: 6.812 MB / 378.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.001351/0.363, allocations: 0.6067 MB / 391.7 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000365/0.3633, allocations: 187.8 kB / 391.9 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008086/0.3641, allocations: 0.6082 MB / 392.5 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.3642, allocations: 12 kB / 392.5 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3642, allocations: 0 / 392.5 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.3642, allocations: 11.81 kB / 392.6 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004768/0.3689, allocations: 3.133 MB / 395.7 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/0.369, allocations: 8 kB / 395.7 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000551/0.3695, allocations: 203.8 kB / 395.9 MB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006297/0.3701, allocations: 361.7 kB / 396.2 MB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001689/0.3703, allocations: 51.86 kB / 396.3 MB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/0.3704, allocations: 23.98 kB / 396.3 MB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009843/0.3713, allocations: 1.435 MB / 397.8 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.3713, allocations: 8 kB / 397.8 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.3726, allocations: 1.339 MB / 399.1 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002569/0.3729, allocations: 20.19 kB / 399.1 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004965/0.3734, allocations: 27.98 kB / 399.1 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.3735, allocations: 76.3 kB / 399.2 MB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-05/0.3735, allocations: 35.95 kB / 399.3 MB, free: 14.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001034/0.3746, allocations: 1.147 MB / 400.4 MB, free: 13.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3746, allocations: 0 / 400.4 MB, free: 13.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003047/0.3776, allocations: 0.9062 MB / 401.3 MB, free: 12.39 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.0005016/0.3781, allocations: 168 kB / 401.5 MB, free: 12.22 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002694/0.3808, allocations: 2.366 MB / 403.8 MB, free: 9.887 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001664/0.381, allocations: 106.8 kB / 403.9 MB, free: 9.773 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000453/0.3814, allocations: 454 kB / 404.4 MB, free: 9.309 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.384, allocations: 2.846 MB / 407.2 MB, free: 6.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/0.3974, allocations: 7.113 MB / 414.3 MB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.3985, allocations: 1.203 MB / 415.5 MB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001664/0.4001, allocations: 461.8 kB / 416 MB, free: 13.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006177/0.4007, allocations: 0.4933 MB / 416.5 MB, free: 12.69 MB / 410.7 MB Notification: Performance of SimCode: time 1.714e-06/0.4007, allocations: 0 / 416.5 MB, free: 12.69 MB / 410.7 MB Notification: Performance of Templates: time 0.04161/0.4424, allocations: 22.81 MB / 439.3 MB, free: 5.844 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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.799549619667232]