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.001151/0.001151, allocations: 111.1 kB / 17.09 MB, free: 5.945 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.001126/0.001126, allocations: 199.4 kB / 18.02 MB, free: 5.031 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.41/1.41, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.2089/0.2089, allocations: 43.51 MB / 314.8 MB, free: 452 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.001464/0.001464, allocations: 69.47 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1204, allocations: 57.78 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008727/0.1292, allocations: 7.506 MB / 0.4959 GB, free: 4.246 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006359/0.1356, allocations: 3.334 MB / 0.4991 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009261/0.1365, allocations: 35.88 kB / 0.4991 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001853/0.1384, allocations: 0.7976 MB / 0.4999 GB, free: 68 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00363/0.1421, allocations: 1.354 MB / 0.5012 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.1435, allocations: 0.5223 MB / 0.5018 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00373/0.1472, allocations: 2.582 MB / 0.5043 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002117/0.1494, allocations: 1.241 MB / 0.5055 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.1509, allocations: 0.7822 MB / 0.5063 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.1528, allocations: 1.125 MB / 0.5073 GB, free: 8.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000717/0.1535, allocations: 140 kB / 0.5075 GB, free: 8.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.1558, allocations: 0.936 MB / 0.5084 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001276/0.1571, allocations: 1.024 MB / 0.5094 GB, free: 6.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001911/0.1591, allocations: 1.223 MB / 0.5106 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005362/0.1644, allocations: 4.063 MB / 0.5146 GB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1645, allocations: 0 / 0.5146 GB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1645, allocations: 4 kB / 0.5146 GB, free: 1.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001612/0.1646, allocations: 0 / 0.5146 GB, free: 1.012 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.007942/0.1726, allocations: 2.965 MB / 0.5175 GB, free: 13.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.1726, allocations: 11.89 kB / 0.5175 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006488/0.1791, allocations: 1.651 MB / 0.5191 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003137/0.1823, allocations: 1.398 MB / 0.5204 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.1824, allocations: 123.4 kB / 0.5206 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006021/0.1831, allocations: 167.9 kB / 0.5207 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00937/0.1924, allocations: 6.456 MB / 0.527 GB, free: 3.602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.716e-05/0.1925, allocations: 35.75 kB / 0.5271 GB, free: 3.566 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002429/0.1928, allocations: 83.89 kB / 0.5271 GB, free: 3.484 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002481/0.1953, allocations: 1.437 MB / 0.5285 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2689/0.4642, allocations: 5.725 MB / 0.5341 GB, free: 36.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03183/0.496, allocations: 26.73 MB / 0.5602 GB, free: 17.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004124/0.5002, allocations: 2.139 MB / 0.5623 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.5015, allocations: 1.046 MB / 0.5633 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000183/0.5017, allocations: 176.7 kB / 0.5635 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.5018, allocations: 50.67 kB / 0.5636 GB, free: 15.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 5.941e-06/0.5018, allocations: 1.312 kB / 0.5636 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=112): time 0.01602/0.5178, allocations: 6.389 MB / 0.5698 GB, free: 12.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.5179, allocations: 145 kB / 0.5699 GB, free: 11.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004016/0.5219, allocations: 2.901 MB / 0.5728 GB, free: 10.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.5221, allocations: 36.52 kB / 0.5728 GB, free: 10.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009869/0.5231, allocations: 2.113 MB / 0.5749 GB, free: 8.574 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003532/0.5234, allocations: 449.6 kB / 0.5753 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009844/0.5244, allocations: 0.8942 MB / 0.5762 GB, free: 7.699 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.936e-05/0.5245, allocations: 301.1 kB / 0.5765 GB, free: 7.402 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001836/0.5264, allocations: 1.431 MB / 0.5779 GB, free: 6.711 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00292/0.5293, allocations: 4.306 MB / 0.5821 GB, free: 0.957 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006927/0.5362, allocations: 6.201 MB / 0.5881 GB, free: 9.324 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.391e-05/0.5363, allocations: 39.94 kB / 0.5882 GB, free: 9.285 MB / 430.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009072/0.5454, allocations: 5.504 MB / 0.5935 GB, free: 3.773 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.862e-05/0.5455, allocations: 48 kB / 0.5936 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/0.5456, allocations: 104 kB / 0.5937 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.5458, allocations: 132 kB / 0.5938 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004019/0.5498, allocations: 1.225 MB / 0.595 GB, free: 2.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000155/0.5499, allocations: 203.2 kB / 0.5952 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002889/0.5528, allocations: 243.9 kB / 0.5954 GB, free: 1.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003588/0.5532, allocations: 283.8 kB / 0.5957 GB, free: 1.559 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.002029/0.5553, allocations: 1.389 MB / 0.5971 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004708/0.5557, allocations: 241.9 kB / 0.5973 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/0.5578, allocations: 1.242 MB / 0.5985 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.5578, allocations: 11.92 kB / 0.5985 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.5579, allocations: 0 / 0.5985 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009971/0.5589, allocations: 445.8 kB / 0.5989 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002498/0.5591, allocations: 16 kB / 0.599 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008752/0.56, allocations: 55.92 kB / 0.599 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.5602, allocations: 56.3 kB / 0.5991 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003449/0.5636, allocations: 2.061 MB / 0.6011 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002395/0.566, allocations: 2.104 MB / 0.6031 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009005/0.5669, allocations: 0.7414 MB / 0.6038 GB, free: 9.164 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002745/0.5697, allocations: 1.814 MB / 0.6056 GB, free: 7.344 MB / 446.1 MB Notification: Performance of Backend: time 5.81e-07/0.5697, allocations: 0 / 0.6056 GB, free: 7.344 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005983/0.5757, allocations: 2.83 MB / 0.6084 GB, free: 4.562 MB / 446.1 MB Notification: Performance of SimCode: time 0.008869/0.5846, allocations: 5.62 MB / 0.6139 GB, free: 14.89 MB / 462.1 MB Notification: Performance of Templates: time 0.05392/0.6385, allocations: 28.66 MB / 0.6419 GB, free: 2.305 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches