Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001484/0.001484, allocations: 183.8 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2126/0.2126, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.91 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3883, allocations: 60.81 MB / 0.5189 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008357/0.3967, allocations: 7.489 MB / 0.5262 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006976/0.4037, allocations: 3.338 MB / 0.5294 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.4054, allocations: 31.94 kB / 0.5295 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002178/0.4076, allocations: 0.7935 MB / 0.5303 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003784/0.4115, allocations: 1.349 MB / 0.5316 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.4129, allocations: 0.5257 MB / 0.5321 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005206/0.4182, allocations: 2.579 MB / 0.5346 GB, free: 8.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002717/0.4209, allocations: 1.23 MB / 0.5358 GB, free: 8.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.4228, allocations: 0.7785 MB / 0.5366 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002202/0.425, allocations: 1.126 MB / 0.5377 GB, free: 7.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005315/0.4256, allocations: 138.7 kB / 0.5378 GB, free: 7.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.4279, allocations: 0.9484 MB / 0.5387 GB, free: 6.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001405/0.4293, allocations: 1.017 MB / 0.5397 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001611/0.4309, allocations: 1.223 MB / 0.5409 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005738/0.4367, allocations: 4.063 MB / 0.5449 GB, free: 1.383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.4367, allocations: 3.984 kB / 0.5449 GB, free: 1.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4367, allocations: 0 / 0.5449 GB, free: 1.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.248e-05/0.4368, allocations: 0 / 0.5449 GB, free: 1.379 MB / 398.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.006298/0.4431, allocations: 2.961 MB / 0.5478 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.4431, allocations: 8.031 kB / 0.5478 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006363/0.4495, allocations: 1.651 MB / 0.5494 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003012/0.4525, allocations: 1.347 MB / 0.5507 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.4527, allocations: 123.4 kB / 0.5508 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003403/0.453, allocations: 171.9 kB / 0.551 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.4637, allocations: 6.456 MB / 0.5573 GB, free: 4.027 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.462e-05/0.4638, allocations: 27.75 kB / 0.5573 GB, free: 4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000251/0.4641, allocations: 87.83 kB / 0.5574 GB, free: 3.914 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00267/0.4667, allocations: 1.441 MB / 0.5588 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01095/0.4777, allocations: 5.724 MB / 0.5644 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04004/0.5178, allocations: 26.72 MB / 0.5905 GB, free: 1.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004585/0.5224, allocations: 2.144 MB / 0.5926 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.5238, allocations: 1.043 MB / 0.5936 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/0.5241, allocations: 182.5 kB / 0.5938 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.5241, allocations: 42.83 kB / 0.5938 GB, free: 13.55 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.918e-06/0.5241, allocations: 0 / 0.5938 GB, free: 13.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01584/0.54, allocations: 6.376 MB / 0.6 GB, free: 7.145 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/0.5401, allocations: 140.9 kB / 0.6002 GB, free: 6.977 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004261/0.5443, allocations: 2.889 MB / 0.603 GB, free: 4.074 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.5445, allocations: 41.7 kB / 0.603 GB, free: 4.027 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001469/0.546, allocations: 2.102 MB / 0.6051 GB, free: 1.895 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004568/0.5464, allocations: 454.3 kB / 0.6055 GB, free: 1.445 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001159/0.5476, allocations: 0.9005 MB / 0.6064 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.5477, allocations: 305.1 kB / 0.6067 GB, free: 236 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/0.5497, allocations: 1.426 MB / 0.6081 GB, free: 14.79 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004375/0.5541, allocations: 4.299 MB / 0.6123 GB, free: 9.043 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007324/0.5614, allocations: 6.203 MB / 0.6183 GB, free: 1.406 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001204/0.5616, allocations: 32 kB / 0.6184 GB, free: 1.375 MB / 478.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009962/0.5716, allocations: 5.503 MB / 0.6238 GB, free: 11.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.324e-05/0.5717, allocations: 48 kB / 0.6238 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001412/0.5718, allocations: 100 kB / 0.6239 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001485/0.572, allocations: 140 kB / 0.624 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004413/0.5764, allocations: 1.229 MB / 0.6252 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001984/0.5766, allocations: 207.2 kB / 0.6254 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002997/0.5796, allocations: 243.5 kB / 0.6257 GB, free: 9.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005031/0.5802, allocations: 280.1 kB / 0.6259 GB, free: 9.641 MB / 494.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.002211/0.5824, allocations: 1.384 MB / 0.6273 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005107/0.5829, allocations: 236.9 kB / 0.6275 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/0.5851, allocations: 1.241 MB / 0.6287 GB, free: 6.754 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-05/0.5851, allocations: 15.91 kB / 0.6287 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.5851, allocations: 7.938 kB / 0.6287 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.5852, allocations: 3.984 kB / 0.6287 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008326/0.5935, allocations: 4.558 MB / 0.6332 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/0.5935, allocations: 8.094 kB / 0.6332 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00194/0.5955, allocations: 371.3 kB / 0.6336 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.701e-05/0.5955, allocations: 8 kB / 0.6336 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-05/0.5956, allocations: 24 kB / 0.6336 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27e-05/0.5956, allocations: 8 kB / 0.6336 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.5956, allocations: 8.219 kB / 0.6336 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002837/0.5985, allocations: 2.155 MB / 0.6357 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006392/0.5991, allocations: 309.8 kB / 0.636 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000413/0.5996, allocations: 23.94 kB / 0.636 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.6007, allocations: 59.92 kB / 0.6361 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.6008, allocations: 75.73 kB / 0.6361 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.134e-05/0.6009, allocations: 39.98 kB / 0.6362 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002794/0.6037, allocations: 1.819 MB / 0.638 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6037, allocations: 0 / 0.638 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00313/0.6069, allocations: 0.6211 MB / 0.6386 GB, free: 12.45 MB / 0.4981 GB 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.0003969/0.6073, allocations: 159 kB / 0.6387 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005032/0.6123, allocations: 3.286 MB / 0.6419 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.6123, allocations: 4 kB / 0.6419 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.6134, allocations: 0.7922 MB / 0.6427 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.6152, allocations: 278.4 kB / 0.643 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008795/0.624, allocations: 5.561 MB / 0.6484 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002447/0.6265, allocations: 2.21 MB / 0.6506 GB, free: 68 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003186/0.6297, allocations: 1.463 MB / 0.652 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006325/0.6303, allocations: 167.4 kB / 0.6522 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of SimCode: time 8.32e-07/0.6303, allocations: 4 kB / 0.6522 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of Templates: time 0.04097/0.6713, allocations: 19.64 MB / 0.6713 GB, free: 10.85 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches