Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.0009092/0.0009093, allocations: 181.9 kB / 17.41 MB, free: 4.375 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.257/1.257, allocations: 205.4 MB / 223.6 MB, free: 8.922 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.0006638/0.0006639, allocations: 90.34 kB / 271.9 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3087/0.3087, allocations: 43.56 MB / 363.8 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003658, allocations: 8 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1066, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2842/0.3909, allocations: 96.24 MB / 0.5739 GB, free: 5.996 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.3911, allocations: 83.95 kB / 0.574 GB, free: 5.914 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.494/0.8851, allocations: 137.4 MB / 0.7082 GB, free: 87.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.8851, allocations: 0 / 0.7082 GB, free: 87.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002163/0.8854, allocations: 121.4 kB / 0.7083 GB, free: 87.95 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.01684/0.9022, allocations: 6.033 MB / 0.7142 GB, free: 85.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.9023, allocations: 9.562 kB / 0.7142 GB, free: 85.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02546/0.9277, allocations: 6.537 MB / 0.7206 GB, free: 84.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/0.9386, allocations: 4.342 MB / 0.7248 GB, free: 83.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000588/0.9392, allocations: 0.5085 MB / 0.7253 GB, free: 83.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003896/0.9432, allocations: 0.6527 MB / 0.726 GB, free: 83.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03571/0.9789, allocations: 18.06 MB / 0.7436 GB, free: 79.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002325/0.9792, allocations: 38.28 kB / 0.7436 GB, free: 79.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003183/0.9824, allocations: 319.6 kB / 0.7439 GB, free: 79.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002623/0.985, allocations: 2.147 MB / 0.746 GB, free: 79.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02801/1.013, allocations: 17.36 MB / 0.763 GB, free: 73.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07409/1.087, allocations: 61.75 MB / 0.8233 GB, free: 21.94 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/1.099, allocations: 8.41 MB / 0.8315 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003026/1.102, allocations: 2.571 MB / 0.834 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0173/1.12, allocations: 11.77 MB / 0.8455 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/1.12, allocations: 56.56 kB / 0.8456 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=321): time 7.303e-06/1.12, allocations: 3.938 kB / 0.8456 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=321): time 0.01723/1.137, allocations: 7.487 MB / 0.8529 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/1.137, allocations: 103 kB / 0.853 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008629/1.146, allocations: 5.609 MB / 0.8585 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004241/1.146, allocations: 65.45 kB / 0.8585 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.2054/1.352, allocations: 5.086 MB / 0.8635 GB, free: 94.31 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001528/1.353, allocations: 1.201 MB / 0.8647 GB, free: 93.74 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007868/1.354, allocations: 178 kB / 0.8648 GB, free: 93.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006692/1.355, allocations: 0.7188 MB / 0.8655 GB, free: 93.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005239/1.36, allocations: 3.089 MB / 0.8685 GB, free: 93.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007613/1.368, allocations: 8.491 MB / 0.8768 GB, free: 86.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01199/1.38, allocations: 12.63 MB / 0.8892 GB, free: 79.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002386/1.38, allocations: 51.44 kB / 0.8892 GB, free: 79.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.01951/1.399, allocations: 11.36 MB / 0.9003 GB, free: 77.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/1.4, allocations: 85.56 kB / 0.9004 GB, free: 77.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002585/1.4, allocations: 191.4 kB / 0.9006 GB, free: 77.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002261/1.4, allocations: 251.2 kB / 0.9008 GB, free: 77.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007059/1.407, allocations: 2.075 MB / 0.9028 GB, free: 77.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003807/1.408, allocations: 375 kB / 0.9032 GB, free: 77.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007204/1.415, allocations: 1.297 MB / 0.9045 GB, free: 76.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001984/1.417, allocations: 0.5402 MB / 0.905 GB, free: 76.8 MB / 0.4948 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.008535/1.425, allocations: 3.697 MB / 0.9086 GB, free: 76.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009474/1.426, allocations: 492.2 kB / 0.9091 GB, free: 76.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/1.428, allocations: 0.6564 MB / 0.9097 GB, free: 76.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001007/1.428, allocations: 53.2 kB / 0.9098 GB, free: 76.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.841e-05/1.428, allocations: 3.938 kB / 0.9098 GB, free: 76.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/1.428, allocations: 10.75 kB / 0.9098 GB, free: 76.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02271/1.451, allocations: 12.66 MB / 0.9221 GB, free: 71.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/1.451, allocations: 14.58 kB / 0.9222 GB, free: 71.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/1.453, allocations: 424.8 kB / 0.9226 GB, free: 71.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.06e-05/1.453, allocations: 23.25 kB / 0.9226 GB, free: 71.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001653/1.453, allocations: 64.44 kB / 0.9226 GB, free: 71.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.35e-05/1.453, allocations: 35.08 kB / 0.9227 GB, free: 71.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/1.453, allocations: 20.88 kB / 0.9227 GB, free: 71.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005007/1.458, allocations: 4.611 MB / 0.9272 GB, free: 69.15 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/1.459, allocations: 0.5871 MB / 0.9278 GB, free: 68.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005752/1.46, allocations: 55.36 kB / 0.9278 GB, free: 68.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/1.461, allocations: 132.1 kB / 0.928 GB, free: 68.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003154/1.462, allocations: 176.7 kB / 0.9281 GB, free: 68.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/1.462, allocations: 102.5 kB / 0.9282 GB, free: 68.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005461/1.467, allocations: 3.453 MB / 0.9316 GB, free: 67.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.71e-07/1.467, allocations: 0 / 0.9316 GB, free: 67.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008505/1.476, allocations: 1.991 MB / 0.9335 GB, free: 66.91 MB / 0.4948 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.0006438/1.477, allocations: 216.2 kB / 0.9337 GB, free: 66.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009739/1.486, allocations: 7.114 MB / 0.9407 GB, free: 64.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/1.486, allocations: 3.812 kB / 0.9407 GB, free: 64.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002357/1.489, allocations: 1.997 MB / 0.9426 GB, free: 63.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01204/1.501, allocations: 0.6032 MB / 0.9432 GB, free: 63.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02705/1.528, allocations: 19.34 MB / 0.9621 GB, free: 53.51 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007544/1.536, allocations: 5.443 MB / 0.9674 GB, free: 51.74 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/1.537, allocations: 441.3 kB / 0.9679 GB, free: 51.72 MB / 0.4948 GB Notification: Performance of SimCode: time 1.112e-06/1.537, allocations: 0 / 0.9679 GB, free: 51.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.3281/1.865, allocations: 91.35 MB / 1.057 GB, free: 92.4 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches