Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.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.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper") [: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.00239/0.00239, allocations: 170 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.685/1.685, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001265/0.001264, allocations: 90.72 kB / 261.8 MB, free: 13.62 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.2575/0.2575, allocations: 43.48 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.085e-06/8.235e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2747, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1911/0.4659, allocations: 107.7 MB / 0.5705 GB, free: 7.359 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.4662, allocations: 83.45 kB / 0.5706 GB, free: 7.281 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.7555/1.222, allocations: 141.2 MB / 0.7085 GB, free: 96.19 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004582/1.222, allocations: 149.6 kB / 0.7086 GB, free: 96.19 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: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.027/1.249, allocations: 6.55 MB / 0.715 GB, free: 91.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/1.249, allocations: 15.97 kB / 0.715 GB, free: 91.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02673/1.276, allocations: 3.055 MB / 0.718 GB, free: 88.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02718/1.303, allocations: 7.757 MB / 0.7256 GB, free: 80.99 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005527/1.304, allocations: 260 kB / 0.7258 GB, free: 80.74 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004304/1.308, allocations: 471.9 kB / 0.7263 GB, free: 80.28 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03134/1.34, allocations: 11.79 MB / 0.7378 GB, free: 68.48 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04575/1.385, allocations: 16.97 MB / 0.7544 GB, free: 49.91 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004928/1.386, allocations: 95.06 kB / 0.7545 GB, free: 49.81 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003978/1.39, allocations: 48 kB / 0.7545 GB, free: 49.77 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005771/1.396, allocations: 2.046 MB / 0.7565 GB, free: 47.72 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3113/1.707, allocations: 78.2 MB / 0.8329 GB, free: 157.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006801/1.714, allocations: 3.013 MB / 0.8358 GB, free: 156.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00509/1.719, allocations: 2.145 MB / 0.8379 GB, free: 156.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02405/1.743, allocations: 9.017 MB / 0.8467 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/1.743, allocations: 68.39 kB / 0.8468 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=293): time 8.536e-06/1.743, allocations: 3.969 kB / 0.8468 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=319): time 0.068/1.811, allocations: 16.57 MB / 0.863 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/1.811, allocations: 170.5 kB / 0.8631 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0114/1.823, allocations: 4.51 MB / 0.8675 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006673/1.824, allocations: 25.7 kB / 0.8676 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003797/1.827, allocations: 4.898 MB / 0.8724 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001833/1.829, allocations: 1.178 MB / 0.8735 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/1.83, allocations: 3.594 kB / 0.8735 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007707/1.831, allocations: 0.7277 MB / 0.8742 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007355/1.839, allocations: 2.571 MB / 0.8767 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01177/1.85, allocations: 8.45 MB / 0.885 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/1.862, allocations: 4.655 MB / 0.8895 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002527/1.862, allocations: 62.91 kB / 0.8896 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1298) (initialization): time 0.02759/1.89, allocations: 9.563 MB / 0.8989 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/1.89, allocations: 3.812 kB / 0.8989 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003687/1.89, allocations: 210 kB / 0.8991 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003513/1.89, allocations: 312.4 kB / 0.8994 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01697/1.907, allocations: 2.416 MB / 0.9018 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004704/1.908, allocations: 418.8 kB / 0.9022 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009978/1.918, allocations: 328.5 kB / 0.9025 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002821/1.921, allocations: 0.5868 MB / 0.9031 GB, free: 132.2 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: 72 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[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 (1274): * Single equations (assignments): 1271 * 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.004011/1.925, allocations: 0.556 MB / 0.9036 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001431/1.926, allocations: 498.5 kB / 0.9041 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01016/1.936, allocations: 3.006 MB / 0.907 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001072/1.937, allocations: 30.38 kB / 0.9071 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/1.937, allocations: 3.938 kB / 0.9071 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-05/1.937, allocations: 13.73 kB / 0.9071 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03474/1.972, allocations: 11.05 MB / 0.9179 GB, free: 126 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.108e-05/1.972, allocations: 31 kB / 0.9179 GB, free: 126 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005042/1.977, allocations: 0.5778 MB / 0.9185 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.515e-05/1.977, allocations: 56.16 kB / 0.9185 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000614/1.977, allocations: 56 kB / 0.9186 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.886e-05/1.978, allocations: 60.59 kB / 0.9186 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.313e-05/1.978, allocations: 54.94 kB / 0.9187 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01352/1.991, allocations: 10.21 MB / 0.9287 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003182/1.994, allocations: 0.7717 MB / 0.9294 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001737/1.996, allocations: 48.2 kB / 0.9295 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005386/2.002, allocations: 147.4 kB / 0.9296 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008537/2.002, allocations: 243.3 kB / 0.9298 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003763/2.003, allocations: 123.8 kB / 0.9299 GB, free: 115 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.008186/2.011, allocations: 2.961 MB / 0.9328 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01367/2.025, allocations: 1.327 MB / 0.9341 GB, free: 111.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 137 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (300): * Single equations (assignments): 297 * 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.001348/2.026, allocations: 223.7 kB / 0.9343 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01767/2.044, allocations: 5.902 MB / 0.9401 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.481e-05/2.044, allocations: 4 kB / 0.9401 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003495/2.048, allocations: 1.421 MB / 0.9415 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005099/2.053, allocations: 0.5205 MB / 0.942 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04029/2.093, allocations: 13.55 MB / 0.9552 GB, free: 91.22 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01288/2.106, allocations: 5.723 MB / 0.9608 GB, free: 86.91 MB / 0.4948 GB Notification: Performance of SimCode: time 1.492e-06/2.106, allocations: 0 / 0.9608 GB, free: 86.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.3632/2.469, allocations: 83.5 MB / 1.042 GB, free: 130.3 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches