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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 100.6 kB / 15.98 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 193.6 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.1 MB / 222.8 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2481/0.2481, allocations: 43.52 MB / 313.6 MB, free: 0.7148 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001579/0.00158, allocations: 66.84 kB / 382.2 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1258, allocations: 57.8 MB / 440 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01344/0.1393, allocations: 14.47 MB / 454.5 MB, free: 8.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.1499, allocations: 4.455 MB / 458.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003082/0.1531, allocations: 55.88 kB / 459 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002393/0.1555, allocations: 0.7398 MB / 459.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006156/0.1617, allocations: 1.242 MB / 461 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.1639, allocations: 0.4913 MB / 461.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005033/0.169, allocations: 2.602 MB / 464.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003238/0.1723, allocations: 1.307 MB / 465.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001905/0.1742, allocations: 0.7977 MB / 466.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002225/0.1764, allocations: 1.269 MB / 467.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006104/0.1771, allocations: 140 kB / 467.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/0.1796, allocations: 0.9515 MB / 468.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001496/0.1811, allocations: 1.04 MB / 469.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001381/0.1825, allocations: 1.246 MB / 470.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004775/0.1873, allocations: 3.921 MB / 474.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.1873, allocations: 4 kB / 474.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1873, allocations: 0 / 474.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.687e-05/0.1874, allocations: 0 / 474.7 MB, free: 4.504 MB / 350.1 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.005356/0.1928, allocations: 2.965 MB / 477.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.1928, allocations: 11.89 kB / 477.7 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005581/0.1984, allocations: 1.658 MB / 479.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/0.2007, allocations: 1.387 MB / 480.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.556e-05/0.2008, allocations: 123.4 kB / 480.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003083/0.2012, allocations: 167.9 kB / 481 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008674/0.2098, allocations: 6.449 MB / 487.5 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.354e-05/0.2099, allocations: 35.75 kB / 487.5 MB, free: 7.078 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/0.2101, allocations: 79.89 kB / 487.6 MB, free: 7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002453/0.2126, allocations: 1.437 MB / 489 MB, free: 5.559 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.2227, allocations: 5.728 MB / 494.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0367/0.2594, allocations: 26.81 MB / 0.5093 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004781/0.2642, allocations: 2.138 MB / 0.5114 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.2658, allocations: 1.047 MB / 0.5125 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000237/0.266, allocations: 178.5 kB / 0.5126 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.516e-05/0.2661, allocations: 50.83 kB / 0.5127 GB, free: 0.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 5.53e-06/0.2661, allocations: 0 / 0.5127 GB, free: 0.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.01653/0.2826, allocations: 6.376 MB / 0.5189 GB, free: 10.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.041e-05/0.2828, allocations: 148.8 kB / 0.519 GB, free: 9.965 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00407/0.2868, allocations: 2.89 MB / 0.5219 GB, free: 7.062 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001887/0.2871, allocations: 45.7 kB / 0.5219 GB, free: 7.012 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001669/0.2887, allocations: 2.11 MB / 0.524 GB, free: 4.871 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005422/0.2893, allocations: 454.4 kB / 0.5244 GB, free: 4.422 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001207/0.2905, allocations: 0.8927 MB / 0.5253 GB, free: 3.516 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.2907, allocations: 309 kB / 0.5256 GB, free: 3.211 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002301/0.293, allocations: 1.422 MB / 0.527 GB, free: 1.781 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2778/0.5708, allocations: 4.302 MB / 0.5312 GB, free: 85.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00767/0.5786, allocations: 6.206 MB / 0.5372 GB, free: 81.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000164/0.5788, allocations: 28.94 kB / 0.5373 GB, free: 81.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01524/0.594, allocations: 5.51 MB / 0.5426 GB, free: 79.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.5942, allocations: 49.56 kB / 0.5427 GB, free: 79.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002263/0.5944, allocations: 101.7 kB / 0.5428 GB, free: 79.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002922/0.5947, allocations: 134 kB / 0.5429 GB, free: 79.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005413/0.6001, allocations: 1.236 MB / 0.5441 GB, free: 79.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002949/0.6005, allocations: 203.2 kB / 0.5443 GB, free: 79.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004025/0.6045, allocations: 239.8 kB / 0.5445 GB, free: 79.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007611/0.6053, allocations: 281.9 kB / 0.5448 GB, free: 79.16 MB / 414.1 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.002782/0.6081, allocations: 1.386 MB / 0.5462 GB, free: 78.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000578/0.6086, allocations: 240.8 kB / 0.5464 GB, free: 78.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.6105, allocations: 1.243 MB / 0.5476 GB, free: 78.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/0.6106, allocations: 17 kB / 0.5476 GB, free: 78.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.6106, allocations: 0 / 0.5476 GB, free: 78.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.6106, allocations: 7.953 kB / 0.5476 GB, free: 78.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006197/0.6168, allocations: 4.565 MB / 0.5521 GB, free: 76.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.6168, allocations: 5.875 kB / 0.5521 GB, free: 76.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/0.6184, allocations: 371.3 kB / 0.5524 GB, free: 76.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.011e-05/0.6184, allocations: 14.41 kB / 0.5525 GB, free: 76.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-05/0.6185, allocations: 19.66 kB / 0.5525 GB, free: 76.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.869e-05/0.6185, allocations: 11.66 kB / 0.5525 GB, free: 76.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.6185, allocations: 7.688 kB / 0.5525 GB, free: 76.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/0.6211, allocations: 2.172 MB / 0.5546 GB, free: 75.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008731/0.622, allocations: 459.1 kB / 0.555 GB, free: 74.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002549/0.6222, allocations: 22.5 kB / 0.5551 GB, free: 74.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000903/0.6231, allocations: 57.42 kB / 0.5551 GB, free: 74.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.6233, allocations: 70.73 kB / 0.5552 GB, free: 74.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.69e-05/0.6234, allocations: 38.8 kB / 0.5552 GB, free: 74.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002537/0.6259, allocations: 1.83 MB / 0.557 GB, free: 73.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.626, allocations: 0 / 0.557 GB, free: 73.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004092/0.6301, allocations: 0.6305 MB / 0.5576 GB, free: 73.35 MB / 414.1 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.0004334/0.6305, allocations: 157.8 kB / 0.5578 GB, free: 73.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005222/0.6357, allocations: 3.474 MB / 0.5612 GB, free: 70.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.6358, allocations: 0 / 0.5612 GB, free: 70.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008359/0.6366, allocations: 0.7903 MB / 0.5619 GB, free: 69.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.6386, allocations: 279.1 kB / 0.5622 GB, free: 69.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008776/0.6474, allocations: 6.794 MB / 0.5688 GB, free: 62.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/0.6489, allocations: 2.212 MB / 0.571 GB, free: 60.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002904/0.6518, allocations: 1.459 MB / 0.5724 GB, free: 58.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005257/0.6523, allocations: 171.4 kB / 0.5726 GB, free: 58.46 MB / 414.1 MB Notification: Performance of SimCode: time 1.572e-06/0.6523, allocations: 4 kB / 0.5726 GB, free: 58.46 MB / 414.1 MB Notification: Performance of Templates: time 0.03482/0.6872, allocations: 22.05 MB / 0.5941 GB, free: 36.51 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.makefile (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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches