Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001413/0.001413, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001525/0.001525, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3694/0.3694, allocations: 32.79 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 375.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.248e-05/3.418e-05, allocations: 8.922 kB / 375.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01066/0.01069, allocations: 6.681 MB / 381.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007182/0.01788, allocations: 3.169 MB / 385.1 MB, free: 11.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009402/0.01882, allocations: 39.81 kB / 385.1 MB, free: 11.08 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0021/0.02092, allocations: 0.8208 MB / 385.9 MB, free: 10.26 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00451/0.02543, allocations: 1.377 MB / 387.3 MB, free: 8.875 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.02714, allocations: 0.5804 MB / 387.9 MB, free: 8.293 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004479/0.03162, allocations: 2.951 MB / 390.8 MB, free: 5.336 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002599/0.03422, allocations: 1.455 MB / 392.3 MB, free: 3.863 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002489/0.0367, allocations: 1.216 MB / 393.5 MB, free: 2.645 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.0389, allocations: 1.301 MB / 394.8 MB, free: 1.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003525/0.03925, allocations: 144 kB / 395 MB, free: 1.199 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.04116, allocations: 0.885 MB / 395.8 MB, free: 320 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001199/0.04236, allocations: 1.071 MB / 396.9 MB, free: 15.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009966/0.04336, allocations: 0.6539 MB / 397.6 MB, free: 14.58 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005643/0.049, allocations: 4.037 MB / 401.6 MB, free: 10.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.04901, allocations: 0 / 401.6 MB, free: 10.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.04901, allocations: 4 kB / 401.6 MB, free: 10.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.687e-05/0.04909, allocations: 3.938 kB / 401.6 MB, free: 10.52 MB / 378.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.006234/0.05532, allocations: 2.963 MB / 404.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.05536, allocations: 8.031 kB / 404.6 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007384/0.06274, allocations: 2.078 MB / 406.7 MB, free: 5.426 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004743/0.06749, allocations: 1.274 MB / 407.9 MB, free: 4.121 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.06769, allocations: 127.4 kB / 408.1 MB, free: 3.996 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007273/0.06842, allocations: 156.3 kB / 408.2 MB, free: 3.844 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01789/0.08631, allocations: 6.469 MB / 414.7 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001167/0.08643, allocations: 35.7 kB / 414.7 MB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004006/0.08683, allocations: 83.89 kB / 414.8 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0045/0.09133, allocations: 1.441 MB / 416.2 MB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01808/0.1094, allocations: 5.743 MB / 422 MB, free: 5.539 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2233/0.3327, allocations: 25.37 MB / 447.3 MB, free: 83.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004447/0.3371, allocations: 1.641 MB / 449 MB, free: 83.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.3385, allocations: 0.9657 MB / 450 MB, free: 83.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.3387, allocations: 31.48 kB / 450 MB, free: 83.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.3387, allocations: 51.02 kB / 450 MB, free: 83.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 4.228e-06/0.3387, allocations: 0 / 450 MB, free: 83.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.0161/0.3548, allocations: 6.795 MB / 456.8 MB, free: 81.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.3548, allocations: 145.7 kB / 457 MB, free: 81.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003107/0.358, allocations: 2.736 MB / 459.7 MB, free: 80.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001599/0.3581, allocations: 42.89 kB / 459.8 MB, free: 80.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009432/0.3591, allocations: 2.188 MB / 461.9 MB, free: 78.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003884/0.3594, allocations: 468.8 kB / 462.4 MB, free: 78.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009074/0.3604, allocations: 0.8873 MB / 463.3 MB, free: 77.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.023e-05/0.3604, allocations: 352.7 kB / 463.6 MB, free: 77.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/0.3622, allocations: 1.439 MB / 465.1 MB, free: 76.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002864/0.3651, allocations: 4.305 MB / 469.4 MB, free: 72.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005257/0.3703, allocations: 6.228 MB / 475.6 MB, free: 67.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.866e-05/0.3704, allocations: 27.03 kB / 475.6 MB, free: 67.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.00844/0.3789, allocations: 5.743 MB / 481.4 MB, free: 65.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.379, allocations: 51.97 kB / 481.4 MB, free: 65.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001487/0.3791, allocations: 102.8 kB / 481.5 MB, free: 65.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001733/0.3793, allocations: 134.8 kB / 481.7 MB, free: 65.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004114/0.3834, allocations: 1.234 MB / 482.9 MB, free: 65.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002435/0.3836, allocations: 200.4 kB / 483.1 MB, free: 65.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/0.3872, allocations: 297.3 kB / 483.4 MB, free: 65.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004851/0.3876, allocations: 284.2 kB / 483.7 MB, free: 65.03 MB / 410.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.002199/0.3898, allocations: 1.387 MB / 485 MB, free: 64.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006338/0.3905, allocations: 246.8 kB / 485.3 MB, free: 64.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00183/0.3923, allocations: 1.213 MB / 486.5 MB, free: 63.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-05/0.3923, allocations: 13.38 kB / 486.5 MB, free: 63.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.3923, allocations: 1.438 kB / 486.5 MB, free: 63.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.3924, allocations: 8.266 kB / 486.5 MB, free: 63.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006669/0.399, allocations: 3.996 MB / 490.5 MB, free: 62.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.399, allocations: 6.406 kB / 490.5 MB, free: 62.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/0.4007, allocations: 365.7 kB / 490.9 MB, free: 62.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.376e-05/0.4007, allocations: 8.531 kB / 490.9 MB, free: 62.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.865e-05/0.4008, allocations: 30.75 kB / 490.9 MB, free: 62.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.317e-05/0.4008, allocations: 15.14 kB / 490.9 MB, free: 62.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.4009, allocations: 7.781 kB / 490.9 MB, free: 62.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/0.4033, allocations: 2.156 MB / 493.1 MB, free: 61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004115/0.4037, allocations: 217.7 kB / 493.3 MB, free: 60.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.4039, allocations: 30.75 kB / 493.3 MB, free: 60.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009967/0.4049, allocations: 93.95 kB / 493.4 MB, free: 60.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.4051, allocations: 68.22 kB / 493.5 MB, free: 60.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.07e-05/0.4051, allocations: 37.2 kB / 493.5 MB, free: 60.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001974/0.4071, allocations: 1.571 MB / 495.1 MB, free: 60.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4071, allocations: 4 kB / 495.1 MB, free: 60.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00374/0.4109, allocations: 0.6721 MB / 495.8 MB, free: 60.18 MB / 410.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.0003679/0.4112, allocations: 172.6 kB / 495.9 MB, free: 60.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004652/0.4159, allocations: 3.174 MB / 499.1 MB, free: 59.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/0.4159, allocations: 0 / 499.1 MB, free: 59.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008465/0.4167, allocations: 0.7362 MB / 499.9 MB, free: 58.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.4185, allocations: 249.8 kB / 0.4884 GB, free: 58.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009154/0.4276, allocations: 5.64 MB / 0.4939 GB, free: 53.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001972/0.4296, allocations: 1.639 MB / 0.4955 GB, free: 51.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003368/0.433, allocations: 1.426 MB / 0.4969 GB, free: 51.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005964/0.4336, allocations: 161.4 kB / 0.497 GB, free: 50.95 MB / 410.7 MB Notification: Performance of SimCode: time 2.104e-06/0.4336, allocations: 0 / 0.497 GB, free: 50.95 MB / 410.7 MB Notification: Performance of Templates: time 0.03488/0.4684, allocations: 18.1 MB / 0.5147 GB, free: 35.34 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.267221929971129]