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.0009094/0.0009094, allocations: 80.06 kB / 20.72 MB, free: 3.762 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.0009669/0.0009669, allocations: 169 kB / 24.14 MB, free: 352 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.9096/0.9096, allocations: 158.6 MB / 186 MB, free: 1.957 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.1609/0.1609, allocations: 32.38 MB / 270.7 MB, free: 14.51 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.212e-06/1.212e-06, allocations: 0 / 299.1 MB, free: 2.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.952e-05, allocations: 2.312 kB / 299.1 MB, free: 2.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.1587/0.1587, allocations: 7.211 MB / 306.3 MB, free: 16.89 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006292/0.165, allocations: 3.341 MB / 309.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006336/0.1657, allocations: 41 kB / 309.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.167, allocations: 0.8347 MB / 310.5 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002712/0.1697, allocations: 1.383 MB / 311.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.1708, allocations: 0.5766 MB / 312.5 MB, free: 13.65 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002439/0.1733, allocations: 2.911 MB / 315.4 MB, free: 12.22 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.1744, allocations: 1.397 MB / 316.8 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.1755, allocations: 1.231 MB / 318 MB, free: 10.53 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.1767, allocations: 1.242 MB / 319.3 MB, free: 9.855 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.1769, allocations: 140.4 kB / 319.4 MB, free: 9.836 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.178, allocations: 0.9124 MB / 320.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005955/0.1786, allocations: 1.095 MB / 321.4 MB, free: 7.824 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004674/0.1791, allocations: 0.6656 MB / 322.1 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002013/0.1811, allocations: 2.868 MB / 324.9 MB, free: 4.277 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1811, allocations: 0 / 324.9 MB, free: 4.277 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1811, allocations: 0 / 324.9 MB, free: 4.277 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.1811, allocations: 0 / 324.9 MB, free: 4.277 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.002583/0.1837, allocations: 2.71 MB / 327.6 MB, free: 1.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.1837, allocations: 8.031 kB / 327.6 MB, free: 1.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/0.1864, allocations: 0.8084 MB / 328.5 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.1877, allocations: 1.033 MB / 329.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.905e-05/0.1877, allocations: 123.4 kB / 329.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002633/0.188, allocations: 160.2 kB / 329.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003711/0.1917, allocations: 3.181 MB / 332.9 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.358e-05/0.1918, allocations: 35.7 kB / 333 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/0.192, allocations: 87.88 kB / 333.1 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001402/0.1934, allocations: 1.207 MB / 334.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002928/0.1963, allocations: 1.638 MB / 335.9 MB, free: 8.684 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01357/0.2099, allocations: 21.41 MB / 357.3 MB, free: 2.402 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.2112, allocations: 0.7382 MB / 358.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.2114, allocations: 179.5 kB / 358.2 MB, free: 1.441 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002164/0.2135, allocations: 1.956 MB / 360.2 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.2135, allocations: 42.5 kB / 360.2 MB, free: 15.42 MB / 330.7 MB Notification: Performance of pre-optimization done (n=79): time 2.535e-06/0.2135, allocations: 112 / 360.2 MB, free: 15.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=86): time 0.003153/0.2167, allocations: 1.659 MB / 361.9 MB, free: 13.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.2168, allocations: 136.5 kB / 362 MB, free: 13.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.2182, allocations: 2.296 MB / 364.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.2182, allocations: 37.7 kB / 364.4 MB, free: 11.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009313/0.2192, allocations: 2.174 MB / 366.5 MB, free: 9.016 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.2194, allocations: 385.3 kB / 366.9 MB, free: 8.637 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006124/0.22, allocations: 0.8305 MB / 367.7 MB, free: 7.793 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.4e-05/0.2201, allocations: 365.7 kB / 368.1 MB, free: 7.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006459/0.2207, allocations: 0.5029 MB / 368.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001868/0.2226, allocations: 3.371 MB / 372 MB, free: 2.035 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002692/0.2253, allocations: 4.305 MB / 376.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-05/0.2253, allocations: 35.98 kB / 376.3 MB, free: 12.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.004223/0.2295, allocations: 2.989 MB / 379.3 MB, free: 9.188 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.178e-05/0.2296, allocations: 56.06 kB / 379.4 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/0.2297, allocations: 108 kB / 379.5 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.553e-05/0.2298, allocations: 136 kB / 379.6 MB, free: 8.895 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/0.2316, allocations: 1.049 MB / 380.6 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-05/0.2317, allocations: 207.2 kB / 380.8 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003736/0.2354, allocations: 199.8 kB / 381 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004162/0.2359, allocations: 252 kB / 381.3 MB, free: 7.199 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.0006965/0.2365, allocations: 496 kB / 381.8 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.2368, allocations: 131.8 kB / 381.9 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003814/0.2372, allocations: 341.9 kB / 382.2 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.2372, allocations: 15.98 kB / 382.2 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2372, allocations: 0 / 382.2 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2372, allocations: 0 / 382.2 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.2395, allocations: 2.094 MB / 384.3 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.2396, allocations: 5.125 kB / 384.3 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002934/0.2398, allocations: 123.8 kB / 384.5 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.2399, allocations: 8.141 kB / 384.5 MB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.2399, allocations: 16 kB / 384.5 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/0.2399, allocations: 9.172 kB / 384.5 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.2399, allocations: 11.94 kB / 384.5 MB, free: 3.859 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006877/0.2406, allocations: 1.03 MB / 385.5 MB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/0.2409, allocations: 262.3 kB / 385.8 MB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.241, allocations: 19.98 kB / 385.8 MB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/0.2414, allocations: 16 kB / 385.8 MB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.745e-05/0.2414, allocations: 55.8 kB / 385.9 MB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/0.2415, allocations: 24 kB / 385.9 MB, free: 2.383 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008361/0.2423, allocations: 0.9238 MB / 386.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2423, allocations: 0 / 386.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001955/0.2443, allocations: 0.6366 MB / 387.5 MB, free: 0.8047 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.0002444/0.2445, allocations: 156 kB / 387.6 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.2462, allocations: 1.622 MB / 389.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001019/0.2463, allocations: 63.94 kB / 389.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.2465, allocations: 174.4 kB / 389.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008994/0.2474, allocations: 353.3 kB / 389.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004281/0.2517, allocations: 4.341 MB / 394.2 MB, free: 9.984 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000566/0.2523, allocations: 0.7218 MB / 394.9 MB, free: 9.238 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006685/0.2529, allocations: 341.7 kB / 395.2 MB, free: 8.898 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004222/0.2533, allocations: 357.3 kB / 395.6 MB, free: 8.551 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2533, allocations: 0 / 395.6 MB, free: 8.551 MB / 362.7 MB Notification: Performance of Templates: time 0.02369/0.277, allocations: 15.96 MB / 411.5 MB, free: 8.684 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 -s gbode -gbm=radauIIA3 -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.3692217678762972]