Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedTranslation.frame_b.r_0.1.|fixedTranslation.frame_b.r_0.2.|fixedTranslation.frame_b.r_0.3.|fixedTranslation.frame_b.f.1.|fixedTranslation.frame_b.f.2.|fixedTranslation.frame_b.f.3.|fixedTranslation.frame_b.t.1.|fixedTranslation.frame_b.t.2.|fixedTranslation.frame_b.t.3.|fixed1.frame_b.r_0.1.|fixed1.frame_b.r_0.2.|fixed1.frame_b.r_0.3.|fixed1.frame_b.f.1.|fixed1.frame_b.f.2.|fixed1.frame_b.f.3.|fixed1.frame_b.t.1.|fixed1.frame_b.t.2.|fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation") translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedTranslation.frame_b.r_0.1.|fixedTranslation.frame_b.r_0.2.|fixedTranslation.frame_b.r_0.3.|fixedTranslation.frame_b.f.1.|fixedTranslation.frame_b.f.2.|fixedTranslation.frame_b.f.3.|fixedTranslation.frame_b.t.1.|fixedTranslation.frame_b.t.2.|fixedTranslation.frame_b.t.3.|fixed1.frame_b.r_0.1.|fixed1.frame_b.r_0.2.|fixed1.frame_b.r_0.3.|fixed1.frame_b.f.1.|fixed1.frame_b.f.2.|fixed1.frame_b.f.3.|fixed1.frame_b.t.1.|fixed1.frame_b.t.2.|fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002365/0.002366, allocations: 171.5 kB / 8.146 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 88.44 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2636/0.2636, allocations: 43.49 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.395e-06/8.536e-06, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3051, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1731/0.4782, allocations: 95.23 MB / 0.5584 GB, free: 3.844 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.4786, allocations: 71.25 kB / 0.5584 GB, free: 3.777 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.3076/0.7862, allocations: 69.65 MB / 0.6265 GB, free: 13.41 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001833/0.7864, allocations: 64 kB / 0.6265 GB, free: 13.35 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1520 * Number of variables: 1520 Notification: Performance of Generate backend data structure: time 0.01062/0.7971, allocations: 3.143 MB / 0.6296 GB, free: 10.15 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.7971, allocations: 8.031 kB / 0.6296 GB, free: 10.14 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02581/0.8229, allocations: 2.713 MB / 0.6322 GB, free: 7.418 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008658/0.8317, allocations: 2.161 MB / 0.6343 GB, free: 5.207 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000272/0.832, allocations: 120 kB / 0.6345 GB, free: 5.09 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002288/0.8343, allocations: 223.9 kB / 0.6347 GB, free: 4.871 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.166/1, allocations: 6.693 MB / 0.6412 GB, free: 171.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02438/1.025, allocations: 9.085 MB / 0.6501 GB, free: 170.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001524/1.025, allocations: 31.34 kB / 0.6501 GB, free: 170.5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002149/1.027, allocations: 13.56 kB / 0.6501 GB, free: 170.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00201/1.029, allocations: 1.176 MB / 0.6513 GB, free: 170.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05748/1.087, allocations: 30.11 MB / 0.6807 GB, free: 155 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004857/1.092, allocations: 2.806 MB / 0.6834 GB, free: 153.3 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001898/1.094, allocations: 0.8598 MB / 0.6843 GB, free: 153.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.122e-05/1.094, allocations: 18.25 kB / 0.6843 GB, free: 153.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/1.094, allocations: 46.41 kB / 0.6843 GB, free: 153 MB / 474.7 MB Notification: Performance of pre-optimization done (n=144): time 4.779e-06/1.094, allocations: 0 / 0.6843 GB, free: 153 MB / 474.7 MB Notification: Performance of matching and sorting (n=144): time 0.007933/1.102, allocations: 2.27 MB / 0.6865 GB, free: 152.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/1.102, allocations: 97.59 kB / 0.6866 GB, free: 152.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005992/1.108, allocations: 2.444 MB / 0.689 GB, free: 151.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002642/1.108, allocations: 25.7 kB / 0.689 GB, free: 151.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002139/1.11, allocations: 2.829 MB / 0.6918 GB, free: 149.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008587/1.111, allocations: 0.544 MB / 0.6923 GB, free: 149.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005514/1.112, allocations: 0 / 0.6923 GB, free: 149.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004274/1.112, allocations: 0.537 MB / 0.6929 GB, free: 148.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003881/1.116, allocations: 1.528 MB / 0.6944 GB, free: 148.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006674/1.123, allocations: 4.733 MB / 0.699 GB, free: 143.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006913/1.13, allocations: 2.779 MB / 0.7017 GB, free: 142.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001924/1.13, allocations: 33.28 kB / 0.7017 GB, free: 142.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=693) (initialization): time 0.01596/1.146, allocations: 5.498 MB / 0.7071 GB, free: 140.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/1.146, allocations: 7.156 kB / 0.7071 GB, free: 140.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002222/1.146, allocations: 113.3 kB / 0.7072 GB, free: 140.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002493/1.147, allocations: 169.2 kB / 0.7074 GB, free: 140.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007374/1.154, allocations: 1.16 MB / 0.7085 GB, free: 140.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001946/1.154, allocations: 225.5 kB / 0.7087 GB, free: 140.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004363/1.159, allocations: 377.7 kB / 0.7091 GB, free: 139.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001169/1.16, allocations: 323 kB / 0.7094 GB, free: 139.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 525 * Number of states: 0 () * Number of discrete variables: 27 (arrow.color[3],arrow.color[2],arrow.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],fixed1.color[3],fixed1.color[2],fixed1.color[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],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (645): * Single equations (assignments): 639 * Array equations: 6 * 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.001145/1.161, allocations: 319.8 kB / 0.7097 GB, free: 139.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006117/1.162, allocations: 232.4 kB / 0.7099 GB, free: 138.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/1.163, allocations: 293.2 kB / 0.7102 GB, free: 138.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.383e-05/1.163, allocations: 15.94 kB / 0.7102 GB, free: 138.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/1.163, allocations: 0 / 0.7102 GB, free: 138.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/1.163, allocations: 3.703 kB / 0.7102 GB, free: 138.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01576/1.179, allocations: 6.097 MB / 0.7162 GB, free: 133.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/1.179, allocations: 4 kB / 0.7162 GB, free: 133.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/1.18, allocations: 159.5 kB / 0.7163 GB, free: 133.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.112e-05/1.18, allocations: 15.91 kB / 0.7163 GB, free: 133.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/1.181, allocations: 16.06 kB / 0.7163 GB, free: 133.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.505e-05/1.181, allocations: 18.98 kB / 0.7164 GB, free: 133.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/1.181, allocations: 19.78 kB / 0.7164 GB, free: 133.1 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004422/1.185, allocations: 2.608 MB / 0.7189 GB, free: 130.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009513/1.186, allocations: 411.6 kB / 0.7193 GB, free: 130 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000721/1.187, allocations: 4 kB / 0.7193 GB, free: 130 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/1.188, allocations: 26.52 kB / 0.7194 GB, free: 130 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/1.189, allocations: 64.2 kB / 0.7194 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/1.189, allocations: 47.94 kB / 0.7195 GB, free: 129.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003932/1.193, allocations: 1.601 MB / 0.721 GB, free: 128.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005934/1.199, allocations: 0.9812 MB / 0.722 GB, free: 127.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 6 * 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.0005996/1.2, allocations: 153.3 kB / 0.7221 GB, free: 127.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00783/1.207, allocations: 3.515 MB / 0.7256 GB, free: 124.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/1.207, allocations: 4 kB / 0.7256 GB, free: 124.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001883/1.209, allocations: 0.8845 MB / 0.7264 GB, free: 123.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/1.211, allocations: 179.6 kB / 0.7266 GB, free: 123.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02009/1.231, allocations: 6.81 MB / 0.7332 GB, free: 117.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00915/1.24, allocations: 3.374 MB / 0.7365 GB, free: 114.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.453e-06/1.24, allocations: 0 / 0.7365 GB, free: 114.4 MB / 474.7 MB Notification: Performance of Templates: time 0.08439/1.325, allocations: 43.04 MB / 0.7786 GB, free: 73.35 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches