Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001096/0.001096, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005096/0.005096, allocations: 160.2 kB / 24.7 MB, free: 9.418 MB / 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 0.9148/0.9148, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2492/0.2492, allocations: 34.25 MB / 295.7 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 443.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.833e-05, allocations: 2.281 kB / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.1748/0.1749, allocations: 6.681 MB / 450.1 MB, free: 40.94 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003522/0.1784, allocations: 3.169 MB / 453.3 MB, free: 39.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003582/0.1787, allocations: 37.62 kB / 453.3 MB, free: 39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009365/0.1797, allocations: 0.8164 MB / 454.1 MB, free: 38.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.181, allocations: 1.374 MB / 455.5 MB, free: 38.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.1815, allocations: 0.5629 MB / 456 MB, free: 37.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001303/0.1828, allocations: 2.951 MB / 459 MB, free: 36.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007362/0.1835, allocations: 1.397 MB / 460.4 MB, free: 36.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006405/0.1842, allocations: 1.214 MB / 461.6 MB, free: 35.78 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008843/0.1851, allocations: 1.309 MB / 462.9 MB, free: 35.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.1852, allocations: 148.7 kB / 463.1 MB, free: 35.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006756/0.1859, allocations: 0.8664 MB / 463.9 MB, free: 35.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004014/0.1863, allocations: 1.076 MB / 465 MB, free: 34.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003279/0.1866, allocations: 0.6536 MB / 465.7 MB, free: 34.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00186/0.1884, allocations: 4.042 MB / 469.7 MB, free: 33.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1884, allocations: 0 / 469.7 MB, free: 33.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1884, allocations: 0 / 469.7 MB, free: 33.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.276e-05/0.1885, allocations: 3.125 kB / 469.7 MB, free: 33.12 MB / 410.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.00248/0.191, allocations: 2.968 MB / 472.7 MB, free: 31.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.191, allocations: 10.09 kB / 472.7 MB, free: 31.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002721/0.1937, allocations: 1.691 MB / 474.4 MB, free: 31.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.1949, allocations: 1.27 MB / 475.6 MB, free: 30.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.852e-05/0.1949, allocations: 122 kB / 475.8 MB, free: 30.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.1951, allocations: 163.3 kB / 475.9 MB, free: 30.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004767/0.1999, allocations: 6.468 MB / 482.4 MB, free: 27.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.738e-05/0.1999, allocations: 33.38 kB / 482.4 MB, free: 27.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.2001, allocations: 83.77 kB / 482.5 MB, free: 27.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001495/0.2016, allocations: 1.438 MB / 483.9 MB, free: 26.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00628/0.2079, allocations: 5.718 MB / 489.7 MB, free: 25.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01597/0.2238, allocations: 25.33 MB / 0.5029 GB, free: 6.121 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/0.2261, allocations: 1.647 MB / 0.5045 GB, free: 5.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007654/0.2269, allocations: 0.9599 MB / 0.5055 GB, free: 4.984 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.773e-05/0.227, allocations: 24 kB / 0.5055 GB, free: 4.977 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.227, allocations: 47.8 kB / 0.5055 GB, free: 4.926 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 3.446e-06/0.227, allocations: 0 / 0.5055 GB, free: 4.926 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.008205/0.2352, allocations: 6.759 MB / 0.5121 GB, free: 14.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.2352, allocations: 141.2 kB / 0.5123 GB, free: 14.06 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/0.2374, allocations: 2.736 MB / 0.5149 GB, free: 11.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.2375, allocations: 45.64 kB / 0.515 GB, free: 11.24 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009054/0.2384, allocations: 2.194 MB / 0.5171 GB, free: 9.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/0.2386, allocations: 464.5 kB / 0.5176 GB, free: 8.562 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007089/0.2394, allocations: 0.8934 MB / 0.5184 GB, free: 7.656 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2395, allocations: 353.7 kB / 0.5188 GB, free: 7.309 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.2408, allocations: 1.426 MB / 0.5202 GB, free: 5.875 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002576/0.2434, allocations: 4.303 MB / 0.5244 GB, free: 120 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004071/0.2474, allocations: 6.21 MB / 0.5304 GB, free: 8.477 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.658e-05/0.2475, allocations: 32 kB / 0.5305 GB, free: 8.445 MB / 442.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.00495/0.2524, allocations: 5.489 MB / 0.5358 GB, free: 2.953 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.325e-05/0.2525, allocations: 48 kB / 0.5359 GB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.179e-05/0.2525, allocations: 104 kB / 0.536 GB, free: 2.805 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.482e-05/0.2526, allocations: 132 kB / 0.5361 GB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/0.2546, allocations: 1.228 MB / 0.5373 GB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.63e-05/0.2547, allocations: 199.6 kB / 0.5375 GB, free: 1.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.256, allocations: 275.6 kB / 0.5378 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/0.2562, allocations: 280 kB / 0.538 GB, free: 0.707 MB / 442.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.00126/0.2575, allocations: 1.387 MB / 0.5394 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.2577, allocations: 225.3 kB / 0.5396 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.2588, allocations: 1.208 MB / 0.5408 GB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.2588, allocations: 12 kB / 0.5408 GB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2588, allocations: 8 kB / 0.5408 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.2588, allocations: 3.984 kB / 0.5408 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004161/0.263, allocations: 3.986 MB / 0.5447 GB, free: 9.766 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.263, allocations: 11.81 kB / 0.5447 GB, free: 9.758 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008095/0.2638, allocations: 371.8 kB / 0.5451 GB, free: 9.395 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-06/0.2638, allocations: 8 kB / 0.5451 GB, free: 9.387 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/0.2639, allocations: 31.97 kB / 0.5451 GB, free: 9.355 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.2639, allocations: 8 kB / 0.5451 GB, free: 9.348 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.2639, allocations: 7.938 kB / 0.5451 GB, free: 9.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.2654, allocations: 2.121 MB / 0.5472 GB, free: 7.145 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.2656, allocations: 230.2 kB / 0.5474 GB, free: 6.918 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.2657, allocations: 28 kB / 0.5474 GB, free: 6.891 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004814/0.2662, allocations: 83.86 kB / 0.5475 GB, free: 6.809 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/0.2663, allocations: 67.78 kB / 0.5476 GB, free: 6.742 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/0.2663, allocations: 39.98 kB / 0.5476 GB, free: 6.703 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001257/0.2676, allocations: 1.57 MB / 0.5491 GB, free: 5.117 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2676, allocations: 0 / 0.5491 GB, free: 5.117 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00181/0.2694, allocations: 0.6678 MB / 0.5498 GB, free: 4.449 MB / 458.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.0003026/0.2697, allocations: 174.9 kB / 0.55 GB, free: 4.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002719/0.2724, allocations: 3.159 MB / 0.553 GB, free: 1.137 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2724, allocations: 0 / 0.553 GB, free: 1.137 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006245/0.2731, allocations: 0.7453 MB / 0.5538 GB, free: 400 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000912/0.274, allocations: 233.5 kB / 0.554 GB, free: 176 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005397/0.2794, allocations: 5.84 MB / 0.5597 GB, free: 10.22 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/0.2806, allocations: 1.635 MB / 0.5613 GB, free: 8.555 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004193/0.2811, allocations: 208.5 kB / 0.5615 GB, free: 8.352 MB / 474.7 MB Notification: Performance of SimCode: time 1.473e-06/0.2811, allocations: 0 / 0.5615 GB, free: 8.352 MB / 474.7 MB Notification: Performance of Templates: time 0.03442/0.3155, allocations: 37.81 MB / 0.5984 GB, free: 2.605 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.552502843551338]