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.001236/0.001236, allocations: 96.14 kB / 15.87 MB, free: 16 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.001655/0.001655, allocations: 202.9 kB / 16.79 MB, free: 6.84 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.635/1.635, allocations: 205.1 MB / 222.6 MB, free: 4.777 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.4055/0.4055, allocations: 43.5 MB / 313.5 MB, free: 8.277 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.001724/0.001724, allocations: 71.12 kB / 382 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1392, allocations: 57.79 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01844/0.1577, allocations: 14.48 MB / 454.3 MB, free: 68 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3043/0.4621, allocations: 4.55 MB / 458.8 MB, free: 37.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00332/0.4655, allocations: 58 kB / 458.9 MB, free: 37.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.4671, allocations: 0.757 MB / 459.7 MB, free: 37.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003201/0.4704, allocations: 1.231 MB / 460.9 MB, free: 37.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.4717, allocations: 485.7 kB / 461.4 MB, free: 37.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003813/0.4755, allocations: 3.486 MB / 464.8 MB, free: 36.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.4769, allocations: 1.207 MB / 466.1 MB, free: 36.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000859/0.4778, allocations: 0.6831 MB / 466.7 MB, free: 36.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.479, allocations: 1.221 MB / 468 MB, free: 36.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000221/0.4792, allocations: 96.94 kB / 468.1 MB, free: 36.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.481, allocations: 0.955 MB / 469 MB, free: 35.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006918/0.4817, allocations: 1.012 MB / 470 MB, free: 35.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008179/0.4825, allocations: 1.195 MB / 471.2 MB, free: 34.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003973/0.4865, allocations: 3.866 MB / 475.1 MB, free: 33.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.4865, allocations: 4 kB / 475.1 MB, free: 33.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4865, allocations: 0 / 475.1 MB, free: 33.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.008e-05/0.4866, allocations: 0 / 475.1 MB, free: 33.41 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.005916/0.4925, allocations: 2.953 MB / 478 MB, free: 31.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.4926, allocations: 10 kB / 478 MB, free: 31.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005711/0.4983, allocations: 1.651 MB / 479.7 MB, free: 31.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002807/0.5012, allocations: 1.384 MB / 481.1 MB, free: 30.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.5013, allocations: 122.8 kB / 481.2 MB, free: 30.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000412/0.5017, allocations: 170.5 kB / 481.4 MB, free: 30.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01149/0.5132, allocations: 6.453 MB / 487.8 MB, free: 27.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-05/0.5134, allocations: 34.56 kB / 487.9 MB, free: 27.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002967/0.5137, allocations: 83.28 kB / 487.9 MB, free: 27.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00399/0.5177, allocations: 1.437 MB / 489.4 MB, free: 27.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01578/0.5335, allocations: 5.733 MB / 495.1 MB, free: 25.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0377/0.5713, allocations: 26.82 MB / 0.5097 GB, free: 20.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005044/0.5764, allocations: 2.139 MB / 0.5118 GB, free: 19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001921/0.5783, allocations: 1.036 MB / 0.5128 GB, free: 18.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000292/0.5787, allocations: 187.9 kB / 0.513 GB, free: 18.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/0.5787, allocations: 46.92 kB / 0.513 GB, free: 18.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 4.558e-06/0.5787, allocations: 0 / 0.513 GB, free: 18.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.0212/0.6, allocations: 6.378 MB / 0.5192 GB, free: 11.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001774/0.6002, allocations: 148.9 kB / 0.5194 GB, free: 11.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007696/0.6079, allocations: 2.897 MB / 0.5222 GB, free: 8.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005662/0.6086, allocations: 49.62 kB / 0.5223 GB, free: 8.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002774/0.6114, allocations: 2.098 MB / 0.5243 GB, free: 6.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009833/0.6124, allocations: 460.8 kB / 0.5248 GB, free: 6.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0031/0.6155, allocations: 0.8966 MB / 0.5256 GB, free: 5.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.6157, allocations: 301.1 kB / 0.5259 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003303/0.619, allocations: 1.426 MB / 0.5273 GB, free: 3.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005457/0.6245, allocations: 4.299 MB / 0.5315 GB, free: 13.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007555/0.6321, allocations: 6.207 MB / 0.5376 GB, free: 6.172 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.95e-05/0.6322, allocations: 36 kB / 0.5376 GB, free: 6.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01066/0.6429, allocations: 5.507 MB / 0.543 GB, free: 0.625 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.6431, allocations: 52.22 kB / 0.543 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001921/0.6433, allocations: 104 kB / 0.5431 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001746/0.6435, allocations: 132 kB / 0.5433 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004813/0.6483, allocations: 1.232 MB / 0.5445 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003036/0.6486, allocations: 199.2 kB / 0.5446 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004017/0.6526, allocations: 251.8 kB / 0.5449 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008781/0.6535, allocations: 280 kB / 0.5452 GB, free: 14.39 MB / 430.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.003246/0.6568, allocations: 1.394 MB / 0.5465 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008616/0.6577, allocations: 236.9 kB / 0.5467 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00288/0.6606, allocations: 1.242 MB / 0.548 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-05/0.6606, allocations: 12 kB / 0.548 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/0.6606, allocations: 4.078 kB / 0.548 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/0.6607, allocations: 11.97 kB / 0.548 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.6708, allocations: 4.565 MB / 0.5524 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-05/0.6709, allocations: 4 kB / 0.5524 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001894/0.6728, allocations: 363.3 kB / 0.5528 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.386e-05/0.6729, allocations: 8.531 kB / 0.5528 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/0.673, allocations: 31.98 kB / 0.5528 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.857e-05/0.673, allocations: 11.94 kB / 0.5528 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.673, allocations: 8 kB / 0.5528 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003187/0.6762, allocations: 2.157 MB / 0.555 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/0.6776, allocations: 465.7 kB / 0.5554 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006952/0.6783, allocations: 20 kB / 0.5554 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/0.6797, allocations: 59.92 kB / 0.5555 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.6799, allocations: 63.8 kB / 0.5555 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.68, allocations: 40 kB / 0.5556 GB, free: 3.527 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003978/0.684, allocations: 1.823 MB / 0.5574 GB, free: 1.699 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.684, allocations: 0 / 0.5574 GB, free: 1.699 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004839/0.6888, allocations: 0.6349 MB / 0.558 GB, free: 1.066 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 (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.0006071/0.6894, allocations: 150 kB / 0.5581 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00602/0.6955, allocations: 3.261 MB / 0.5613 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/0.6955, allocations: 0 / 0.5613 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.6968, allocations: 0.7919 MB / 0.5621 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/0.6996, allocations: 276.8 kB / 0.5623 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/0.7128, allocations: 6.796 MB / 0.569 GB, free: 5.738 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004716/0.7176, allocations: 2.204 MB / 0.5711 GB, free: 3.504 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004945/0.7226, allocations: 1.467 MB / 0.5726 GB, free: 2.031 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000988/0.7236, allocations: 171.4 kB / 0.5727 GB, free: 1.863 MB / 446.1 MB Notification: Performance of SimCode: time 1.392e-06/0.7236, allocations: 0 / 0.5727 GB, free: 1.863 MB / 446.1 MB Notification: Performance of Templates: time 0.0471/0.7707, allocations: 21.25 MB / 0.5935 GB, free: 12.71 MB / 478.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