Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedRotation.frame_b.r_0.1.|fixedRotation.frame_b.r_0.2.|fixedRotation.frame_b.r_0.3.|fixedRotation.frame_b.f.1.|fixedRotation.frame_b.f.2.|fixedRotation.frame_b.f.3.|fixedRotation.frame_b.t.1.|fixedRotation.frame_b.t.2.|fixedRotation.frame_b.t.3.|fixedRotation1.frame_b.r_0.1.|fixedRotation1.frame_b.r_0.2.|fixedRotation1.frame_b.r_0.3.|fixedRotation1.frame_b.f.1.|fixedRotation1.frame_b.f.2.|fixedRotation1.frame_b.f.3.|fixedRotation1.frame_b.t.1.|fixedRotation1.frame_b.t.2.|fixedRotation1.frame_b.t.3.|fixedRotation2.frame_b.r_0.1.|fixedRotation2.frame_b.r_0.2.|fixedRotation2.frame_b.r_0.3.|fixedRotation2.frame_b.f.1.|fixedRotation2.frame_b.f.2.|fixedRotation2.frame_b.f.3.|fixedRotation2.frame_b.t.1.|fixedRotation2.frame_b.t.2.|fixedRotation2.frame_b.t.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation") translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedRotation.frame_b.r_0.1.|fixedRotation.frame_b.r_0.2.|fixedRotation.frame_b.r_0.3.|fixedRotation.frame_b.f.1.|fixedRotation.frame_b.f.2.|fixedRotation.frame_b.f.3.|fixedRotation.frame_b.t.1.|fixedRotation.frame_b.t.2.|fixedRotation.frame_b.t.3.|fixedRotation1.frame_b.r_0.1.|fixedRotation1.frame_b.r_0.2.|fixedRotation1.frame_b.r_0.3.|fixedRotation1.frame_b.f.1.|fixedRotation1.frame_b.f.2.|fixedRotation1.frame_b.f.3.|fixedRotation1.frame_b.t.1.|fixedRotation1.frame_b.t.2.|fixedRotation1.frame_b.t.3.|fixedRotation2.frame_b.r_0.1.|fixedRotation2.frame_b.r_0.2.|fixedRotation2.frame_b.r_0.3.|fixedRotation2.frame_b.f.1.|fixedRotation2.frame_b.f.2.|fixedRotation2.frame_b.f.3.|fixedRotation2.frame_b.t.1.|fixedRotation2.frame_b.t.2.|fixedRotation2.frame_b.t.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 175.1 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 221.5 MB / 230.7 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000827/0.000827, allocations: 93.14 kB / 281.6 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1886/0.1886, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.602e-05/1.601e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1135, allocations: 61.92 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.393/0.5065, allocations: 96.86 MB / 0.5893 GB, free: 15.67 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.5068, allocations: 71.97 kB / 0.5893 GB, free: 15.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6058/1.113, allocations: 138.6 MB / 0.7247 GB, free: 118 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.033e-06/1.113, allocations: 0 / 0.7247 GB, free: 118 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004738/1.113, allocations: 126.8 kB / 0.7248 GB, free: 118 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.02235/1.135, allocations: 6.06 MB / 0.7308 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/1.136, allocations: 13.58 kB / 0.7308 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.029/1.165, allocations: 6.54 MB / 0.7372 GB, free: 115 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0113/1.176, allocations: 4.283 MB / 0.7413 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004041/1.176, allocations: 216.9 kB / 0.7415 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003628/1.18, allocations: 388.7 kB / 0.7419 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02068/1.201, allocations: 12.75 MB / 0.7544 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0332/1.234, allocations: 16.89 MB / 0.7709 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002666/1.234, allocations: 32.66 kB / 0.7709 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003689/1.238, allocations: 28.52 kB / 0.7709 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00289/1.241, allocations: 2.161 MB / 0.773 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07533/1.316, allocations: 59.29 MB / 0.8309 GB, free: 69.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005368/1.322, allocations: 6.137 MB / 0.8369 GB, free: 63.85 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00205/1.324, allocations: 2.043 MB / 0.8389 GB, free: 62.01 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001362/1.325, allocations: 2.287 MB / 0.8412 GB, free: 59.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/1.325, allocations: 60.5 kB / 0.8412 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=341): time 5.36e-06/1.325, allocations: 4.219 kB / 0.8412 GB, free: 59.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=341): time 0.009305/1.334, allocations: 5.075 MB / 0.8462 GB, free: 55.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/1.335, allocations: 99.11 kB / 0.8463 GB, free: 55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006133/1.341, allocations: 4.499 MB / 0.8507 GB, free: 51.08 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003763/1.341, allocations: 33.7 kB / 0.8507 GB, free: 51.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002221/1.343, allocations: 5.274 MB / 0.8558 GB, free: 46.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001313/1.345, allocations: 1.247 MB / 0.8571 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003809/1.345, allocations: 0 / 0.8571 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004517/1.345, allocations: 0.7546 MB / 0.8578 GB, free: 44.51 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003718/1.349, allocations: 3.102 MB / 0.8608 GB, free: 41.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007167/1.356, allocations: 8.943 MB / 0.8696 GB, free: 30.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008309/1.365, allocations: 5.419 MB / 0.8749 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002494/1.365, allocations: 60 kB / 0.8749 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1345) (initialization): time 0.02026/1.385, allocations: 10.85 MB / 0.8855 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001325/1.386, allocations: 97.41 kB / 0.8856 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002499/1.386, allocations: 208 kB / 0.8858 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002693/1.386, allocations: 307.9 kB / 0.8861 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007295/1.393, allocations: 2.277 MB / 0.8883 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003216/1.394, allocations: 411 kB / 0.8887 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007834/1.402, allocations: 1.135 MB / 0.8898 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002049/1.404, allocations: 0.5859 MB / 0.8904 GB, free: 9.531 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 949 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1249): * Single equations (assignments): 1237 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003162/1.407, allocations: 0.6076 MB / 0.891 GB, free: 8.914 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001248/1.408, allocations: 469.8 kB / 0.8914 GB, free: 8.449 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/1.411, allocations: 0.6318 MB / 0.892 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001177/1.411, allocations: 59.89 kB / 0.8921 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-05/1.411, allocations: 0 / 0.8921 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-05/1.411, allocations: 11.95 kB / 0.8921 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02747/1.438, allocations: 12.63 MB / 0.9044 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.839e-05/1.438, allocations: 12 kB / 0.9045 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002305/1.441, allocations: 463.2 kB / 0.9049 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-05/1.441, allocations: 24 kB / 0.9049 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004352/1.441, allocations: 26.11 kB / 0.9049 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.214e-05/1.441, allocations: 27.94 kB / 0.905 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.92e-05/1.441, allocations: 27.83 kB / 0.905 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008589/1.45, allocations: 6.535 MB / 0.9114 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/1.451, allocations: 0.549 MB / 0.9119 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001101/1.452, allocations: 19.98 kB / 0.9119 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/1.455, allocations: 87.86 kB / 0.912 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003819/1.455, allocations: 185.5 kB / 0.9122 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002648/1.455, allocations: 104 kB / 0.9123 GB, free: 2.285 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.3479/1.803, allocations: 2.931 MB / 0.9152 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.31e-07/1.803, allocations: 0 / 0.9152 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00991/1.813, allocations: 1.839 MB / 0.917 GB, free: 113.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 233 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006432/1.814, allocations: 171.9 kB / 0.9171 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01293/1.827, allocations: 7.175 MB / 0.9241 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-05/1.827, allocations: 4.781 kB / 0.9241 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003205/1.83, allocations: 2.119 MB / 0.9262 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/1.832, allocations: 364.4 kB / 0.9265 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02825/1.861, allocations: 13.01 MB / 0.9392 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01008/1.871, allocations: 5.585 MB / 0.9447 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009533/1.88, allocations: 3.961 MB / 0.9486 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/1.881, allocations: 365 kB / 0.9489 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.062e-06/1.881, allocations: 0 / 0.9489 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.06552/1.947, allocations: 36.54 MB / 0.9846 GB, free: 108.2 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches