Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.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.0009974/0.0009974, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001066/0.001066, allocations: 169 kB / 24.14 MB, free: 360 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 1.025/1.025, allocations: 158.6 MB / 186 MB, free: 2.762 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.149/0.149, allocations: 32.38 MB / 270.7 MB, free: 14.59 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.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.[0-9,]+.|ActuatedRevolute1.frame_b.f.[0-9,]+.|ActuatedRevolute1.frame_b.t.[0-9,]+.|Multiplex3_1.y.[0-9,]+.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.[0-9,]+.|ActuatedRevolute1.frame_b.f.[0-9,]+.|ActuatedRevolute1.frame_b.t.[0-9,]+.|Multiplex3_1.y.[0-9,]+.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 299 MB, free: 2.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.06e-05, allocations: 2.312 kB / 299 MB, free: 2.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.2183/0.2183, allocations: 7.18 MB / 306.2 MB, free: 17.01 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008978/0.2273, allocations: 3.331 MB / 309.6 MB, free: 14.97 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/0.2294, allocations: 41.53 kB / 309.6 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002895/0.2323, allocations: 0.8432 MB / 310.4 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006198/0.2385, allocations: 1.423 MB / 311.9 MB, free: 14 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002226/0.2408, allocations: 0.573 MB / 312.4 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00626/0.247, allocations: 2.914 MB / 315.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003171/0.2502, allocations: 1.511 MB / 316.9 MB, free: 11.33 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003445/0.2536, allocations: 1.265 MB / 318.1 MB, free: 10.57 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/0.2565, allocations: 1.238 MB / 319.4 MB, free: 9.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006462/0.2571, allocations: 141.4 kB / 319.5 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.2591, allocations: 0.8734 MB / 320.4 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008148/0.2599, allocations: 1.102 MB / 321.5 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001399/0.2613, allocations: 0.6656 MB / 322.1 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004482/0.2658, allocations: 2.86 MB / 325 MB, free: 4.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.2658, allocations: 0 / 325 MB, free: 4.266 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2658, allocations: 0 / 325 MB, free: 4.266 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001097/0.2659, allocations: 0 / 325 MB, free: 4.266 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.00452/0.2704, allocations: 2.714 MB / 327.7 MB, free: 1.512 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.048e-05/0.2705, allocations: 8.031 kB / 327.7 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00244/0.2729, allocations: 0.8045 MB / 328.5 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.2749, allocations: 1.044 MB / 329.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.2751, allocations: 123.4 kB / 329.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002598/0.2753, allocations: 160.2 kB / 329.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004918/0.2802, allocations: 3.173 MB / 333 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.576e-05/0.2803, allocations: 31.7 kB / 333 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/0.2805, allocations: 87.89 kB / 333.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001386/0.2819, allocations: 1.211 MB / 334.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003973/0.2859, allocations: 1.641 MB / 336 MB, free: 8.668 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02387/0.3098, allocations: 21.4 MB / 357.4 MB, free: 2.391 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.3116, allocations: 0.7369 MB / 358.1 MB, free: 1.613 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.3119, allocations: 175.4 kB / 358.3 MB, free: 1.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004138/0.316, allocations: 1.959 MB / 360.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/0.3161, allocations: 42.5 kB / 360.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=79): time 7.253e-06/0.3161, allocations: 0 / 360.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=86): time 0.004979/0.3211, allocations: 1.667 MB / 362 MB, free: 13.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.695e-05/0.3211, allocations: 132.5 kB / 362.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003165/0.3243, allocations: 2.296 MB / 364.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.133e-05/0.3244, allocations: 33.7 kB / 364.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.3257, allocations: 2.17 MB / 366.6 MB, free: 9.008 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003611/0.3261, allocations: 393.1 kB / 367 MB, free: 8.621 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000747/0.3268, allocations: 0.8422 MB / 367.8 MB, free: 7.766 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.327, allocations: 353.8 kB / 368.2 MB, free: 7.414 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009302/0.3279, allocations: 0.5068 MB / 368.7 MB, free: 6.898 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003017/0.3309, allocations: 3.375 MB / 372 MB, free: 2.012 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005054/0.336, allocations: 4.29 MB / 376.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001101/0.3361, allocations: 36 kB / 376.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.005358/0.3414, allocations: 2.996 MB / 379.4 MB, free: 9.172 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.766e-05/0.3415, allocations: 52.22 kB / 379.4 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001718/0.3417, allocations: 112 kB / 379.5 MB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001415/0.3418, allocations: 136 kB / 379.7 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/0.3439, allocations: 1.01 MB / 380.7 MB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001373/0.344, allocations: 213.8 kB / 380.9 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/0.3469, allocations: 199.8 kB / 381.1 MB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003031/0.3472, allocations: 252 kB / 381.3 MB, free: 7.219 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 486 * Number of states: 0 () * Number of discrete variables: 18 (Body1.sphereColor[1],Body1.sphereColor[2],Body1.sphereColor[3],ActuatedRevolute1.cylinderColor[1],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 548 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001647/0.3489, allocations: 492 kB / 381.8 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004402/0.3493, allocations: 127.8 kB / 381.9 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000552/0.3499, allocations: 345.8 kB / 382.3 MB, free: 6.258 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.3499, allocations: 11.98 kB / 382.3 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.3499, allocations: 4 kB / 382.3 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.3499, allocations: 3.984 kB / 382.3 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003962/0.3539, allocations: 2.093 MB / 384.4 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.3539, allocations: 7.938 kB / 384.4 MB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.3542, allocations: 112.4 kB / 384.5 MB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.3542, allocations: 8 kB / 384.5 MB, free: 3.926 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.3543, allocations: 19.94 kB / 384.5 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.435e-05/0.3543, allocations: 8.625 kB / 384.5 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.3543, allocations: 7.938 kB / 384.5 MB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.3553, allocations: 1.024 MB / 385.6 MB, free: 2.789 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005023/0.3558, allocations: 262.3 kB / 385.8 MB, free: 2.531 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.356, allocations: 16 kB / 385.8 MB, free: 2.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004257/0.3564, allocations: 16.69 kB / 385.8 MB, free: 2.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.711e-05/0.3565, allocations: 55.8 kB / 385.9 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-05/0.3566, allocations: 27.98 kB / 385.9 MB, free: 2.418 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001165/0.3577, allocations: 0.9238 MB / 386.9 MB, free: 1.477 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3577, allocations: 0 / 386.9 MB, free: 1.477 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003629/0.3614, allocations: 0.6405 MB / 387.5 MB, free: 0.8359 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * 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 (64): * Single equations (assignments): 61 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005109/0.3619, allocations: 152.1 kB / 387.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003315/0.3652, allocations: 1.623 MB / 389.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001443/0.3653, allocations: 64.06 kB / 389.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.3656, allocations: 174.3 kB / 389.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/0.3674, allocations: 360.1 kB / 389.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008276/0.3756, allocations: 4.341 MB / 394.2 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009085/0.3765, allocations: 0.7179 MB / 394.9 MB, free: 9.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001106/0.3777, allocations: 345.6 kB / 395.2 MB, free: 8.926 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005294/0.3782, allocations: 361.2 kB / 395.6 MB, free: 8.574 MB / 362.7 MB Notification: Performance of SimCode: time 2.825e-06/0.3782, allocations: 0 / 395.6 MB, free: 8.574 MB / 362.7 MB Notification: Performance of Templates: time 0.03452/0.4127, allocations: 15.96 MB / 411.6 MB, free: 8.711 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.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.8402350451797247]