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.001885/0.001885, allocations: 104.3 kB / 16.4 MB, free: 6.453 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.001517/0.001517, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.525/1.525, allocations: 205.1 MB / 223.2 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.2235/0.2235, allocations: 43.52 MB / 314.1 MB, free: 456 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.001545/0.001545, allocations: 65.45 kB / 441.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1566, allocations: 57.78 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01164/0.1683, allocations: 7.507 MB / 0.4952 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007872/0.1762, allocations: 3.337 MB / 0.4984 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.1774, allocations: 35.88 kB / 0.4985 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.1793, allocations: 0.8054 MB / 0.4993 GB, free: 88 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003583/0.183, allocations: 1.343 MB / 0.5006 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.1843, allocations: 0.5223 MB / 0.5011 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003437/0.1878, allocations: 2.582 MB / 0.5036 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/0.1898, allocations: 1.237 MB / 0.5048 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.1911, allocations: 0.7939 MB / 0.5056 GB, free: 9.578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.1925, allocations: 1.121 MB / 0.5067 GB, free: 8.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003019/0.1928, allocations: 144 kB / 0.5068 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001701/0.1945, allocations: 0.9399 MB / 0.5077 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.1956, allocations: 1.021 MB / 0.5087 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.1968, allocations: 1.227 MB / 0.5099 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004751/0.2016, allocations: 4.063 MB / 0.5139 GB, free: 1.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2016, allocations: 0 / 0.5139 GB, free: 1.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2016, allocations: 0 / 0.5139 GB, free: 1.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.445e-05/0.2017, allocations: 0 / 0.5139 GB, free: 1.035 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.005586/0.2073, allocations: 2.961 MB / 0.5168 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.2073, allocations: 11.89 kB / 0.5168 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005708/0.213, allocations: 1.655 MB / 0.5184 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/0.216, allocations: 1.398 MB / 0.5198 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.2161, allocations: 123.4 kB / 0.5199 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000338/0.2165, allocations: 164 kB / 0.5201 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.2268, allocations: 6.46 MB / 0.5264 GB, free: 3.621 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.193e-05/0.2269, allocations: 35.69 kB / 0.5264 GB, free: 3.586 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002683/0.2272, allocations: 87.88 kB / 0.5265 GB, free: 3.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002499/0.2297, allocations: 1.437 MB / 0.5279 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3819/0.6116, allocations: 5.722 MB / 0.5335 GB, free: 35.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03609/0.6477, allocations: 26.72 MB / 0.5596 GB, free: 16.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004003/0.6518, allocations: 2.149 MB / 0.5617 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.6531, allocations: 1.035 MB / 0.5627 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/0.6532, allocations: 183.3 kB / 0.5629 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.6533, allocations: 45.59 kB / 0.5629 GB, free: 15.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 4.518e-06/0.6533, allocations: 0 / 0.5629 GB, free: 15.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=112): time 0.01416/0.6675, allocations: 6.394 MB / 0.5691 GB, free: 11.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.6675, allocations: 144.8 kB / 0.5693 GB, free: 11.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003536/0.6711, allocations: 2.897 MB / 0.5721 GB, free: 10.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.719e-05/0.6712, allocations: 44.36 kB / 0.5722 GB, free: 10.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009686/0.6722, allocations: 2.106 MB / 0.5742 GB, free: 8.348 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/0.6725, allocations: 455.9 kB / 0.5746 GB, free: 7.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008694/0.6733, allocations: 0.887 MB / 0.5755 GB, free: 7.473 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.6734, allocations: 303.1 kB / 0.5758 GB, free: 7.176 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.675, allocations: 1.432 MB / 0.5772 GB, free: 6.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002744/0.6778, allocations: 4.308 MB / 0.5814 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006997/0.6848, allocations: 6.205 MB / 0.5875 GB, free: 9.176 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.56e-05/0.6849, allocations: 28 kB / 0.5875 GB, free: 9.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009247/0.6941, allocations: 5.507 MB / 0.5929 GB, free: 3.637 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.249e-05/0.6942, allocations: 48 kB / 0.5929 GB, free: 3.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/0.6943, allocations: 104 kB / 0.593 GB, free: 3.488 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001282/0.6945, allocations: 137.6 kB / 0.5931 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004055/0.6985, allocations: 1.228 MB / 0.5943 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002082/0.6988, allocations: 199.6 kB / 0.5945 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00339/0.7022, allocations: 239.6 kB / 0.5948 GB, free: 1.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000396/0.7026, allocations: 284 kB / 0.595 GB, free: 1.418 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.002384/0.705, allocations: 1.388 MB / 0.5964 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005649/0.7055, allocations: 244.8 kB / 0.5966 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.7077, allocations: 1.242 MB / 0.5978 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.595e-05/0.7077, allocations: 12 kB / 0.5978 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/0.7077, allocations: 4 kB / 0.5979 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.7078, allocations: 7.922 kB / 0.5979 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008373/0.7161, allocations: 4.549 MB / 0.6023 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.7162, allocations: 8 kB / 0.6023 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/0.7179, allocations: 375.3 kB / 0.6027 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.287e-05/0.7179, allocations: 8 kB / 0.6027 GB, free: 9.484 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.262e-05/0.718, allocations: 24.56 kB / 0.6027 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.417e-05/0.718, allocations: 8 kB / 0.6027 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/0.7181, allocations: 12.48 kB / 0.6027 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00284/0.7209, allocations: 2.159 MB / 0.6048 GB, free: 7.215 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009508/0.7219, allocations: 453.7 kB / 0.6053 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/0.7221, allocations: 29.44 kB / 0.6053 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008649/0.723, allocations: 59.86 kB / 0.6053 GB, free: 6.668 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.7231, allocations: 71.8 kB / 0.6054 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.561e-05/0.7232, allocations: 32.28 kB / 0.6054 GB, free: 6.566 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003063/0.7263, allocations: 1.827 MB / 0.6072 GB, free: 4.734 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7263, allocations: 0 / 0.6072 GB, free: 4.734 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003926/0.7303, allocations: 0.6351 MB / 0.6078 GB, free: 4.105 MB / 446.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.0003984/0.7307, allocations: 153 kB / 0.608 GB, free: 3.953 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005491/0.7362, allocations: 3.277 MB / 0.6112 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.7362, allocations: 0 / 0.6112 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.7373, allocations: 0.8048 MB / 0.612 GB, free: 15.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/0.739, allocations: 265.1 kB / 0.6122 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009812/0.7489, allocations: 5.57 MB / 0.6177 GB, free: 9.984 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00236/0.7513, allocations: 2.214 MB / 0.6198 GB, free: 7.742 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003333/0.7546, allocations: 1.461 MB / 0.6213 GB, free: 6.277 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000505/0.7551, allocations: 175.4 kB / 0.6214 GB, free: 6.109 MB / 462.1 MB Notification: Performance of SimCode: time 1.512e-06/0.7551, allocations: 0 / 0.6214 GB, free: 6.109 MB / 462.1 MB Notification: Performance of Templates: time 0.04185/0.797, allocations: 19.7 MB / 0.6407 GB, free: 2.508 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches