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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 104.4 kB / 16.4 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 189.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.232/0.232, allocations: 43.51 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001403, allocations: 69.45 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1454, allocations: 57.78 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.0191/0.1645, allocations: 17.7 MB / 0.5052 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01427/0.1789, allocations: 5.259 MB / 0.5103 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003391/0.1823, allocations: 103.8 kB / 0.5104 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009539/0.1918, allocations: 5.241 MB / 0.5155 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01/0.2019, allocations: 2.836 MB / 0.5183 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003883/0.2058, allocations: 1.201 MB / 0.5195 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01243/0.2183, allocations: 7.079 MB / 0.5264 GB, free: 4.207 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3548/0.573, allocations: 6.565 MB / 0.5328 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007867/0.581, allocations: 2.806 MB / 0.5355 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008664/0.5897, allocations: 4.011 MB / 0.5395 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003011/0.5927, allocations: 0.6297 MB / 0.5401 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005517/0.5983, allocations: 1.329 MB / 0.5414 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0068/0.6051, allocations: 3.531 MB / 0.5448 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01092/0.616, allocations: 4.029 MB / 0.5488 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02018/0.6362, allocations: 12.26 MB / 0.5607 GB, free: 1.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.142e-05/0.6363, allocations: 6.25 kB / 0.5607 GB, free: 1.336 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.6363, allocations: 0 / 0.5607 GB, free: 1.336 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006617/0.637, allocations: 3.938 kB / 0.5607 GB, free: 1.332 MB / 414.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.02811/0.6651, allocations: 8.279 MB / 0.5688 GB, free: 11.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.6652, allocations: 10.03 kB / 0.5688 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01304/0.6782, allocations: 2.731 MB / 0.5715 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/0.6889, allocations: 4.013 MB / 0.5754 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005115/0.6894, allocations: 464.2 kB / 0.5759 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002876/0.6923, allocations: 0.5836 MB / 0.5764 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04748/0.7398, allocations: 21.27 MB / 0.5972 GB, free: 4.023 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002455/0.7401, allocations: 66.31 kB / 0.5973 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009498/0.7411, allocations: 284.5 kB / 0.5975 GB, free: 3.781 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005786/0.7469, allocations: 3.544 MB / 0.601 GB, free: 284 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04297/0.7898, allocations: 17.26 MB / 0.6179 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.106/0.8959, allocations: 67.57 MB / 0.6838 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01896/0.9149, allocations: 6.758 MB / 0.6904 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004831/0.9198, allocations: 2.359 MB / 0.6927 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02073/0.9406, allocations: 9.8 MB / 0.7023 GB, free: 7.684 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01483/0.9554, allocations: 4.388 MB / 0.7066 GB, free: 3.246 MB / 0.545 GB Notification: Performance of pre-optimization done (n=299): time 1.071e-05/0.9555, allocations: 8 kB / 0.7066 GB, free: 3.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=333): time 0.0746/1.03, allocations: 22.98 MB / 0.729 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/1.03, allocations: 166.7 kB / 0.7292 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01684/1.047, allocations: 6.045 MB / 0.7351 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009697/1.048, allocations: 81.69 kB / 0.7352 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.007174/1.055, allocations: 5.295 MB / 0.7404 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002305/1.058, allocations: 1.266 MB / 0.7416 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007018/1.065, allocations: 1.943 MB / 0.7435 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.065, allocations: 305.1 kB / 0.7438 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006881/1.072, allocations: 2.889 MB / 0.7466 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3583/1.43, allocations: 8.706 MB / 0.7551 GB, free: 196.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01856/1.449, allocations: 12.61 MB / 0.7674 GB, free: 188 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002923/1.449, allocations: 58.34 kB / 0.7675 GB, free: 188 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.03162/1.481, allocations: 11.37 MB / 0.7786 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001778/1.481, allocations: 120.4 kB / 0.7787 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003798/1.481, allocations: 205.9 kB / 0.7789 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000471/1.482, allocations: 274.8 kB / 0.7792 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008856/1.491, allocations: 2.373 MB / 0.7815 GB, free: 183.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004143/1.491, allocations: 407.5 kB / 0.7819 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008153/1.499, allocations: 495.2 kB / 0.7823 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002247/1.502, allocations: 0.5766 MB / 0.7829 GB, free: 183.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 77 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1271): * Single equations (assignments): 1267 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008253/1.51, allocations: 3.404 MB / 0.7862 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001552/1.511, allocations: 0.544 MB / 0.7867 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008268/1.52, allocations: 3.524 MB / 0.7902 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.271e-05/1.52, allocations: 35.25 kB / 0.7902 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.258e-05/1.52, allocations: 3.969 kB / 0.7902 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.347e-05/1.52, allocations: 18.05 kB / 0.7902 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03229/1.552, allocations: 13.73 MB / 0.8037 GB, free: 173 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.772e-05/1.552, allocations: 32 kB / 0.8037 GB, free: 172.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002308/1.555, allocations: 0.6626 MB / 0.8043 GB, free: 172.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-05/1.555, allocations: 48 kB / 0.8044 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001929/1.555, allocations: 100.8 kB / 0.8045 GB, free: 172.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.422e-05/1.555, allocations: 71.25 kB / 0.8045 GB, free: 172.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.108e-05/1.555, allocations: 47.81 kB / 0.8046 GB, free: 172.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007272/1.562, allocations: 6.213 MB / 0.8107 GB, free: 166.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002194/1.564, allocations: 0.8471 MB / 0.8115 GB, free: 165.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007405/1.565, allocations: 105.5 kB / 0.8116 GB, free: 165.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001924/1.567, allocations: 153.5 kB / 0.8117 GB, free: 165.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004138/1.567, allocations: 310.5 kB / 0.812 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/1.568, allocations: 140.8 kB / 0.8122 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007743/1.575, allocations: 3.757 MB / 0.8158 GB, free: 161.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.393e-06/1.575, allocations: 4 kB / 0.8158 GB, free: 161.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01098/1.586, allocations: 1.575 MB / 0.8174 GB, free: 160.1 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (320): * Single equations (assignments): 315 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000989/1.587, allocations: 276.8 kB / 0.8176 GB, free: 159.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01382/1.601, allocations: 6.723 MB / 0.8242 GB, free: 153.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.652e-05/1.601, allocations: 8 kB / 0.8242 GB, free: 153.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004264/1.606, allocations: 1.875 MB / 0.826 GB, free: 152.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0084/1.614, allocations: 0.8032 MB / 0.8268 GB, free: 151.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03168/1.646, allocations: 15.64 MB / 0.8421 GB, free: 136.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00974/1.656, allocations: 5.155 MB / 0.8471 GB, free: 131.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00738/1.663, allocations: 2.754 MB / 0.8498 GB, free: 128.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001711/1.665, allocations: 419.3 kB / 0.8502 GB, free: 128.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.412e-06/1.665, allocations: 0 / 0.8502 GB, free: 128.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.09117/1.756, allocations: 46.19 MB / 0.8953 GB, free: 82.3 MB / 0.5919 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches