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.006204/0.006203, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.001217/0.001216, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.643/1.643, allocations: 205.1 MB / 222.6 MB, free: 4.934 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4234/0.4234, allocations: 43.5 MB / 313.5 MB, free: 8.375 MB / 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.001423/0.001423, allocations: 59.91 kB / 382 MB, free: 8.801 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1419, allocations: 57.78 MB / 439.8 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.3452/0.4872, allocations: 87.6 MB / 0.5151 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05546/0.5427, allocations: 16.79 MB / 0.5314 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02951/0.5722, allocations: 370.4 kB / 0.5318 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0132/0.5855, allocations: 5.231 MB / 0.5369 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01128/0.5969, allocations: 2.584 MB / 0.5394 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00432/0.6012, allocations: 1.11 MB / 0.5405 GB, free: 9.598 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01543/0.6166, allocations: 10.3 MB / 0.5506 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009371/0.6261, allocations: 6.56 MB / 0.557 GB, free: 9.328 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006203/0.6323, allocations: 2.507 MB / 0.5594 GB, free: 6.812 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007604/0.6399, allocations: 4.249 MB / 0.5636 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002736/0.6427, allocations: 484 kB / 0.564 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00437/0.6471, allocations: 1.237 MB / 0.5652 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00505/0.6522, allocations: 3.405 MB / 0.5686 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008182/0.6604, allocations: 3.891 MB / 0.5724 GB, free: 9.512 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01934/0.6797, allocations: 11.67 MB / 0.5838 GB, free: 13.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.6798, allocations: 0 / 0.5838 GB, free: 13.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6798, allocations: 0 / 0.5838 GB, free: 13.8 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005975/0.6804, allocations: 4 kB / 0.5838 GB, free: 13.8 MB / 462.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.02447/0.7049, allocations: 8.281 MB / 0.5919 GB, free: 5.43 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.893e-05/0.705, allocations: 8.031 kB / 0.5919 GB, free: 5.422 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0119/0.7169, allocations: 2.728 MB / 0.5945 GB, free: 2.68 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01092/0.7279, allocations: 3.956 MB / 0.5984 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005445/0.7284, allocations: 464.2 kB / 0.5988 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003006/0.7315, allocations: 0.5894 MB / 0.5994 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05037/0.7818, allocations: 21.26 MB / 0.6202 GB, free: 7.203 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000297/0.7822, allocations: 71.33 kB / 0.6202 GB, free: 7.133 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001363/0.7836, allocations: 291.7 kB / 0.6205 GB, free: 6.848 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006304/0.7899, allocations: 3.541 MB / 0.624 GB, free: 3.305 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5071/1.297, allocations: 17.26 MB / 0.6408 GB, free: 136.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1015/1.399, allocations: 67.91 MB / 0.7071 GB, free: 89.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01769/1.416, allocations: 6.751 MB / 0.7137 GB, free: 85.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003546/1.42, allocations: 2.319 MB / 0.716 GB, free: 84.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01496/1.435, allocations: 9.81 MB / 0.7256 GB, free: 74.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01334/1.448, allocations: 4.392 MB / 0.7299 GB, free: 70.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=299): time 6.132e-06/1.448, allocations: 0 / 0.7299 GB, free: 70.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=333): time 0.05708/1.505, allocations: 23 MB / 0.7523 GB, free: 46.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/1.506, allocations: 158.7 kB / 0.7525 GB, free: 46.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00741/1.513, allocations: 6.054 MB / 0.7584 GB, free: 40.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006623/1.514, allocations: 77.7 kB / 0.7585 GB, free: 40.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004213/1.518, allocations: 5.298 MB / 0.7636 GB, free: 35.24 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001561/1.519, allocations: 1.269 MB / 0.7649 GB, free: 33.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002345/1.522, allocations: 1.944 MB / 0.7668 GB, free: 32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.474e-05/1.522, allocations: 301.1 kB / 0.7671 GB, free: 31.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004108/1.526, allocations: 2.889 MB / 0.7699 GB, free: 28.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007333/1.533, allocations: 8.71 MB / 0.7784 GB, free: 17.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01381/1.547, allocations: 12.6 MB / 0.7907 GB, free: 1.715 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001817/1.547, allocations: 60 kB / 0.7908 GB, free: 1.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02744/1.575, allocations: 11.38 MB / 0.8019 GB, free: 6.227 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002095/1.575, allocations: 117.7 kB / 0.802 GB, free: 6.105 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003329/1.575, allocations: 204 kB / 0.8022 GB, free: 5.906 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003121/1.576, allocations: 280 kB / 0.8025 GB, free: 5.633 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008888/1.585, allocations: 2.363 MB / 0.8048 GB, free: 3.266 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003963/1.585, allocations: 414.3 kB / 0.8052 GB, free: 2.859 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008327/1.593, allocations: 491.3 kB / 0.8056 GB, free: 2.379 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002102/1.596, allocations: 0.5781 MB / 0.8062 GB, free: 1.801 MB / 0.4982 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.008577/1.604, allocations: 3.405 MB / 0.8095 GB, free: 14.38 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001482/1.606, allocations: 0.5438 MB / 0.81 GB, free: 13.83 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007665/1.613, allocations: 3.519 MB / 0.8135 GB, free: 10.26 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-05/1.614, allocations: 39.98 kB / 0.8135 GB, free: 10.22 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/1.614, allocations: 4 kB / 0.8135 GB, free: 10.22 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-05/1.614, allocations: 15.94 kB / 0.8135 GB, free: 10.2 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3118/1.925, allocations: 13.75 MB / 0.827 GB, free: 155 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.163e-05/1.925, allocations: 35.22 kB / 0.827 GB, free: 155 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00244/1.928, allocations: 0.6586 MB / 0.8276 GB, free: 155 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.919e-05/1.928, allocations: 45.19 kB / 0.8277 GB, free: 155 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002259/1.928, allocations: 107.3 kB / 0.8278 GB, free: 155 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-05/1.928, allocations: 68.58 kB / 0.8279 GB, free: 155 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.839e-05/1.928, allocations: 53.41 kB / 0.8279 GB, free: 155 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007405/1.936, allocations: 6.205 MB / 0.834 GB, free: 152.8 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002127/1.938, allocations: 0.8453 MB / 0.8348 GB, free: 152.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007708/1.939, allocations: 107.5 kB / 0.8349 GB, free: 152.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/1.941, allocations: 160.9 kB / 0.835 GB, free: 152.5 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003692/1.941, allocations: 301.8 kB / 0.8353 GB, free: 152.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/1.941, allocations: 138.7 kB / 0.8355 GB, free: 152.4 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007309/1.949, allocations: 3.767 MB / 0.8391 GB, free: 151.1 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.303e-06/1.949, allocations: 0 / 0.8391 GB, free: 151.1 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01127/1.96, allocations: 1.568 MB / 0.8407 GB, free: 150.9 MB / 0.5138 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.001074/1.961, allocations: 286.4 kB / 0.841 GB, free: 150.8 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0119/1.973, allocations: 6.625 MB / 0.8474 GB, free: 148.6 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.968e-05/1.973, allocations: 5.5 kB / 0.8474 GB, free: 148.6 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003986/1.977, allocations: 1.877 MB / 0.8493 GB, free: 147.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005494/1.983, allocations: 0.7624 MB / 0.85 GB, free: 147.6 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03272/2.015, allocations: 19.45 MB / 0.869 GB, free: 136.4 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008868/2.024, allocations: 5.145 MB / 0.874 GB, free: 134.6 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.009035/2.033, allocations: 2.757 MB / 0.8767 GB, free: 134.4 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/2.035, allocations: 417.5 kB / 0.8771 GB, free: 134.4 MB / 0.5138 GB Notification: Performance of SimCode: time 1.342e-06/2.035, allocations: 0 / 0.8771 GB, free: 134.4 MB / 0.5138 GB Notification: Performance of Templates: time 0.08515/2.12, allocations: 49.74 MB / 0.9257 GB, free: 93.45 MB / 0.5138 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