Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 183.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008107/0.0008107, allocations: 82.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2151/0.2151, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003808, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1323, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3933/0.5256, allocations: 96.14 MB / 0.5726 GB, free: 3.797 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.526, allocations: 82.23 kB / 0.5727 GB, free: 3.754 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6124/1.138, allocations: 139.2 MB / 0.7086 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.595e-06/1.138, allocations: 0 / 0.7086 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004368/1.139, allocations: 117.4 kB / 0.7088 GB, free: 108.6 MB / 0.4948 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.03074/1.17, allocations: 6.273 MB / 0.7149 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/1.17, allocations: 9.625 kB / 0.7149 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03061/1.2, allocations: 6.542 MB / 0.7213 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01911/1.22, allocations: 4.289 MB / 0.7255 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001299/1.221, allocations: 0.5057 MB / 0.726 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005761/1.227, allocations: 0.6519 MB / 0.7266 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05192/1.279, allocations: 18.14 MB / 0.7443 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005454/1.279, allocations: 37.22 kB / 0.7443 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005599/1.285, allocations: 309.9 kB / 0.7446 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003555/1.288, allocations: 2.16 MB / 0.7468 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03756/1.326, allocations: 17.49 MB / 0.7638 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1041/1.43, allocations: 61.82 MB / 0.8242 GB, free: 62.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01489/1.445, allocations: 8.436 MB / 0.8324 GB, free: 54.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02546/1.471, allocations: 11.84 MB / 0.844 GB, free: 43.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/1.471, allocations: 64.52 kB / 0.8441 GB, free: 43.76 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=321): time 9.938e-06/1.471, allocations: 7.625 kB / 0.8441 GB, free: 43.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=321): time 0.01714/1.488, allocations: 8.541 MB / 0.8524 GB, free: 36.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/1.488, allocations: 110.2 kB / 0.8525 GB, free: 36.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0102/1.498, allocations: 5.011 MB / 0.8574 GB, free: 31.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005043/1.499, allocations: 65.53 kB / 0.8575 GB, free: 31.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003569/1.502, allocations: 5.093 MB / 0.8624 GB, free: 26.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002023/1.504, allocations: 1.206 MB / 0.8636 GB, free: 25.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001219/1.506, allocations: 176 kB / 0.8638 GB, free: 25.31 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001093/1.507, allocations: 0.7146 MB / 0.8645 GB, free: 24.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005394/1.512, allocations: 3.09 MB / 0.8675 GB, free: 21.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008478/1.521, allocations: 8.454 MB / 0.8758 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007709/1.528, allocations: 5.179 MB / 0.8808 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001997/1.529, allocations: 52 kB / 0.8809 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02409/1.553, allocations: 11.36 MB / 0.892 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002975/1.553, allocations: 88 kB / 0.892 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003892/1.553, allocations: 192 kB / 0.8922 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003759/1.554, allocations: 276 kB / 0.8925 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007482/1.561, allocations: 2.082 MB / 0.8945 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004069/1.562, allocations: 374.6 kB / 0.8949 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008733/1.571, allocations: 1.287 MB / 0.8961 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00245/1.573, allocations: 0.5485 MB / 0.8967 GB, free: 5.277 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.01055/1.584, allocations: 3.694 MB / 0.9003 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001583/1.585, allocations: 489.5 kB / 0.9007 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002565/1.588, allocations: 0.6566 MB / 0.9014 GB, free: 436 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001284/1.588, allocations: 59.94 kB / 0.9014 GB, free: 376 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.049e-05/1.588, allocations: 0 / 0.9014 GB, free: 376 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.704e-05/1.588, allocations: 7.969 kB / 0.9015 GB, free: 368 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.32/1.908, allocations: 12.66 MB / 0.9138 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.174e-05/1.908, allocations: 14.41 kB / 0.9138 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/1.91, allocations: 426.6 kB / 0.9142 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.01e-05/1.91, allocations: 24.66 kB / 0.9143 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001806/1.91, allocations: 61.53 kB / 0.9143 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.722e-05/1.91, allocations: 32.73 kB / 0.9144 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.207e-05/1.91, allocations: 22.81 kB / 0.9144 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007101/1.917, allocations: 6.587 MB / 0.9208 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/1.919, allocations: 0.5845 MB / 0.9214 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005153/1.919, allocations: 61.58 kB / 0.9214 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/1.921, allocations: 127.6 kB / 0.9216 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002826/1.921, allocations: 180.9 kB / 0.9217 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/1.921, allocations: 101.4 kB / 0.9218 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006485/1.928, allocations: 3.459 MB / 0.9252 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.01e-07/1.928, allocations: 0 / 0.9252 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009408/1.937, allocations: 1.984 MB / 0.9271 GB, free: 105.4 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.0007335/1.938, allocations: 205 kB / 0.9273 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01238/1.951, allocations: 7.116 MB / 0.9343 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.151e-05/1.951, allocations: 3.969 kB / 0.9343 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004412/1.955, allocations: 2 MB / 0.9362 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005367/1.96, allocations: 0.5623 MB / 0.9368 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04794/2.008, allocations: 18.43 MB / 0.9548 GB, free: 97.55 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01663/2.025, allocations: 5.578 MB / 0.9602 GB, free: 96.67 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01025/2.035, allocations: 3.653 MB / 0.9638 GB, free: 96.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/2.037, allocations: 370.6 kB / 0.9642 GB, free: 96.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.062e-06/2.037, allocations: 3.75 kB / 0.9642 GB, free: 96.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.09268/2.13, allocations: 43.04 MB / 1.006 GB, free: 81.95 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches