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.001466/0.001466, allocations: 88.23 kB / 20.21 MB, free: 4.227 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.001628/0.001628, allocations: 157.7 kB / 23.52 MB, free: 0.918 MB / 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.44/1.44, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.2099/0.2099, allocations: 32.38 MB / 270 MB, free: 14.77 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.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|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.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 346.9 MB, free: 9.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.173e-05/4.401e-05, allocations: 6.25 kB / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.006761/0.006805, allocations: 6.72 MB / 353.6 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005998/0.0128, allocations: 3.151 MB / 356.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.01397, allocations: 39.81 kB / 356.8 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002189/0.01616, allocations: 0.8286 MB / 357.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003735/0.0199, allocations: 1.404 MB / 359.1 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.02134, allocations: 0.5728 MB / 359.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004256/0.0256, allocations: 2.905 MB / 362.5 MB, free: 10.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/0.02786, allocations: 1.471 MB / 364 MB, free: 8.668 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002/0.02986, allocations: 1.231 MB / 365.2 MB, free: 7.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/0.03203, allocations: 1.325 MB / 366.6 MB, free: 6.102 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003113/0.03235, allocations: 143.9 kB / 366.7 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.03421, allocations: 0.8773 MB / 367.6 MB, free: 5.082 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.03553, allocations: 1.094 MB / 368.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.03662, allocations: 0.6656 MB / 369.3 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00627/0.04289, allocations: 4.099 MB / 373.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.0429, allocations: 0 / 373.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.0429, allocations: 4 kB / 373.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001259/0.04303, allocations: 0 / 373.4 MB, free: 15.2 MB / 314.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.00686/0.04989, allocations: 2.986 MB / 376.4 MB, free: 12.17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.04994, allocations: 8.031 kB / 376.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007386/0.05732, allocations: 2.078 MB / 378.5 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003276/0.0606, allocations: 1.332 MB / 379.8 MB, free: 8.715 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004277/0.06102, allocations: 119.4 kB / 380 MB, free: 8.598 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005579/0.06158, allocations: 168.2 kB / 380.1 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01168/0.07327, allocations: 6.465 MB / 386.6 MB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001073/0.07337, allocations: 35.7 kB / 386.6 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006048/0.07398, allocations: 83.89 kB / 386.7 MB, free: 1.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002877/0.07685, allocations: 1.437 MB / 388.1 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01207/0.08893, allocations: 5.736 MB / 393.9 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03679/0.1257, allocations: 25.41 MB / 419.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004647/0.1304, allocations: 1.646 MB / 420.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.1319, allocations: 0.9642 MB / 421.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.1321, allocations: 36.25 kB / 421.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.919e-05/0.1321, allocations: 46.89 kB / 422 MB, free: 13.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=100): time 2.445e-06/0.1321, allocations: 0 / 422 MB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=112): time 0.01836/0.1505, allocations: 6.836 MB / 428.8 MB, free: 6.285 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.1506, allocations: 141 kB / 429 MB, free: 6.117 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004146/0.1547, allocations: 2.784 MB / 431.7 MB, free: 3.301 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.1549, allocations: 37.7 kB / 431.8 MB, free: 3.258 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001946/0.1568, allocations: 2.197 MB / 434 MB, free: 1.035 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005997/0.1574, allocations: 472.5 kB / 434.4 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001314/0.1587, allocations: 0.8896 MB / 435.3 MB, free: 15.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.1589, allocations: 353.9 kB / 435.7 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002497/0.1614, allocations: 1.437 MB / 437.1 MB, free: 13.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005571/0.167, allocations: 4.303 MB / 441.4 MB, free: 8.117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008968/0.176, allocations: 6.23 MB / 447.6 MB, free: 464 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001192/0.1761, allocations: 28 kB / 447.7 MB, free: 436 kB / 378.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.1503/0.3264, allocations: 5.753 MB / 453.4 MB, free: 101.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.511e-05/0.3264, allocations: 49.25 kB / 453.5 MB, free: 101.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001156/0.3266, allocations: 101.7 kB / 453.6 MB, free: 101.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001408/0.3267, allocations: 142 kB / 453.7 MB, free: 101.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004055/0.3307, allocations: 1.233 MB / 454.9 MB, free: 101.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001296/0.3309, allocations: 202.9 kB / 455.1 MB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/0.334, allocations: 298.1 kB / 455.4 MB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003213/0.3343, allocations: 282.9 kB / 455.7 MB, free: 101.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (557): * Single equations (assignments): 554 * 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.001819/0.3361, allocations: 1.384 MB / 457.1 MB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005136/0.3366, allocations: 250.7 kB / 457.3 MB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/0.339, allocations: 1.209 MB / 458.5 MB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.911e-05/0.339, allocations: 18.69 kB / 458.6 MB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.339, allocations: 0 / 458.6 MB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.339, allocations: 7.094 kB / 458.6 MB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006289/0.3453, allocations: 4.006 MB / 462.6 MB, free: 97.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.3453, allocations: 8 kB / 462.6 MB, free: 97.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/0.347, allocations: 371.7 kB / 462.9 MB, free: 97.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/0.347, allocations: 8 kB / 462.9 MB, free: 97.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-05/0.347, allocations: 24 kB / 463 MB, free: 97.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.816e-06/0.347, allocations: 8 kB / 463 MB, free: 97.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.347, allocations: 7.938 kB / 463 MB, free: 97.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.3491, allocations: 2.159 MB / 465.1 MB, free: 95.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007515/0.3499, allocations: 383.8 kB / 465.5 MB, free: 95.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/0.3502, allocations: 20 kB / 465.5 MB, free: 95.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.3512, allocations: 101.3 kB / 465.6 MB, free: 95.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.3514, allocations: 75.8 kB / 465.7 MB, free: 95.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.062e-05/0.3515, allocations: 36 kB / 465.7 MB, free: 95.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002004/0.3535, allocations: 1.606 MB / 467.4 MB, free: 93.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3535, allocations: 0 / 467.4 MB, free: 93.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003318/0.3568, allocations: 0.6911 MB / 468 MB, free: 93.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (90): * Single equations (assignments): 87 * 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.0004024/0.3572, allocations: 172.8 kB / 468.2 MB, free: 92.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004139/0.3613, allocations: 3.176 MB / 471.4 MB, free: 89.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.3613, allocations: 4 kB / 471.4 MB, free: 89.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007779/0.3621, allocations: 0.7335 MB / 472.1 MB, free: 89.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.3638, allocations: 249.1 kB / 472.4 MB, free: 88.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00785/0.3716, allocations: 5.673 MB / 478 MB, free: 83.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/0.3731, allocations: 1.642 MB / 479.7 MB, free: 81.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002605/0.3757, allocations: 1.43 MB / 481.1 MB, free: 79.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005449/0.3763, allocations: 170 kB / 481.3 MB, free: 79.83 MB / 378.7 MB Notification: Performance of SimCode: time 2.685e-06/0.3763, allocations: 0 / 481.3 MB, free: 79.83 MB / 378.7 MB Notification: Performance of Templates: time 0.0336/0.4099, allocations: 18.39 MB / 499.7 MB, free: 61.59 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.24634046794381]