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.001491/0.001491, allocations: 106.4 kB / 17.03 MB, free: 5.703 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.001542/0.001542, allocations: 194.9 kB / 17.96 MB, free: 5.082 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.64/1.64, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2459/0.2459, allocations: 43.52 MB / 314.7 MB, free: 476 kB / 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.001497/0.001497, allocations: 68.53 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1267, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.007482/0.1343, allocations: 7.499 MB / 449.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006438/0.1408, allocations: 3.339 MB / 452.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008997/0.1417, allocations: 39.88 kB / 452.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.1434, allocations: 0.7976 MB / 453.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003042/0.1465, allocations: 1.323 MB / 454.9 MB, free: 9.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.1477, allocations: 0.5184 MB / 455.5 MB, free: 8.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003143/0.1508, allocations: 2.578 MB / 458 MB, free: 6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.1523, allocations: 1.248 MB / 459.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008815/0.1532, allocations: 0.7822 MB / 460.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.1545, allocations: 1.121 MB / 461.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002516/0.1548, allocations: 144 kB / 461.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.1564, allocations: 0.9399 MB / 462.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009084/0.1574, allocations: 1.024 MB / 463.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001173/0.1585, allocations: 1.223 MB / 464.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003967/0.1625, allocations: 4.059 MB / 468.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1625, allocations: 3.938 kB / 468.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1626, allocations: 0 / 468.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.153e-05/0.1626, allocations: 0 / 468.6 MB, free: 11.41 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.005069/0.1677, allocations: 2.965 MB / 471.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.1677, allocations: 11.89 kB / 471.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005512/0.1733, allocations: 1.651 MB / 473.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003066/0.1763, allocations: 1.394 MB / 474.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.149e-05/0.1765, allocations: 123.4 kB / 474.7 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003401/0.1768, allocations: 171.9 kB / 474.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009188/0.186, allocations: 6.453 MB / 481.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.404e-05/0.1861, allocations: 31.75 kB / 481.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002225/0.1863, allocations: 83.89 kB / 481.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002314/0.1887, allocations: 1.445 MB / 482.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/0.1991, allocations: 5.724 MB / 488.6 MB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0346/0.2338, allocations: 26.72 MB / 0.5033 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004238/0.2381, allocations: 2.153 MB / 0.5054 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/0.2393, allocations: 1.039 MB / 0.5064 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002119/0.2396, allocations: 182.5 kB / 0.5066 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.2396, allocations: 42.83 kB / 0.5066 GB, free: 7.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 3.406e-06/0.2396, allocations: 0 / 0.5066 GB, free: 7.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.01466/0.2543, allocations: 6.385 MB / 0.5128 GB, free: 1.125 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.68e-05/0.2544, allocations: 144.8 kB / 0.513 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003837/0.2583, allocations: 2.901 MB / 0.5158 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.2584, allocations: 41.7 kB / 0.5159 GB, free: 13.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.2599, allocations: 2.106 MB / 0.5179 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005554/0.2604, allocations: 458.4 kB / 0.5183 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001262/0.2617, allocations: 0.8888 MB / 0.5192 GB, free: 10.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.2618, allocations: 309.1 kB / 0.5195 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/0.264, allocations: 1.43 MB / 0.5209 GB, free: 8.758 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00439/0.2684, allocations: 4.299 MB / 0.5251 GB, free: 3.008 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2816/0.55, allocations: 6.206 MB / 0.5312 GB, free: 80.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001287/0.5502, allocations: 28.94 kB / 0.5312 GB, free: 80.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01156/0.5617, allocations: 5.501 MB / 0.5366 GB, free: 79.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.347e-05/0.5619, allocations: 50.09 kB / 0.5366 GB, free: 79.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001941/0.5621, allocations: 101.8 kB / 0.5367 GB, free: 79.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002423/0.5623, allocations: 134.3 kB / 0.5368 GB, free: 79.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005135/0.5675, allocations: 1.228 MB / 0.538 GB, free: 79.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003808/0.5679, allocations: 202.2 kB / 0.5382 GB, free: 79.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004004/0.5719, allocations: 240.8 kB / 0.5385 GB, free: 79.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005256/0.5724, allocations: 284.3 kB / 0.5387 GB, free: 79.68 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.003368/0.5758, allocations: 1.39 MB / 0.5401 GB, free: 79.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007053/0.5765, allocations: 239.3 kB / 0.5403 GB, free: 79.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/0.5792, allocations: 1.239 MB / 0.5415 GB, free: 78.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.409e-05/0.5793, allocations: 17.11 kB / 0.5415 GB, free: 78.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.5793, allocations: 0.9688 kB / 0.5415 GB, free: 78.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.5793, allocations: 5.5 kB / 0.5415 GB, free: 78.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008999/0.5883, allocations: 4.562 MB / 0.546 GB, free: 76.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.5884, allocations: 5.812 kB / 0.546 GB, free: 76.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/0.59, allocations: 363.7 kB / 0.5464 GB, free: 76.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.568e-05/0.59, allocations: 8.219 kB / 0.5464 GB, free: 76.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-05/0.5901, allocations: 25.03 kB / 0.5464 GB, free: 76.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/0.5901, allocations: 10.88 kB / 0.5464 GB, free: 76.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.5902, allocations: 10 kB / 0.5464 GB, free: 76.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/0.5924, allocations: 2.168 MB / 0.5485 GB, free: 75.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009332/0.5934, allocations: 460 kB / 0.549 GB, free: 75.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/0.5936, allocations: 23.73 kB / 0.549 GB, free: 75.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008514/0.5945, allocations: 57.81 kB / 0.549 GB, free: 75.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.5946, allocations: 71.44 kB / 0.5491 GB, free: 75.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-05/0.5947, allocations: 35.16 kB / 0.5491 GB, free: 75.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002195/0.5969, allocations: 1.825 MB / 0.5509 GB, free: 74.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5969, allocations: 0 / 0.5509 GB, free: 74.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003386/0.6003, allocations: 0.6307 MB / 0.5515 GB, free: 74.83 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.0003191/0.6007, allocations: 158 kB / 0.5517 GB, free: 74.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004426/0.6051, allocations: 3.282 MB / 0.5549 GB, free: 72.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.6051, allocations: 0 / 0.5549 GB, free: 72.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009757/0.6061, allocations: 0.7985 MB / 0.5557 GB, free: 72.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.6082, allocations: 273 kB / 0.5559 GB, free: 72.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007983/0.6162, allocations: 5.575 MB / 0.5614 GB, free: 66.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/0.6179, allocations: 2.214 MB / 0.5635 GB, free: 64.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00274/0.6206, allocations: 1.461 MB / 0.565 GB, free: 63.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005111/0.6212, allocations: 175.4 kB / 0.5651 GB, free: 62.89 MB / 414.1 MB Notification: Performance of SimCode: time 1.503e-06/0.6212, allocations: 0 / 0.5651 GB, free: 62.89 MB / 414.1 MB Notification: Performance of Templates: time 0.03595/0.6571, allocations: 18.19 MB / 0.5829 GB, free: 44.91 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches