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.0009164/0.0009164, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009253/0.0009253, allocations: 177.9 kB / 16.57 MB, free: 6.379 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.533/1.533, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3735/0.3735, allocations: 43.55 MB / 314.5 MB, free: 8.738 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.0005776/0.0005777, allocations: 14.97 kB / 383.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1539, allocations: 58.85 MB / 442.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01317/0.1672, allocations: 12.34 MB / 455.1 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2749/0.4421, allocations: 4.269 MB / 459.3 MB, free: 36.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.4444, allocations: 55.25 kB / 459.4 MB, free: 36.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.4459, allocations: 0.5463 MB / 459.9 MB, free: 36.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00616/0.452, allocations: 1.954 MB / 461.9 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.4535, allocations: 426.5 kB / 462.3 MB, free: 36.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002804/0.4563, allocations: 1.477 MB / 463.8 MB, free: 36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001961/0.4583, allocations: 1.393 MB / 465.2 MB, free: 35.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008758/0.4592, allocations: 0.6069 MB / 465.8 MB, free: 35.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008899/0.4601, allocations: 0.846 MB / 466.6 MB, free: 35.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.4603, allocations: 79.47 kB / 466.7 MB, free: 35.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.4617, allocations: 0.7564 MB / 467.5 MB, free: 35.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007087/0.4624, allocations: 0.8951 MB / 468.4 MB, free: 35.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004283/0.4629, allocations: 0.4944 MB / 468.9 MB, free: 35.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002851/0.4657, allocations: 3.03 MB / 471.9 MB, free: 35.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4658, allocations: 0 / 471.9 MB, free: 35.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.4658, allocations: 3.156 kB / 471.9 MB, free: 35.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.69e-05/0.4658, allocations: 0 / 471.9 MB, free: 35.1 MB / 382.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.004815/0.4706, allocations: 2.556 MB / 474.5 MB, free: 33.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.4707, allocations: 17.02 kB / 474.5 MB, free: 33.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006379/0.4771, allocations: 1.973 MB / 476.4 MB, free: 33.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003534/0.4806, allocations: 1.568 MB / 478 MB, free: 33.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.4808, allocations: 129 kB / 478.1 MB, free: 33.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000371/0.4812, allocations: 157.4 kB / 478.3 MB, free: 33.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.492, allocations: 6.483 MB / 484.8 MB, free: 31.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.741e-05/0.4922, allocations: 36.33 kB / 484.8 MB, free: 31.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002871/0.4925, allocations: 81.83 kB / 484.9 MB, free: 31.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002979/0.4955, allocations: 1.435 MB / 486.3 MB, free: 31.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01378/0.5093, allocations: 5.757 MB / 492.1 MB, free: 29.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04095/0.5503, allocations: 26.83 MB / 0.5067 GB, free: 24.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004724/0.555, allocations: 2.146 MB / 0.5088 GB, free: 23.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002579/0.5553, allocations: 179.5 kB / 0.509 GB, free: 22.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.5554, allocations: 47.11 kB / 0.5091 GB, free: 22.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 4.378e-06/0.5554, allocations: 0 / 0.5091 GB, free: 22.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.02051/0.5759, allocations: 6.707 MB / 0.5156 GB, free: 18.49 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.782e-05/0.576, allocations: 152.8 kB / 0.5158 GB, free: 18.31 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00553/0.5816, allocations: 3.004 MB / 0.5187 GB, free: 15.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001674/0.5818, allocations: 41.7 kB / 0.5187 GB, free: 15.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001858/0.5837, allocations: 2.111 MB / 0.5208 GB, free: 13.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007814/0.5845, allocations: 460.1 kB / 0.5212 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003563/0.5848, allocations: 84 kB / 0.5213 GB, free: 12.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0004663/0.5853, allocations: 495.8 kB / 0.5218 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003013/0.5883, allocations: 1.402 MB / 0.5232 GB, free: 10.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004915/0.5933, allocations: 4.252 MB / 0.5273 GB, free: 5.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003927/0.5972, allocations: 2.402 MB / 0.5297 GB, free: 2.609 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001148/0.5973, allocations: 28 kB / 0.5297 GB, free: 2.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.0102/0.6076, allocations: 5.45 MB / 0.535 GB, free: 13.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.542e-05/0.6077, allocations: 51.28 kB / 0.535 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001934/0.6079, allocations: 107.5 kB / 0.5352 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.6081, allocations: 152 kB / 0.5353 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004308/0.6124, allocations: 1.216 MB / 0.5365 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000204/0.6126, allocations: 195.2 kB / 0.5367 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003298/0.6159, allocations: 246.5 kB / 0.5369 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006996/0.6166, allocations: 282.7 kB / 0.5372 GB, free: 10.91 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 (553): * Single equations (assignments): 550 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003065/0.6197, allocations: 1.392 MB / 0.5385 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006809/0.6204, allocations: 245 kB / 0.5388 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/0.6227, allocations: 1.238 MB / 0.54 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-05/0.6228, allocations: 12 kB / 0.54 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.6228, allocations: 7.938 kB / 0.54 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.6228, allocations: 3.984 kB / 0.54 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.6328, allocations: 4.569 MB / 0.5445 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/0.6329, allocations: 4 kB / 0.5445 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/0.6347, allocations: 363.9 kB / 0.5448 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.747e-05/0.6348, allocations: 12 kB / 0.5448 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.6349, allocations: 24 kB / 0.5448 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.602e-05/0.6349, allocations: 15.92 kB / 0.5449 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.6349, allocations: 8 kB / 0.5449 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003194/0.6381, allocations: 2.599 MB / 0.5474 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001472/0.6396, allocations: 477.5 kB / 0.5479 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006199/0.6403, allocations: 27.55 kB / 0.5479 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.6416, allocations: 55.92 kB / 0.5479 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.6417, allocations: 67.81 kB / 0.548 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.339e-05/0.6418, allocations: 40 kB / 0.548 GB, free: 15.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003912/0.6457, allocations: 1.905 MB / 0.5499 GB, free: 13.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6458, allocations: 0 / 0.5499 GB, free: 13.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004507/0.6503, allocations: 0.6445 MB / 0.5505 GB, free: 12.95 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005181/0.6508, allocations: 179.8 kB / 0.5507 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006089/0.6569, allocations: 3.221 MB / 0.5539 GB, free: 9.574 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.6569, allocations: 4 kB / 0.5539 GB, free: 9.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.658, allocations: 0.7856 MB / 0.5546 GB, free: 8.785 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.6597, allocations: 254.9 kB / 0.5549 GB, free: 8.539 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.6718, allocations: 6.522 MB / 0.5612 GB, free: 1.922 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00308/0.6749, allocations: 2.262 MB / 0.5634 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00403/0.679, allocations: 1.468 MB / 0.5649 GB, free: 14.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000793/0.6798, allocations: 175.4 kB / 0.565 GB, free: 13.98 MB / 446.1 MB Notification: Performance of SimCode: time 1.352e-06/0.6798, allocations: 4 kB / 0.565 GB, free: 13.98 MB / 446.1 MB Notification: Performance of Templates: time 0.04368/0.7235, allocations: 21.19 MB / 0.5857 GB, free: 8.875 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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