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.001055/0.001055, allocations: 106 kB / 17.09 MB, free: 5.984 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.001016/0.001016, allocations: 195.3 kB / 18.02 MB, free: 5.07 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.319/1.319, allocations: 205.1 MB / 223.9 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.2055/0.2055, allocations: 43.53 MB / 314.8 MB, free: 464 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.001598/0.001598, allocations: 69.45 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1105, allocations: 57.78 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008604/0.1191, allocations: 7.506 MB / 0.4958 GB, free: 4.285 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006284/0.1254, allocations: 3.338 MB / 0.4991 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.1266, allocations: 35.88 kB / 0.4991 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002044/0.1287, allocations: 0.8015 MB / 0.4999 GB, free: 100 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003294/0.132, allocations: 1.323 MB / 0.5012 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.1332, allocations: 0.5262 MB / 0.5017 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003085/0.1363, allocations: 2.578 MB / 0.5042 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/0.1378, allocations: 1.241 MB / 0.5055 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.1389, allocations: 0.7822 MB / 0.5062 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.1404, allocations: 1.129 MB / 0.5073 GB, free: 8.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000275/0.1407, allocations: 144 kB / 0.5075 GB, free: 8.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.1422, allocations: 0.9321 MB / 0.5084 GB, free: 7.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008062/0.1431, allocations: 1.028 MB / 0.5094 GB, free: 6.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009691/0.144, allocations: 1.219 MB / 0.5106 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00376/0.1478, allocations: 4.063 MB / 0.5145 GB, free: 1.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1478, allocations: 0 / 0.5145 GB, free: 1.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1478, allocations: 0 / 0.5145 GB, free: 1.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.764e-05/0.1479, allocations: 4 kB / 0.5145 GB, free: 1.07 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.004415/0.1523, allocations: 2.968 MB / 0.5174 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1524, allocations: 11.89 kB / 0.5175 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005637/0.158, allocations: 1.651 MB / 0.5191 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/0.1607, allocations: 1.394 MB / 0.5204 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.1608, allocations: 123.4 kB / 0.5205 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003891/0.1612, allocations: 171.9 kB / 0.5207 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009511/0.1707, allocations: 6.456 MB / 0.527 GB, free: 3.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-05/0.1708, allocations: 27.75 kB / 0.527 GB, free: 3.633 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002233/0.171, allocations: 87.89 kB / 0.5271 GB, free: 3.547 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002356/0.1734, allocations: 1.437 MB / 0.5285 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.264/0.4374, allocations: 5.726 MB / 0.5341 GB, free: 35.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03075/0.4682, allocations: 26.73 MB / 0.5602 GB, free: 16.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003989/0.4722, allocations: 2.138 MB / 0.5623 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.4736, allocations: 1.036 MB / 0.5633 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/0.4738, allocations: 182.5 kB / 0.5635 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.4738, allocations: 45.97 kB / 0.5635 GB, free: 15.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 5.31e-06/0.4738, allocations: 1.219 kB / 0.5635 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=112): time 0.01548/0.4893, allocations: 6.393 MB / 0.5698 GB, free: 11.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.4894, allocations: 148.8 kB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003191/0.4926, allocations: 2.898 MB / 0.5728 GB, free: 10.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.358e-05/0.4926, allocations: 41.55 kB / 0.5728 GB, free: 10.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008163/0.4935, allocations: 2.108 MB / 0.5748 GB, free: 8.285 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/0.4937, allocations: 447.8 kB / 0.5753 GB, free: 7.922 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007719/0.4945, allocations: 0.9025 MB / 0.5762 GB, free: 7.406 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.925e-05/0.4946, allocations: 301.1 kB / 0.5764 GB, free: 7.109 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.4962, allocations: 1.431 MB / 0.5778 GB, free: 6.438 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/0.4987, allocations: 4.309 MB / 0.5821 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006049/0.5047, allocations: 6.192 MB / 0.5881 GB, free: 9.223 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.046e-05/0.5048, allocations: 35.94 kB / 0.5881 GB, free: 9.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.00789/0.5127, allocations: 5.508 MB / 0.5935 GB, free: 3.672 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.97e-05/0.5128, allocations: 48 kB / 0.5936 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.393e-05/0.5129, allocations: 104 kB / 0.5937 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001148/0.513, allocations: 132 kB / 0.5938 GB, free: 3.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003725/0.5167, allocations: 1.228 MB / 0.595 GB, free: 2.164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001713/0.5169, allocations: 199.2 kB / 0.5952 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002727/0.5196, allocations: 245.5 kB / 0.5954 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003122/0.52, allocations: 280 kB / 0.5957 GB, free: 1.457 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.001829/0.5218, allocations: 1.391 MB / 0.597 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004079/0.5222, allocations: 240.9 kB / 0.5973 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/0.5242, allocations: 1.242 MB / 0.5985 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.5243, allocations: 8.734 kB / 0.5985 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5243, allocations: 3.938 kB / 0.5985 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000643/0.5249, allocations: 445.8 kB / 0.5989 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/0.5252, allocations: 19.52 kB / 0.5989 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000791/0.526, allocations: 55.92 kB / 0.599 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.5261, allocations: 56.3 kB / 0.599 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003328/0.5295, allocations: 2.06 MB / 0.601 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002316/0.5318, allocations: 2.095 MB / 0.6031 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008549/0.5327, allocations: 0.7448 MB / 0.6038 GB, free: 9.066 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002365/0.535, allocations: 1.81 MB / 0.6056 GB, free: 7.25 MB / 446.1 MB Notification: Performance of Backend: time 6.32e-07/0.535, allocations: 4 kB / 0.6056 GB, free: 7.246 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005411/0.5405, allocations: 2.836 MB / 0.6084 GB, free: 4.465 MB / 446.1 MB Notification: Performance of SimCode: time 0.007868/0.5483, allocations: 5.622 MB / 0.6139 GB, free: 14.8 MB / 462.1 MB Notification: Performance of Templates: time 0.05332/0.6017, allocations: 28.58 MB / 0.6418 GB, free: 2.332 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