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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001421/0.001421, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.422/1.422, allocations: 205.3 MB / 213.7 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008117/0.0008116, allocations: 90.62 kB / 261.7 MB, free: 1.621 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.1972/0.1972, allocations: 43.48 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.975e-05/1.977e-05, allocations: 4 kB / 418.3 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1137, allocations: 58.86 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4201/0.5339, allocations: 108.3 MB / 0.5717 GB, free: 3.426 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.5342, allocations: 78.03 kB / 0.5718 GB, free: 3.391 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7021/1.236, allocations: 143.2 MB / 0.7116 GB, free: 95.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.305e-06/1.236, allocations: 2.906 kB / 0.7116 GB, free: 95.81 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003733/1.237, allocations: 149.5 kB / 0.7118 GB, free: 95.81 MB / 0.4948 GB 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.02435/1.261, allocations: 6.731 MB / 0.7183 GB, free: 93.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/1.261, allocations: 10.19 kB / 0.7184 GB, free: 93.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01993/1.281, allocations: 3.623 MB / 0.7219 GB, free: 93.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0197/1.301, allocations: 7.683 MB / 0.7294 GB, free: 92.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006392/1.302, allocations: 264.5 kB / 0.7297 GB, free: 92.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004605/1.306, allocations: 473.3 kB / 0.7301 GB, free: 92.53 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02128/1.327, allocations: 11.42 MB / 0.7413 GB, free: 92.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03943/1.367, allocations: 16.62 MB / 0.7575 GB, free: 88.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004738/1.367, allocations: 94.47 kB / 0.7576 GB, free: 88.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003923/1.371, allocations: 54.44 kB / 0.7576 GB, free: 88.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003702/1.375, allocations: 1.948 MB / 0.7595 GB, free: 88.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0934/1.468, allocations: 77.34 MB / 0.8351 GB, free: 35.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005041/1.474, allocations: 3.477 MB / 0.8385 GB, free: 33.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002682/1.476, allocations: 1.94 MB / 0.8404 GB, free: 32.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/1.478, allocations: 1.769 MB / 0.8421 GB, free: 31.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002821/1.481, allocations: 2.074 MB / 0.8441 GB, free: 30.63 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=306): time 5.06e-06/1.481, allocations: 0 / 0.8441 GB, free: 30.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=334): time 0.03863/1.519, allocations: 16.73 MB / 0.8604 GB, free: 17.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/1.519, allocations: 158.7 kB / 0.8606 GB, free: 17.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006492/1.526, allocations: 4.46 MB / 0.865 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006537/1.527, allocations: 29.7 kB / 0.865 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004011/1.531, allocations: 5.36 MB / 0.8702 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001567/1.532, allocations: 1.24 MB / 0.8714 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004428/1.533, allocations: 0 / 0.8714 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004654/1.533, allocations: 0.7316 MB / 0.8721 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003206/1.536, allocations: 2.527 MB / 0.8746 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007052/1.543, allocations: 8.424 MB / 0.8828 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007706/1.551, allocations: 4.551 MB / 0.8873 GB, free: 5.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001963/1.551, allocations: 60 kB / 0.8873 GB, free: 5.781 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1315) (initialization): time 0.3819/1.933, allocations: 9.94 MB / 0.897 GB, free: 94.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002279/1.933, allocations: 123.6 kB / 0.8972 GB, free: 94.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004242/1.934, allocations: 214.2 kB / 0.8974 GB, free: 94.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005181/1.934, allocations: 313.9 kB / 0.8977 GB, free: 94.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01051/1.945, allocations: 2.454 MB / 0.9001 GB, free: 94.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007089/1.946, allocations: 415.3 kB / 0.9005 GB, free: 94.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009685/1.955, allocations: 446.6 kB / 0.9009 GB, free: 94.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002707/1.958, allocations: 0.5869 MB / 0.9015 GB, free: 94.13 MB / 0.5105 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.002707/1.961, allocations: 0.646 MB / 0.9021 GB, free: 94.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001524/1.962, allocations: 0.4926 MB / 0.9026 GB, free: 94.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006457/1.969, allocations: 2.962 MB / 0.9055 GB, free: 93.83 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.615e-05/1.969, allocations: 33.38 kB / 0.9055 GB, free: 93.83 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/1.969, allocations: 2.062 kB / 0.9055 GB, free: 93.83 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.273e-05/1.969, allocations: 15.78 kB / 0.9055 GB, free: 93.83 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02143/1.99, allocations: 12.06 MB / 0.9173 GB, free: 92.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-05/1.991, allocations: 32.62 kB / 0.9173 GB, free: 92.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002167/1.993, allocations: 0.6145 MB / 0.9179 GB, free: 92.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-05/1.993, allocations: 48.75 kB / 0.918 GB, free: 92.08 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/1.993, allocations: 65.31 kB / 0.918 GB, free: 92.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.05e-05/1.993, allocations: 67.62 kB / 0.9181 GB, free: 92.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.638e-05/1.993, allocations: 50.59 kB / 0.9181 GB, free: 92.08 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007541/2.001, allocations: 10.36 MB / 0.9283 GB, free: 85.15 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001916/2.003, allocations: 0.7866 MB / 0.929 GB, free: 85.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004913/2.003, allocations: 46.75 kB / 0.9291 GB, free: 85.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002171/2.005, allocations: 168 kB / 0.9292 GB, free: 85.05 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003411/2.006, allocations: 305.6 kB / 0.9295 GB, free: 85.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001826/2.006, allocations: 135 kB / 0.9296 GB, free: 85.03 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004181/2.01, allocations: 2.912 MB / 0.9325 GB, free: 84.85 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/2.01, allocations: 3.188 kB / 0.9325 GB, free: 84.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009087/2.019, allocations: 1.343 MB / 0.9338 GB, free: 84.85 MB / 0.5105 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.000644/2.02, allocations: 230.2 kB / 0.934 GB, free: 84.76 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01033/2.03, allocations: 5.861 MB / 0.9397 GB, free: 84.65 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.191e-05/2.03, allocations: 5.594 kB / 0.9398 GB, free: 84.65 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003515/2.034, allocations: 1.704 MB / 0.9414 GB, free: 84.65 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0054/2.039, allocations: 0.5449 MB / 0.9419 GB, free: 84.63 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0348/2.074, allocations: 12.68 MB / 0.9543 GB, free: 81.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01141/2.085, allocations: 5.272 MB / 0.9595 GB, free: 80.19 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009232/2.095, allocations: 2.822 MB / 0.9622 GB, free: 80.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001798/2.096, allocations: 378.8 kB / 0.9626 GB, free: 80.13 MB / 0.5105 GB Notification: Performance of SimCode: time 1.824e-06/2.096, allocations: 0 / 0.9626 GB, free: 80.13 MB / 0.5105 GB Notification: Performance of Templates: time 0.08328/2.18, allocations: 40.18 MB / 1.002 GB, free: 70.5 MB / 0.5105 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