Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.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.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") [: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 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 187.3 kB / 7.798 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.001/1.001, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0008002/0.0008003, allocations: 86.17 kB / 261.4 MB, free: 13.55 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.1508/0.1508, allocations: 43.5 MB / 352.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.35e-06/5.47e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1965, allocations: 58.84 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1147/0.3113, allocations: 104.1 MB / 0.5671 GB, free: 10.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.3116, allocations: 83.94 kB / 0.5672 GB, free: 10.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4723/0.7839, allocations: 153.6 MB / 0.7172 GB, free: 89.04 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001893/0.7841, allocations: 159.9 kB / 0.7173 GB, free: 88.89 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: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.01382/0.7979, allocations: 7.618 MB / 0.7248 GB, free: 81.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.798, allocations: 8.031 kB / 0.7248 GB, free: 81.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01305/0.811, allocations: 3.004 MB / 0.7277 GB, free: 78.18 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01756/0.8286, allocations: 9.678 MB / 0.7371 GB, free: 68.51 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/0.8289, allocations: 264 kB / 0.7374 GB, free: 68.25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00162/0.8305, allocations: 487.7 kB / 0.7379 GB, free: 67.77 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01469/0.8452, allocations: 11.61 MB / 0.7492 GB, free: 56.16 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02034/0.8655, allocations: 16.74 MB / 0.7655 GB, free: 37.93 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001984/0.8658, allocations: 87.22 kB / 0.7656 GB, free: 37.84 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008363/0.8666, allocations: 44 kB / 0.7657 GB, free: 37.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002062/0.8687, allocations: 1.899 MB / 0.7675 GB, free: 35.9 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2235/1.092, allocations: 81.22 MB / 0.8468 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003827/1.096, allocations: 3.026 MB / 0.8498 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001963/1.098, allocations: 1.615 MB / 0.8514 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01223/1.11, allocations: 7.768 MB / 0.859 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/1.11, allocations: 54.56 kB / 0.859 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=190): time 4.498e-06/1.11, allocations: 0 / 0.859 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=190): time 0.01242/1.123, allocations: 4.677 MB / 0.8636 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/1.123, allocations: 149.1 kB / 0.8637 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006411/1.129, allocations: 5.251 MB / 0.8688 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001405/1.129, allocations: 25.7 kB / 0.8689 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002057/1.131, allocations: 5.276 MB / 0.874 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005049/1.132, allocations: 0.7567 MB / 0.8748 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/1.132, allocations: 0 / 0.8748 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003341/1.133, allocations: 0.6878 MB / 0.8754 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002494/1.135, allocations: 2.254 MB / 0.8776 GB, free: 108 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004264/1.139, allocations: 8.085 MB / 0.8855 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004517/1.144, allocations: 4.229 MB / 0.8897 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.777e-05/1.144, allocations: 60.59 kB / 0.8897 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.01206/1.156, allocations: 8.922 MB / 0.8984 GB, free: 99.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/1.156, allocations: 3.156 kB / 0.8984 GB, free: 99.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000206/1.156, allocations: 210.9 kB / 0.8986 GB, free: 99.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002218/1.157, allocations: 310.9 kB / 0.8989 GB, free: 99.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006024/1.163, allocations: 2.187 MB / 0.9011 GB, free: 99.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001659/1.163, allocations: 411.4 kB / 0.9015 GB, free: 99.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006531/1.169, allocations: 1.162 MB / 0.9026 GB, free: 98.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005973/1.17, allocations: 0.555 MB / 0.9031 GB, free: 98.33 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1143): * Single equations (assignments): 1140 * Array equations: 3 * 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.0007264/1.171, allocations: 0.6191 MB / 0.9037 GB, free: 97.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005289/1.171, allocations: 0.5282 MB / 0.9043 GB, free: 97.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002992/1.174, allocations: 2.187 MB / 0.9064 GB, free: 96.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.822e-05/1.174, allocations: 17.59 kB / 0.9064 GB, free: 96.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/1.174, allocations: 4.812 kB / 0.9064 GB, free: 96.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/1.174, allocations: 13.95 kB / 0.9064 GB, free: 96.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02866/1.203, allocations: 24.45 MB / 0.9303 GB, free: 86.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-05/1.203, allocations: 32 kB / 0.9303 GB, free: 86.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/1.204, allocations: 341.1 kB / 0.9307 GB, free: 86.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-05/1.205, allocations: 51.91 kB / 0.9307 GB, free: 86.54 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/1.205, allocations: 53.84 kB / 0.9308 GB, free: 86.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.109e-05/1.205, allocations: 58.14 kB / 0.9308 GB, free: 86.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.203e-05/1.205, allocations: 51.75 kB / 0.9309 GB, free: 86.39 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004689/1.209, allocations: 9.212 MB / 0.9399 GB, free: 76.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/1.211, allocations: 0.6091 MB / 0.9405 GB, free: 75.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005955/1.211, allocations: 46 kB / 0.9405 GB, free: 75.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0022/1.213, allocations: 137.2 kB / 0.9406 GB, free: 75.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/1.214, allocations: 189.4 kB / 0.9408 GB, free: 75.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/1.214, allocations: 98.38 kB / 0.9409 GB, free: 75.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.004665/1.218, allocations: 3.536 MB / 0.9444 GB, free: 71.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007111/1.225, allocations: 1.889 MB / 0.9462 GB, free: 70.08 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 143 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (170): * Single equations (assignments): 167 * Array equations: 3 * 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.0003894/1.226, allocations: 198.3 kB / 0.9464 GB, free: 69.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006352/1.232, allocations: 5.31 MB / 0.9516 GB, free: 65.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/1.232, allocations: 6.625 kB / 0.9516 GB, free: 65.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/1.234, allocations: 1.17 MB / 0.9527 GB, free: 64.08 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002967/1.236, allocations: 0.6475 MB / 0.9534 GB, free: 63.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02157/1.258, allocations: 12.97 MB / 0.966 GB, free: 51.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007066/1.265, allocations: 6.079 MB / 0.972 GB, free: 46.85 MB / 0.4948 GB Notification: Performance of SimCode: time 8.71e-07/1.265, allocations: 0 / 0.972 GB, free: 46.85 MB / 0.4948 GB Notification: Performance of Templates: time 0.07791/1.343, allocations: 44.41 MB / 1.015 GB, free: 10.1 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches