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.001671/0.001671, allocations: 111.1 kB / 17.75 MB, free: 5.324 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.002004/0.002004, allocations: 191 kB / 18.68 MB, free: 4.398 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.516/1.516, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2411/0.2411, allocations: 44.18 MB / 336.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.83 kB / 470.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4755/0.4768, allocations: 60.82 MB / 0.5188 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009418/0.4863, allocations: 7.482 MB / 0.5261 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009172/0.4956, allocations: 3.333 MB / 0.5294 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002022/0.4976, allocations: 36.56 kB / 0.5294 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002379/0.5, allocations: 0.8012 MB / 0.5302 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004776/0.5049, allocations: 1.318 MB / 0.5315 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.5067, allocations: 0.53 MB / 0.532 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004554/0.5113, allocations: 2.567 MB / 0.5345 GB, free: 8.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001815/0.5131, allocations: 1.242 MB / 0.5357 GB, free: 8.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.5145, allocations: 0.7753 MB / 0.5365 GB, free: 7.742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001614/0.5162, allocations: 1.123 MB / 0.5376 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003382/0.5165, allocations: 138.3 kB / 0.5377 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/0.5185, allocations: 0.9445 MB / 0.5386 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.5197, allocations: 1.014 MB / 0.5396 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001447/0.5211, allocations: 1.227 MB / 0.5408 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006671/0.5278, allocations: 4.069 MB / 0.5448 GB, free: 1.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.5279, allocations: 0 / 0.5448 GB, free: 1.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.5279, allocations: 4 kB / 0.5448 GB, free: 1.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001638/0.5281, allocations: 0 / 0.5448 GB, free: 1.426 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.008783/0.5369, allocations: 2.957 MB / 0.5477 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.5369, allocations: 8.031 kB / 0.5477 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006194/0.5431, allocations: 1.651 MB / 0.5493 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00283/0.546, allocations: 1.351 MB / 0.5506 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.5461, allocations: 123.4 kB / 0.5507 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000418/0.5466, allocations: 167.9 kB / 0.5509 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01077/0.5573, allocations: 6.46 MB / 0.5572 GB, free: 4.074 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-05/0.5575, allocations: 31.69 kB / 0.5572 GB, free: 4.043 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002887/0.5578, allocations: 83.89 kB / 0.5573 GB, free: 3.961 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002575/0.5603, allocations: 1.441 MB / 0.5587 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/0.5716, allocations: 5.724 MB / 0.5643 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0352/0.6069, allocations: 26.72 MB / 0.5904 GB, free: 1.207 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004682/0.6116, allocations: 2.133 MB / 0.5925 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00139/0.6131, allocations: 1.05 MB / 0.5935 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/0.6133, allocations: 174.5 kB / 0.5937 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/0.6134, allocations: 51.03 kB / 0.5937 GB, free: 13.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.918e-06/0.6134, allocations: 7.938 kB / 0.5938 GB, free: 13.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01578/0.6292, allocations: 6.362 MB / 0.6 GB, free: 7.199 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.6293, allocations: 144.9 kB / 0.6001 GB, free: 7.027 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003962/0.6333, allocations: 2.885 MB / 0.6029 GB, free: 4.129 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001565/0.6335, allocations: 41.7 kB / 0.603 GB, free: 4.082 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00168/0.6352, allocations: 2.106 MB / 0.605 GB, free: 1.945 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004495/0.6356, allocations: 458.4 kB / 0.6055 GB, free: 1.492 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001148/0.6368, allocations: 0.8927 MB / 0.6063 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.6369, allocations: 301.1 kB / 0.6066 GB, free: 296 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.639, allocations: 1.434 MB / 0.608 GB, free: 14.85 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004193/0.6432, allocations: 4.299 MB / 0.6122 GB, free: 9.098 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007074/0.6503, allocations: 6.199 MB / 0.6183 GB, free: 1.465 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.319e-05/0.6504, allocations: 28 kB / 0.6183 GB, free: 1.438 MB / 478.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01036/0.6607, allocations: 5.505 MB / 0.6237 GB, free: 11.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.85e-05/0.6608, allocations: 53.66 kB / 0.6237 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000124/0.661, allocations: 104.8 kB / 0.6238 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001263/0.6611, allocations: 136.3 kB / 0.6239 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004264/0.6654, allocations: 1.236 MB / 0.6252 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000189/0.6656, allocations: 203.2 kB / 0.6253 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003378/0.669, allocations: 243.5 kB / 0.6256 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005689/0.6695, allocations: 284 kB / 0.6259 GB, free: 9.688 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.002325/0.6719, allocations: 1.388 MB / 0.6272 GB, free: 8.285 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005243/0.6724, allocations: 240.9 kB / 0.6274 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/0.6749, allocations: 1.237 MB / 0.6286 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.649e-05/0.6749, allocations: 12 kB / 0.6287 GB, free: 6.785 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.144e-05/0.675, allocations: 3.938 kB / 0.6287 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.675, allocations: 7.984 kB / 0.6287 GB, free: 6.773 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008262/0.6833, allocations: 4.555 MB / 0.6331 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.6833, allocations: 4 kB / 0.6331 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001901/0.6852, allocations: 363.3 kB / 0.6335 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.384e-05/0.6852, allocations: 8 kB / 0.6335 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.042e-05/0.6853, allocations: 27.98 kB / 0.6335 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/0.6853, allocations: 11.94 kB / 0.6335 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.6854, allocations: 8.344 kB / 0.6335 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003052/0.6884, allocations: 2.166 MB / 0.6356 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007169/0.6892, allocations: 309.8 kB / 0.6359 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002352/0.6894, allocations: 20 kB / 0.6359 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009136/0.6903, allocations: 55.92 kB / 0.636 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.6905, allocations: 67.8 kB / 0.6361 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.381e-05/0.6906, allocations: 40 kB / 0.6361 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002908/0.6935, allocations: 1.811 MB / 0.6379 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6935, allocations: 3.938 kB / 0.6379 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00363/0.6971, allocations: 0.6328 MB / 0.6385 GB, free: 12.5 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.0004158/0.6976, allocations: 155 kB / 0.6386 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005494/0.7031, allocations: 3.288 MB / 0.6419 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.7031, allocations: 8.188 kB / 0.6419 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.7042, allocations: 0.7843 MB / 0.6426 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.706, allocations: 274.9 kB / 0.6429 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009451/0.7154, allocations: 5.562 MB / 0.6483 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00213/0.7176, allocations: 2.206 MB / 0.6505 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003345/0.721, allocations: 1.459 MB / 0.6519 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005234/0.7215, allocations: 179.3 kB / 0.6521 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of SimCode: time 1.153e-06/0.7215, allocations: 0 / 0.6521 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of Templates: time 0.04086/0.7624, allocations: 18.15 MB / 0.6698 GB, free: 12.4 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