Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.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.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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009158/0.0009159, allocations: 191.5 kB / 7.807 MB, free: 2.438 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.011/1.011, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008832/0.0008832, allocations: 91.97 kB / 261.4 MB, free: 13.61 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.1493/0.1493, allocations: 43.49 MB / 352.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.542e-06/6.552e-06, allocations: 4 kB / 417.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2241, allocations: 58.84 MB / 476.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1249/0.3491, allocations: 107.7 MB / 0.5705 GB, free: 7.254 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.3493, allocations: 87.44 kB / 0.5706 GB, free: 7.172 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4683/0.8176, allocations: 141.2 MB / 0.7085 GB, free: 96.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002594/0.8179, allocations: 149.3 kB / 0.7086 GB, free: 96.27 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.01548/0.8334, allocations: 6.55 MB / 0.715 GB, free: 91.61 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.8334, allocations: 15.91 kB / 0.715 GB, free: 91.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01449/0.8479, allocations: 3.051 MB / 0.718 GB, free: 88.53 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01621/0.8642, allocations: 7.772 MB / 0.7256 GB, free: 80.76 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.8644, allocations: 264 kB / 0.7259 GB, free: 80.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001969/0.8664, allocations: 467.9 kB / 0.7263 GB, free: 80.05 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01567/0.8821, allocations: 11.79 MB / 0.7378 GB, free: 68.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02059/0.9027, allocations: 16.96 MB / 0.7544 GB, free: 49.69 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001914/0.9029, allocations: 103 kB / 0.7545 GB, free: 49.59 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007992/0.9037, allocations: 48 kB / 0.7545 GB, free: 49.54 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002524/0.9063, allocations: 2.038 MB / 0.7565 GB, free: 47.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2123/1.119, allocations: 78.21 MB / 0.8329 GB, free: 159.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003716/1.122, allocations: 3.007 MB / 0.8358 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002412/1.125, allocations: 2.139 MB / 0.8379 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01263/1.137, allocations: 9.024 MB / 0.8467 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/1.137, allocations: 67.86 kB / 0.8468 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=293): time 6.172e-06/1.137, allocations: 3.875 kB / 0.8468 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=319): time 0.0317/1.169, allocations: 16.58 MB / 0.863 GB, free: 151.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/1.169, allocations: 157.6 kB / 0.8632 GB, free: 151.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005313/1.175, allocations: 4.512 MB / 0.8676 GB, free: 150.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003584/1.175, allocations: 28.39 kB / 0.8676 GB, free: 150.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001973/1.177, allocations: 4.966 MB / 0.8724 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000992/1.178, allocations: 1.186 MB / 0.8736 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002775/1.178, allocations: 0 / 0.8736 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003717/1.179, allocations: 0.7204 MB / 0.8743 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002962/1.182, allocations: 2.568 MB / 0.8768 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004816/1.186, allocations: 8.456 MB / 0.8851 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005077/1.191, allocations: 4.653 MB / 0.8896 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.926e-05/1.192, allocations: 61.78 kB / 0.8897 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1298) (initialization): time 0.01297/1.205, allocations: 9.674 MB / 0.8991 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/1.205, allocations: 11.12 kB / 0.8991 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002102/1.205, allocations: 212.3 kB / 0.8993 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002831/1.205, allocations: 310.8 kB / 0.8996 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00755/1.213, allocations: 2.413 MB / 0.902 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003114/1.213, allocations: 417.5 kB / 0.9024 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006607/1.22, allocations: 380.8 kB / 0.9027 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/1.221, allocations: 0.587 MB / 0.9033 GB, free: 134.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.001018/1.222, allocations: 0.6416 MB / 0.9039 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007198/1.222, allocations: 492.2 kB / 0.9044 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003969/1.226, allocations: 3.001 MB / 0.9073 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.999e-05/1.227, allocations: 38.5 kB / 0.9074 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/1.227, allocations: 1.312 kB / 0.9074 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-05/1.227, allocations: 17.05 kB / 0.9074 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/1.243, allocations: 11.04 MB / 0.9182 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-05/1.243, allocations: 30.34 kB / 0.9182 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002339/1.245, allocations: 0.5737 MB / 0.9188 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.248e-05/1.245, allocations: 48.47 kB / 0.9188 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002066/1.245, allocations: 60.27 kB / 0.9189 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.004e-05/1.245, allocations: 69.53 kB / 0.9189 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.056e-05/1.245, allocations: 47.88 kB / 0.919 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005959/1.251, allocations: 10.22 MB / 0.929 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/1.253, allocations: 0.7686 MB / 0.9297 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005608/1.253, allocations: 51.78 kB / 0.9298 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/1.256, allocations: 141 kB / 0.9299 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002541/1.256, allocations: 237.9 kB / 0.9301 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/1.256, allocations: 131.4 kB / 0.9303 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003818/1.26, allocations: 2.961 MB / 0.9331 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007537/1.267, allocations: 1.322 MB / 0.9344 GB, free: 111.6 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.0004796/1.268, allocations: 226.2 kB / 0.9347 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00731/1.275, allocations: 5.903 MB / 0.9404 GB, free: 106 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/1.275, allocations: 4.938 kB / 0.9404 GB, free: 106 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001459/1.277, allocations: 1.417 MB / 0.9418 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/1.279, allocations: 0.526 MB / 0.9423 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02036/1.299, allocations: 12.75 MB / 0.9548 GB, free: 92.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006385/1.306, allocations: 5.724 MB / 0.9604 GB, free: 88.05 MB / 0.4948 GB Notification: Performance of SimCode: time 9.72e-07/1.306, allocations: 0 / 0.9604 GB, free: 88.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.07723/1.383, allocations: 45.69 MB / 1.005 GB, free: 50.21 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches