Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002227/0.002227, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001727/0.001727, allocations: 92.06 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3331/0.3331, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.112e-05/2.125e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.421, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2381/0.6591, allocations: 108.3 MB / 0.5717 GB, free: 6.977 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/0.6595, allocations: 79.94 kB / 0.5717 GB, free: 6.898 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9732/1.633, allocations: 143.2 MB / 0.7116 GB, free: 95.12 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.474e-06/1.633, allocations: 0 / 0.7116 GB, free: 95.12 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.000391/1.633, allocations: 147.9 kB / 0.7117 GB, free: 95.12 MB / 475.1 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.02598/1.659, allocations: 6.722 MB / 0.7183 GB, free: 89.66 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/1.659, allocations: 8.031 kB / 0.7183 GB, free: 89.65 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0292/1.688, allocations: 3.629 MB / 0.7219 GB, free: 86 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02685/1.715, allocations: 7.685 MB / 0.7294 GB, free: 78.32 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005742/1.716, allocations: 260 kB / 0.7296 GB, free: 78.07 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004204/1.72, allocations: 471.8 kB / 0.7301 GB, free: 77.61 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02892/1.749, allocations: 11.42 MB / 0.7412 GB, free: 66.18 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04423/1.793, allocations: 16.62 MB / 0.7575 GB, free: 47.95 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000541/1.794, allocations: 99.05 kB / 0.7575 GB, free: 47.86 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004063/1.798, allocations: 55.94 kB / 0.7576 GB, free: 47.8 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005392/1.804, allocations: 1.944 MB / 0.7595 GB, free: 45.86 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5025/2.306, allocations: 77.35 MB / 0.835 GB, free: 111.7 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008337/2.315, allocations: 3.473 MB / 0.8384 GB, free: 111.1 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005175/2.32, allocations: 1.934 MB / 0.8403 GB, free: 111 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00232/2.322, allocations: 1.774 MB / 0.8421 GB, free: 109.5 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006546/2.329, allocations: 2.072 MB / 0.8441 GB, free: 109.4 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=306): time 1.399e-05/2.329, allocations: 0 / 0.8441 GB, free: 109.4 MB / 0.4952 GB Notification: Performance of matching and sorting (n=334): time 0.07155/2.4, allocations: 16.72 MB / 0.8604 GB, free: 105.1 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/2.4, allocations: 170.9 kB / 0.8606 GB, free: 105 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01024/2.411, allocations: 4.456 MB / 0.8649 GB, free: 104.5 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0007113/2.411, allocations: 31.39 kB / 0.8649 GB, free: 104.5 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.005671/2.417, allocations: 5.295 MB / 0.8701 GB, free: 101.3 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.001965/2.419, allocations: 1.231 MB / 0.8713 GB, free: 100.6 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001108/2.42, allocations: 3.844 kB / 0.8713 GB, free: 100.6 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0007421/2.421, allocations: 0.7361 MB / 0.872 GB, free: 100.2 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006812/2.428, allocations: 2.52 MB / 0.8745 GB, free: 100.2 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01062/2.439, allocations: 8.428 MB / 0.8827 GB, free: 92.39 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/2.449, allocations: 4.547 MB / 0.8872 GB, free: 91.08 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002403/2.449, allocations: 60.47 kB / 0.8872 GB, free: 91.08 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1315) (initialization): time 0.02717/2.476, allocations: 9.592 MB / 0.8966 GB, free: 88.35 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001943/2.477, allocations: 121.3 kB / 0.8967 GB, free: 88.32 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003354/2.477, allocations: 211.1 kB / 0.8969 GB, free: 88.32 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003709/2.477, allocations: 312.4 kB / 0.8972 GB, free: 88.32 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01538/2.493, allocations: 2.457 MB / 0.8996 GB, free: 88.03 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004155/2.493, allocations: 419.6 kB / 0.9 GB, free: 87.94 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01159/2.505, allocations: 446.2 kB / 0.9004 GB, free: 87.91 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002525/2.507, allocations: 0.5822 MB / 0.901 GB, free: 87.84 MB / 0.4952 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 (1290): * Single equations (assignments): 1286 * 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.003255/2.511, allocations: 0.6439 MB / 0.9016 GB, free: 87.32 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/2.512, allocations: 0.4963 MB / 0.9021 GB, free: 87.05 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008466/2.521, allocations: 2.967 MB / 0.905 GB, free: 85.92 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.061e-05/2.521, allocations: 34.95 kB / 0.905 GB, free: 85.92 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/2.521, allocations: 3.781 kB / 0.9051 GB, free: 85.92 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-05/2.521, allocations: 17.02 kB / 0.9051 GB, free: 85.92 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03341/2.554, allocations: 12.05 MB / 0.9168 GB, free: 80.96 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.038e-05/2.554, allocations: 29.75 kB / 0.9169 GB, free: 80.96 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00473/2.559, allocations: 0.6089 MB / 0.9175 GB, free: 80.58 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.581e-05/2.559, allocations: 59.95 kB / 0.9175 GB, free: 80.52 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004867/2.56, allocations: 56.88 kB / 0.9176 GB, free: 80.47 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.603e-05/2.56, allocations: 63.34 kB / 0.9176 GB, free: 80.41 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.194e-05/2.56, allocations: 47.81 kB / 0.9177 GB, free: 80.37 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/2.572, allocations: 10.36 MB / 0.9278 GB, free: 69.23 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003174/2.575, allocations: 0.7791 MB / 0.9286 GB, free: 68.49 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001487/2.577, allocations: 53.66 kB / 0.9286 GB, free: 68.45 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005047/2.582, allocations: 169.4 kB / 0.9288 GB, free: 68.33 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008927/2.583, allocations: 312.3 kB / 0.9291 GB, free: 68.1 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003268/2.583, allocations: 131.8 kB / 0.9292 GB, free: 67.97 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.007158/2.59, allocations: 2.912 MB / 0.932 GB, free: 65.46 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.71e-07/2.59, allocations: 0 / 0.932 GB, free: 65.46 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.0121/2.602, allocations: 1.354 MB / 0.9334 GB, free: 64.12 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 143 * 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 (315): * Single equations (assignments): 310 * 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.00112/2.603, allocations: 219.9 kB / 0.9336 GB, free: 63.91 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01311/2.616, allocations: 5.859 MB / 0.9393 GB, free: 58.55 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 3.58e-05/2.617, allocations: 7.844 kB / 0.9393 GB, free: 58.54 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.004101/2.621, allocations: 1.583 MB / 0.9409 GB, free: 57.09 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005035/2.626, allocations: 0.5421 MB / 0.9414 GB, free: 56.63 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03762/2.663, allocations: 13.49 MB / 0.9546 GB, free: 44.17 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01249/2.676, allocations: 5.273 MB / 0.9597 GB, free: 40.3 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00232/2.678, allocations: 465.5 kB / 0.9601 GB, free: 39.87 MB / 0.4952 GB Notification: Performance of SimCode: time 1.213e-06/2.678, allocations: 0 / 0.9601 GB, free: 39.87 MB / 0.4952 GB Notification: Performance of Templates: time 0.5823/3.261, allocations: 83.83 MB / 1.042 GB, free: 122 MB / 0.5265 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches