Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.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.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_4.0.0_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_4.0.0_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 178.5 kB / 8.519 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 221.4 MB / 230.3 MB, free: 7.727 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.0009366/0.0009366, allocations: 88.77 kB / 281.2 MB, free: 5.484 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.1712/0.1712, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.314e-06/7.414e-06, allocations: 4.219 kB / 444 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1159, allocations: 61.91 MB / 0.4941 GB, free: 1.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3391/0.4551, allocations: 96.58 MB / 0.5884 GB, free: 276 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/0.4553, allocations: 72.62 kB / 0.5885 GB, free: 204 kB / 394.7 MB Notification: Performance of FrontEnd: time 0.1684/0.6238, allocations: 69.15 MB / 0.656 GB, free: 10.38 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001088/0.6239, allocations: 64 kB / 0.6561 GB, free: 10.32 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: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.007182/0.6311, allocations: 3.073 MB / 0.6591 GB, free: 7.18 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.6311, allocations: 11.97 kB / 0.6591 GB, free: 7.168 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01374/0.6449, allocations: 2.705 MB / 0.6617 GB, free: 4.453 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006058/0.651, allocations: 2.114 MB / 0.6638 GB, free: 2.293 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/0.6512, allocations: 123.9 kB / 0.6639 GB, free: 2.172 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001505/0.6527, allocations: 211.9 kB / 0.6641 GB, free: 1.965 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01093/0.6637, allocations: 6.575 MB / 0.6705 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01884/0.6825, allocations: 8.917 MB / 0.6792 GB, free: 1.988 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.482e-05/0.6827, allocations: 23.75 kB / 0.6792 GB, free: 1.965 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005874/0.6833, allocations: 16 kB / 0.6793 GB, free: 1.949 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00118/0.6845, allocations: 1.14 MB / 0.6804 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04487/0.7293, allocations: 29.47 MB / 0.7092 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1703/0.8997, allocations: 2.782 MB / 0.7119 GB, free: 205.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.9008, allocations: 0.8498 MB / 0.7127 GB, free: 205.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.679e-05/0.9009, allocations: 12.25 kB / 0.7127 GB, free: 205.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.9009, allocations: 43.25 kB / 0.7128 GB, free: 205.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=142): time 3.586e-06/0.9009, allocations: 0 / 0.7128 GB, free: 205.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=142): time 0.00401/0.9049, allocations: 2.262 MB / 0.715 GB, free: 205.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.905, allocations: 63.38 kB / 0.715 GB, free: 205 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003059/0.908, allocations: 2.421 MB / 0.7174 GB, free: 204.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.884e-05/0.9081, allocations: 25.7 kB / 0.7174 GB, free: 204.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001089/0.9092, allocations: 2.722 MB / 0.7201 GB, free: 203.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000344/0.9096, allocations: 0.5337 MB / 0.7206 GB, free: 203.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.9097, allocations: 0 / 0.7206 GB, free: 203.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002486/0.91, allocations: 0.5712 MB / 0.7212 GB, free: 203 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/0.9117, allocations: 1.514 MB / 0.7226 GB, free: 203 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002634/0.9144, allocations: 4.643 MB / 0.7272 GB, free: 198.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002703/0.9171, allocations: 2.743 MB / 0.7298 GB, free: 198.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.622e-05/0.9172, allocations: 31.62 kB / 0.7299 GB, free: 198.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=679) (initialization): time 0.006763/0.9239, allocations: 5.444 MB / 0.7352 GB, free: 198.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.924, allocations: 7.5 kB / 0.7352 GB, free: 198.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.91e-05/0.9241, allocations: 109.6 kB / 0.7353 GB, free: 198.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001248/0.9242, allocations: 170.2 kB / 0.7355 GB, free: 198.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00287/0.9271, allocations: 1.127 MB / 0.7366 GB, free: 198.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.99e-05/0.9272, allocations: 220.7 kB / 0.7368 GB, free: 198.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002777/0.93, allocations: 0.5633 MB / 0.7373 GB, free: 197.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003295/0.9303, allocations: 324.8 kB / 0.7376 GB, free: 197.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 29 (arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,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 (631): * Single equations (assignments): 625 * 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.0004528/0.9308, allocations: 376 kB / 0.738 GB, free: 197.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.931, allocations: 229 kB / 0.7382 GB, free: 197.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004678/0.9315, allocations: 302.4 kB / 0.7385 GB, free: 197.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.1e-05/0.9315, allocations: 6.938 kB / 0.7385 GB, free: 197.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.9316, allocations: 0 / 0.7385 GB, free: 197.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.9316, allocations: 6.906 kB / 0.7385 GB, free: 197.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007424/0.939, allocations: 5.722 MB / 0.7441 GB, free: 196.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.939, allocations: 7.688 kB / 0.7441 GB, free: 196.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006534/0.9397, allocations: 158.2 kB / 0.7443 GB, free: 196.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.9397, allocations: 7.656 kB / 0.7443 GB, free: 196.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.614e-05/0.9398, allocations: 16.89 kB / 0.7443 GB, free: 196.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.156e-06/0.9398, allocations: 11.22 kB / 0.7443 GB, free: 196.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.9398, allocations: 15.16 kB / 0.7443 GB, free: 196.4 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002116/0.9419, allocations: 2.538 MB / 0.7468 GB, free: 195.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000586/0.9425, allocations: 315.7 kB / 0.7471 GB, free: 195.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/0.9428, allocations: 9.969 kB / 0.7471 GB, free: 195.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006626/0.9435, allocations: 17.55 kB / 0.7471 GB, free: 195.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.9437, allocations: 73.72 kB / 0.7472 GB, free: 195.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.635e-05/0.9438, allocations: 39.75 kB / 0.7472 GB, free: 195.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.002256/0.946, allocations: 1.587 MB / 0.7488 GB, free: 194.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003884/0.9499, allocations: 0.9577 MB / 0.7497 GB, free: 194.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * 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.0003018/0.9502, allocations: 139.3 kB / 0.7498 GB, free: 194.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004079/0.9543, allocations: 3.479 MB / 0.7532 GB, free: 193.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.441e-05/0.9544, allocations: 7.375 kB / 0.7532 GB, free: 193.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008236/0.9552, allocations: 0.8769 MB / 0.7541 GB, free: 193 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007947/0.956, allocations: 177.3 kB / 0.7543 GB, free: 192.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.9676, allocations: 6.228 MB / 0.7604 GB, free: 190.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003925/0.9715, allocations: 3.31 MB / 0.7636 GB, free: 189.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.052e-06/0.9716, allocations: 4 kB / 0.7636 GB, free: 189.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.04101/1.013, allocations: 22.09 MB / 0.7852 GB, free: 176.8 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches