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.001552/0.001552, allocations: 115.8 kB / 17.05 MB, free: 6.035 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.001652/0.001652, allocations: 192.5 kB / 17.98 MB, free: 5.121 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.4/1.4, allocations: 205.1 MB / 223.8 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.2077/0.2077, allocations: 43.52 MB / 314.7 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.001587/0.001587, allocations: 65.47 kB / 442.4 MB, free: 5.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1255, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01007/0.1356, allocations: 7.5 MB / 0.4958 GB, free: 4.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006983/0.1426, allocations: 3.341 MB / 0.4991 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.1441, allocations: 31.94 kB / 0.4991 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002367/0.1465, allocations: 0.8053 MB / 0.4999 GB, free: 104 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00401/0.1506, allocations: 1.315 MB / 0.5012 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.1522, allocations: 0.5262 MB / 0.5017 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004104/0.1563, allocations: 2.586 MB / 0.5042 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002354/0.1587, allocations: 1.241 MB / 0.5054 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.1604, allocations: 0.7744 MB / 0.5062 GB, free: 9.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.1623, allocations: 1.137 MB / 0.5073 GB, free: 8.488 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000547/0.1629, allocations: 140 kB / 0.5074 GB, free: 8.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002086/0.165, allocations: 0.9321 MB / 0.5083 GB, free: 7.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001202/0.1662, allocations: 1.021 MB / 0.5093 GB, free: 6.395 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001359/0.1676, allocations: 1.223 MB / 0.5105 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004448/0.172, allocations: 4.063 MB / 0.5145 GB, free: 1.086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1721, allocations: 3.938 kB / 0.5145 GB, free: 1.082 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1721, allocations: 4 kB / 0.5145 GB, free: 1.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.615e-05/0.1722, allocations: 0 / 0.5145 GB, free: 1.078 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.005621/0.1778, allocations: 2.965 MB / 0.5174 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1778, allocations: 11.89 kB / 0.5174 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005788/0.1836, allocations: 1.651 MB / 0.519 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/0.1862, allocations: 1.402 MB / 0.5204 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.1863, allocations: 119.4 kB / 0.5205 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003869/0.1867, allocations: 167.9 kB / 0.5206 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008993/0.1957, allocations: 6.464 MB / 0.527 GB, free: 3.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.924e-05/0.1958, allocations: 31.73 kB / 0.527 GB, free: 3.629 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002408/0.1961, allocations: 83.89 kB / 0.5271 GB, free: 3.547 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002402/0.1985, allocations: 1.433 MB / 0.5285 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2915/0.49, allocations: 5.725 MB / 0.5341 GB, free: 35.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03259/0.5226, allocations: 26.72 MB / 0.5602 GB, free: 16.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004489/0.5272, allocations: 2.139 MB / 0.5622 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.5286, allocations: 1.041 MB / 0.5633 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001863/0.5288, allocations: 179.8 kB / 0.5634 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.5288, allocations: 55.08 kB / 0.5635 GB, free: 15.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 4.389e-06/0.5289, allocations: 0 / 0.5635 GB, free: 15.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=112): time 0.0159/0.5448, allocations: 6.388 MB / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.5449, allocations: 148.6 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003622/0.5485, allocations: 2.897 MB / 0.5727 GB, free: 10.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.5486, allocations: 40.98 kB / 0.5727 GB, free: 10.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009657/0.5496, allocations: 2.106 MB / 0.5748 GB, free: 8.324 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/0.5499, allocations: 458.8 kB / 0.5752 GB, free: 7.957 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008582/0.5508, allocations: 0.8952 MB / 0.5761 GB, free: 7.445 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.637e-05/0.5508, allocations: 301.1 kB / 0.5764 GB, free: 7.148 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/0.5525, allocations: 1.431 MB / 0.5778 GB, free: 6.477 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002832/0.5554, allocations: 4.304 MB / 0.582 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007344/0.5627, allocations: 6.196 MB / 0.588 GB, free: 9.219 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.398e-05/0.5629, allocations: 28 kB / 0.5881 GB, free: 9.191 MB / 430.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01014/0.573, allocations: 5.513 MB / 0.5934 GB, free: 3.672 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.877e-05/0.5731, allocations: 51.94 kB / 0.5935 GB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001071/0.5732, allocations: 104 kB / 0.5936 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001242/0.5734, allocations: 132 kB / 0.5937 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004076/0.5774, allocations: 1.228 MB / 0.5949 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001611/0.5776, allocations: 199.2 kB / 0.5951 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003431/0.5811, allocations: 247.5 kB / 0.5953 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005134/0.5816, allocations: 287.8 kB / 0.5956 GB, free: 1.449 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.002296/0.5839, allocations: 1.387 MB / 0.597 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005999/0.5845, allocations: 241.9 kB / 0.5972 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.5866, allocations: 1.237 MB / 0.5984 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.383e-05/0.5867, allocations: 12 kB / 0.5984 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.5867, allocations: 8 kB / 0.5984 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.5867, allocations: 3.984 kB / 0.5984 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0086/0.5953, allocations: 4.558 MB / 0.6029 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.5954, allocations: 8 kB / 0.6029 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001937/0.5973, allocations: 367.8 kB / 0.6032 GB, free: 9.527 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-05/0.5973, allocations: 8 kB / 0.6033 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/0.5975, allocations: 27.44 kB / 0.6033 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.91e-05/0.5975, allocations: 15.92 kB / 0.6033 GB, free: 9.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.5975, allocations: 4 kB / 0.6033 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00316/0.6007, allocations: 2.151 MB / 0.6054 GB, free: 7.258 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001328/0.602, allocations: 465.7 kB / 0.6058 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007082/0.6027, allocations: 23.98 kB / 0.6059 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.6042, allocations: 51.94 kB / 0.6059 GB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/0.6044, allocations: 67.8 kB / 0.606 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.6045, allocations: 39.98 kB / 0.606 GB, free: 6.602 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003627/0.6081, allocations: 1.827 MB / 0.6078 GB, free: 4.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6082, allocations: 3.938 kB / 0.6078 GB, free: 4.766 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004636/0.6128, allocations: 0.6334 MB / 0.6084 GB, free: 4.141 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.0006087/0.6134, allocations: 151.6 kB / 0.6086 GB, free: 3.992 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006175/0.6196, allocations: 3.285 MB / 0.6118 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/0.6197, allocations: 0 / 0.6118 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.6209, allocations: 0.7948 MB / 0.6126 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/0.6236, allocations: 274.8 kB / 0.6128 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.6345, allocations: 5.837 MB / 0.6185 GB, free: 9.746 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002451/0.637, allocations: 2.209 MB / 0.6207 GB, free: 7.512 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009139/0.6379, allocations: 211.4 kB / 0.6209 GB, free: 7.309 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6379, allocations: 0 / 0.6209 GB, free: 7.309 MB / 462.1 MB Notification: Performance of Templates: time 0.06702/0.7049, allocations: 37.28 MB / 0.6573 GB, free: 2.012 MB / 494.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