Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.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.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") [: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.0009009/0.000901, allocations: 190.8 kB / 7.804 MB, free: 2.445 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.016/1.016, 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.0008105/0.0008106, allocations: 91.62 kB / 261.4 MB, free: 13.53 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.1539/0.1539, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.088e-06/4.118e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2338, allocations: 58.84 MB / 476.6 MB, free: 5.238 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.3555, allocations: 108.2 MB / 0.5711 GB, free: 6.691 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001903/0.3557, allocations: 79.95 kB / 0.5711 GB, free: 6.613 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4765/0.8322, allocations: 141.7 MB / 0.7095 GB, free: 95.71 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004046/0.8326, allocations: 145.6 kB / 0.7096 GB, free: 95.71 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: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.01903/0.8517, allocations: 6.671 MB / 0.7162 GB, free: 90.48 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.8517, allocations: 8.031 kB / 0.7162 GB, free: 90.48 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01461/0.8663, allocations: 3.055 MB / 0.7191 GB, free: 87.41 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01656/0.8829, allocations: 7.774 MB / 0.7267 GB, free: 79.63 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003908/0.8834, allocations: 264 kB / 0.727 GB, free: 79.38 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003116/0.8865, allocations: 471.9 kB / 0.7274 GB, free: 78.91 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01891/0.9054, allocations: 11.8 MB / 0.739 GB, free: 67.11 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03038/0.9358, allocations: 16.98 MB / 0.7555 GB, free: 48.53 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003837/0.9362, allocations: 99 kB / 0.7556 GB, free: 48.43 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002548/0.9388, allocations: 56 kB / 0.7557 GB, free: 48.38 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002915/0.9417, allocations: 2.042 MB / 0.7577 GB, free: 46.34 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2225/1.164, allocations: 78.3 MB / 0.8342 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003535/1.168, allocations: 3.019 MB / 0.8371 GB, free: 157.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002274/1.17, allocations: 2.144 MB / 0.8392 GB, free: 157.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01221/1.182, allocations: 9.047 MB / 0.848 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002242/1.185, allocations: 2.062 MB / 0.85 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=296): time 4.438e-06/1.185, allocations: 0 / 0.85 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=322): time 0.03267/1.217, allocations: 16.64 MB / 0.8663 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/1.217, allocations: 159.8 kB / 0.8664 GB, free: 150 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005263/1.223, allocations: 4.521 MB / 0.8709 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003157/1.223, allocations: 31.83 kB / 0.8709 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002913/1.226, allocations: 5.074 MB / 0.8758 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009204/1.227, allocations: 1.198 MB / 0.877 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/1.227, allocations: 0 / 0.877 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003904/1.228, allocations: 0.724 MB / 0.8777 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003109/1.231, allocations: 2.588 MB / 0.8803 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004835/1.235, allocations: 8.467 MB / 0.8885 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004907/1.24, allocations: 4.659 MB / 0.8931 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.93e-05/1.24, allocations: 60.03 kB / 0.8931 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1303) (initialization): time 0.01234/1.253, allocations: 9.705 MB / 0.9026 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.253, allocations: 5.5 kB / 0.9026 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002278/1.253, allocations: 212.3 kB / 0.9028 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003212/1.253, allocations: 311.4 kB / 0.9031 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007232/1.261, allocations: 2.439 MB / 0.9055 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001844/1.261, allocations: 418.7 kB / 0.9059 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006262/1.267, allocations: 401.3 kB / 0.9063 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007567/1.268, allocations: 0.5911 MB / 0.9069 GB, free: 132.1 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: 77 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (1278): * Single equations (assignments): 1274 * Array equations: 3 * Algorithm blocks: 1 * 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.0009449/1.269, allocations: 0.6416 MB / 0.9075 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006012/1.269, allocations: 0.4897 MB / 0.908 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004142/1.274, allocations: 3.016 MB / 0.9109 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.355e-05/1.274, allocations: 29.66 kB / 0.9109 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/1.274, allocations: 0 / 0.9109 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.378e-05/1.274, allocations: 18.8 kB / 0.9109 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01715/1.291, allocations: 11.05 MB / 0.9217 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-05/1.291, allocations: 28 kB / 0.9218 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002162/1.293, allocations: 0.5977 MB / 0.9224 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.799e-05/1.293, allocations: 51.19 kB / 0.9224 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/1.293, allocations: 55 kB / 0.9225 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.691e-05/1.293, allocations: 65.8 kB / 0.9225 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.878e-05/1.293, allocations: 54.16 kB / 0.9226 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005883/1.299, allocations: 10.05 MB / 0.9324 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001515/1.301, allocations: 0.7763 MB / 0.9331 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005613/1.301, allocations: 46.14 kB / 0.9332 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002058/1.303, allocations: 164.2 kB / 0.9333 GB, free: 113 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002696/1.304, allocations: 254.1 kB / 0.9336 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/1.304, allocations: 123.9 kB / 0.9337 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003693/1.308, allocations: 2.974 MB / 0.9366 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006504/1.314, allocations: 1.341 MB / 0.9379 GB, free: 108.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 137 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (303): * Single equations (assignments): 298 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004063/1.314, allocations: 225.5 kB / 0.9381 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006834/1.321, allocations: 5.942 MB / 0.9439 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.301e-05/1.321, allocations: 4 kB / 0.9439 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00226/1.324, allocations: 1.693 MB / 0.9456 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/1.326, allocations: 0.5268 MB / 0.9461 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01965/1.346, allocations: 12.76 MB / 0.9586 GB, free: 89.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005481/1.351, allocations: 5.731 MB / 0.9642 GB, free: 84.89 MB / 0.4948 GB Notification: Performance of SimCode: time 1.082e-06/1.351, allocations: 0 / 0.9642 GB, free: 84.89 MB / 0.4948 GB Notification: Performance of Templates: time 0.0773/1.428, allocations: 46.39 MB / 1.009 GB, free: 45.99 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper2/Damper2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches