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.00138/0.00138, allocations: 116.9 kB / 17.08 MB, free: 6.012 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.001433/0.001433, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.384/1.384, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2128/0.2128, allocations: 43.53 MB / 314.8 MB, free: 460 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.001492/0.001492, allocations: 64.28 kB / 442.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1146, allocations: 57.8 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009153/0.1238, allocations: 7.508 MB / 0.4958 GB, free: 4.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006728/0.1306, allocations: 3.334 MB / 0.4991 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.1319, allocations: 31.94 kB / 0.4991 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002314/0.1343, allocations: 0.8015 MB / 0.4999 GB, free: 100 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003685/0.138, allocations: 1.323 MB / 0.5012 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.1396, allocations: 0.5223 MB / 0.5017 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004682/0.1443, allocations: 2.582 MB / 0.5042 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002395/0.1468, allocations: 1.237 MB / 0.5054 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.1485, allocations: 0.7939 MB / 0.5062 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/0.1505, allocations: 1.129 MB / 0.5073 GB, free: 8.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006582/0.1511, allocations: 140 kB / 0.5075 GB, free: 8.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002348/0.1535, allocations: 0.9321 MB / 0.5084 GB, free: 7.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001407/0.1549, allocations: 1.021 MB / 0.5094 GB, free: 6.383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00228/0.1572, allocations: 1.227 MB / 0.5106 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006169/0.1634, allocations: 4.063 MB / 0.5145 GB, free: 1.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1635, allocations: 4 kB / 0.5145 GB, free: 1.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1635, allocations: 0 / 0.5145 GB, free: 1.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001772/0.1637, allocations: 4 kB / 0.5145 GB, free: 1.062 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.00728/0.171, allocations: 2.953 MB / 0.5174 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.171, allocations: 15.89 kB / 0.5174 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006408/0.1774, allocations: 1.654 MB / 0.5191 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0034/0.1809, allocations: 1.394 MB / 0.5204 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.1811, allocations: 123.4 kB / 0.5205 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008149/0.1819, allocations: 164 kB / 0.5207 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01231/0.1942, allocations: 6.46 MB / 0.527 GB, free: 3.656 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001222/0.1944, allocations: 31.73 kB / 0.527 GB, free: 3.625 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005727/0.195, allocations: 91.83 kB / 0.5271 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002756/0.1977, allocations: 1.437 MB / 0.5285 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2715/0.4692, allocations: 5.723 MB / 0.5341 GB, free: 35.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03414/0.5034, allocations: 26.72 MB / 0.5602 GB, free: 16.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004318/0.5078, allocations: 2.141 MB / 0.5623 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.5093, allocations: 1.043 MB / 0.5633 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.5096, allocations: 188 kB / 0.5635 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.5096, allocations: 39.3 kB / 0.5635 GB, free: 15.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 4.058e-06/0.5096, allocations: 0 / 0.5635 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=112): time 0.01729/0.5269, allocations: 6.397 MB / 0.5698 GB, free: 11.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.527, allocations: 144.6 kB / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004766/0.5318, allocations: 2.901 MB / 0.5727 GB, free: 10.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002009/0.532, allocations: 41.48 kB / 0.5728 GB, free: 10.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.5332, allocations: 2.109 MB / 0.5748 GB, free: 8.297 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005056/0.5337, allocations: 452.9 kB / 0.5753 GB, free: 7.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001535/0.5352, allocations: 0.8906 MB / 0.5761 GB, free: 7.422 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.404e-05/0.5353, allocations: 305.1 kB / 0.5764 GB, free: 7.121 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002149/0.5375, allocations: 1.429 MB / 0.5778 GB, free: 6.453 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002845/0.5403, allocations: 4.304 MB / 0.582 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00681/0.5472, allocations: 6.201 MB / 0.5881 GB, free: 9.203 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-05/0.5473, allocations: 28 kB / 0.5881 GB, free: 9.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01053/0.5579, allocations: 5.515 MB / 0.5935 GB, free: 3.652 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.558, allocations: 48 kB / 0.5935 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001702/0.5582, allocations: 100 kB / 0.5936 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001628/0.5584, allocations: 136 kB / 0.5938 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004461/0.5628, allocations: 1.224 MB / 0.595 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002039/0.5631, allocations: 203.2 kB / 0.5952 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003451/0.5665, allocations: 245.1 kB / 0.5954 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006866/0.5672, allocations: 280 kB / 0.5957 GB, free: 1.441 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.00263/0.5699, allocations: 1.398 MB / 0.597 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006468/0.5705, allocations: 240.9 kB / 0.5973 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/0.5729, allocations: 1.234 MB / 0.5985 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.993e-05/0.573, allocations: 16 kB / 0.5985 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.573, allocations: 4 kB / 0.5985 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.573, allocations: 7.922 kB / 0.5985 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009045/0.5821, allocations: 4.551 MB / 0.6029 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.409e-05/0.5821, allocations: 7.938 kB / 0.6029 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001915/0.5841, allocations: 371.9 kB / 0.6033 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.717e-05/0.5841, allocations: 8 kB / 0.6033 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.5842, allocations: 23.36 kB / 0.6033 GB, free: 9.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.346e-05/0.5842, allocations: 11.94 kB / 0.6033 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.5842, allocations: 8 kB / 0.6033 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/0.587, allocations: 2.159 MB / 0.6055 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/0.5882, allocations: 465.7 kB / 0.6059 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005605/0.5888, allocations: 16.84 kB / 0.6059 GB, free: 6.746 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.5901, allocations: 59.92 kB / 0.606 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.5903, allocations: 63.8 kB / 0.606 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.01e-05/0.5903, allocations: 40 kB / 0.6061 GB, free: 6.586 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003459/0.5938, allocations: 1.827 MB / 0.6079 GB, free: 4.754 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5938, allocations: 0 / 0.6079 GB, free: 4.754 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0037/0.5975, allocations: 0.6355 MB / 0.6085 GB, free: 4.129 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.0004734/0.598, allocations: 149.5 kB / 0.6086 GB, free: 3.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00525/0.6033, allocations: 3.29 MB / 0.6118 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/0.6033, allocations: 0 / 0.6118 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.6045, allocations: 0.7982 MB / 0.6126 GB, free: 15.91 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/0.607, allocations: 265.3 kB / 0.6129 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.618, allocations: 5.845 MB / 0.6186 GB, free: 9.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002924/0.621, allocations: 2.218 MB / 0.6207 GB, free: 7.488 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.622, allocations: 211.4 kB / 0.6209 GB, free: 7.285 MB / 462.1 MB Notification: Performance of SimCode: time 1.123e-06/0.622, allocations: 0 / 0.6209 GB, free: 7.285 MB / 462.1 MB Notification: Performance of Templates: time 0.06258/0.6846, allocations: 37.75 MB / 0.6578 GB, free: 1.512 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