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.001082/0.001082, allocations: 177 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 223.2 MB / 241 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008069/0.0008069, allocations: 84.72 kB / 292.2 MB, free: 10.9 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.3001/0.3001, allocations: 44.23 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002986, allocations: 8 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2891, allocations: 61.89 MB / 0.5096 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1118/0.4009, allocations: 97.6 MB / 0.6049 GB, free: 13.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.4011, allocations: 75.97 kB / 0.6049 GB, free: 13.42 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5416/0.9427, allocations: 141.3 MB / 0.743 GB, free: 89.69 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.9428, allocations: 7.219 kB / 0.743 GB, free: 89.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000263/0.943, allocations: 117.4 kB / 0.7431 GB, free: 89.68 MB / 490.7 MB 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.01924/0.9623, allocations: 6.278 MB / 0.7492 GB, free: 86.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.25e-05/0.9624, allocations: 11.44 kB / 0.7492 GB, free: 86.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02605/0.9884, allocations: 6.538 MB / 0.7556 GB, free: 84.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/1, allocations: 4.296 MB / 0.7598 GB, free: 82.42 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006019/1.001, allocations: 0.5018 MB / 0.7603 GB, free: 82.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004095/1.005, allocations: 0.656 MB / 0.7609 GB, free: 82.08 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04128/1.047, allocations: 18.13 MB / 0.7786 GB, free: 66.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003508/1.047, allocations: 39.62 kB / 0.7787 GB, free: 66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003525/1.051, allocations: 317.6 kB / 0.779 GB, free: 65.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002961/1.053, allocations: 2.152 MB / 0.7811 GB, free: 63.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03099/1.084, allocations: 17.5 MB / 0.7982 GB, free: 46.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09439/1.179, allocations: 61.83 MB / 0.8585 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01502/1.194, allocations: 8.43 MB / 0.8668 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2752/1.469, allocations: 11.84 MB / 0.8783 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/1.469, allocations: 56.75 kB / 0.8784 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=321): time 7.043e-06/1.469, allocations: 0 / 0.8784 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=321): time 0.01641/1.486, allocations: 8.547 MB / 0.8867 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/1.486, allocations: 101.8 kB / 0.8868 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008695/1.495, allocations: 5.016 MB / 0.8917 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000702/1.495, allocations: 60.89 kB / 0.8918 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003925/1.499, allocations: 5.099 MB / 0.8968 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001566/1.501, allocations: 1.201 MB / 0.8979 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004999/1.501, allocations: 181.6 kB / 0.8981 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004727/1.502, allocations: 0.7106 MB / 0.8988 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00414/1.506, allocations: 3.092 MB / 0.9018 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006021/1.512, allocations: 8.452 MB / 0.9101 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007782/1.52, allocations: 5.187 MB / 0.9151 GB, free: 98.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001877/1.52, allocations: 54.84 kB / 0.9152 GB, free: 98.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.0173/1.537, allocations: 11.36 MB / 0.9263 GB, free: 95.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002907/1.538, allocations: 87.66 kB / 0.9264 GB, free: 95.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00043/1.538, allocations: 187.1 kB / 0.9266 GB, free: 95.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003964/1.539, allocations: 279.4 kB / 0.9268 GB, free: 95.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007574/1.546, allocations: 2.074 MB / 0.9288 GB, free: 94.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005312/1.547, allocations: 374.3 kB / 0.9292 GB, free: 94.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007789/1.554, allocations: 1.298 MB / 0.9305 GB, free: 93.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001778/1.556, allocations: 0.5377 MB / 0.931 GB, free: 93.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 863 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1135): * Single equations (assignments): 1123 * 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.008288/1.565, allocations: 3.699 MB / 0.9346 GB, free: 92.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/1.566, allocations: 489.9 kB / 0.9351 GB, free: 92 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00195/1.568, allocations: 0.6571 MB / 0.9357 GB, free: 91.62 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.395e-05/1.568, allocations: 60.91 kB / 0.9358 GB, free: 91.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.438e-05/1.568, allocations: 0.5625 kB / 0.9358 GB, free: 91.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-05/1.568, allocations: 13.95 kB / 0.9358 GB, free: 91.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02748/1.595, allocations: 12.66 MB / 0.9481 GB, free: 86.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-05/1.595, allocations: 14.53 kB / 0.9482 GB, free: 86.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/1.597, allocations: 424.8 kB / 0.9486 GB, free: 86.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.894e-05/1.597, allocations: 21.69 kB / 0.9486 GB, free: 86.92 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003734/1.598, allocations: 66.89 kB / 0.9486 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.22e-05/1.598, allocations: 39.95 kB / 0.9487 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/1.598, allocations: 18.12 kB / 0.9487 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005867/1.604, allocations: 6.577 MB / 0.9551 GB, free: 82.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/1.605, allocations: 0.5869 MB / 0.9557 GB, free: 82.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009604/1.606, allocations: 57.78 kB / 0.9558 GB, free: 82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001971/1.608, allocations: 129.8 kB / 0.9559 GB, free: 81.97 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/1.608, allocations: 179 kB / 0.956 GB, free: 81.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001978/1.608, allocations: 101.5 kB / 0.9561 GB, free: 81.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00591/1.614, allocations: 3.457 MB / 0.9595 GB, free: 80.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.51e-07/1.614, allocations: 0 / 0.9595 GB, free: 80.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008532/1.623, allocations: 1.99 MB / 0.9615 GB, free: 80.23 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (225): * Single equations (assignments): 213 * 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.0007848/1.624, allocations: 203.1 kB / 0.9617 GB, free: 80.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01135/1.635, allocations: 7.122 MB / 0.9686 GB, free: 73.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/1.635, allocations: 0 / 0.9686 GB, free: 73.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002987/1.638, allocations: 2.001 MB / 0.9706 GB, free: 72 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003399/1.642, allocations: 0.573 MB / 0.9711 GB, free: 71.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03434/1.676, allocations: 18.42 MB / 0.9891 GB, free: 54.29 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009845/1.686, allocations: 5.576 MB / 0.9946 GB, free: 50.12 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01024/1.696, allocations: 3.662 MB / 0.9981 GB, free: 47.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001669/1.698, allocations: 376 kB / 0.9985 GB, free: 47.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.883e-06/1.698, allocations: 0 / 0.9985 GB, free: 47.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.07951/1.777, allocations: 43.09 MB / 1.041 GB, free: 11.79 MB / 0.5105 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