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.000928/0.0009281, allocations: 96.05 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 173.8 kB / 16.56 MB, free: 6.379 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.268/1.268, allocations: 205.4 MB / 222.7 MB, free: 5.898 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.3142/0.3142, allocations: 43.55 MB / 314.5 MB, free: 8.895 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.000517/0.0005172, allocations: 12 kB / 383.9 MB, free: 8.289 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1213, allocations: 58.85 MB / 442.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.2788/0.4002, allocations: 75.03 MB / 0.5056 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04465/0.4449, allocations: 16.82 MB / 0.5221 GB, free: 6.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02138/0.4663, allocations: 368.2 kB / 0.5224 GB, free: 6.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01682/0.4832, allocations: 3.743 MB / 0.5261 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04252/0.5258, allocations: 10.55 MB / 0.5364 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006013/0.5318, allocations: 1.079 MB / 0.5374 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009265/0.5411, allocations: 3.952 MB / 0.5413 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01267/0.5538, allocations: 8.497 MB / 0.5496 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0039/0.5578, allocations: 1.783 MB / 0.5513 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004399/0.5622, allocations: 2.563 MB / 0.5538 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001323/0.5636, allocations: 276 kB / 0.5541 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.5662, allocations: 0.8622 MB / 0.5549 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003432/0.5696, allocations: 2.837 MB / 0.5577 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002577/0.5722, allocations: 1.435 MB / 0.5591 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.5837, allocations: 9.387 MB / 0.5683 GB, free: 15.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.5837, allocations: 7.938 kB / 0.5683 GB, free: 15.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5838, allocations: 0 / 0.5683 GB, free: 15.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004965/0.5843, allocations: 4 kB / 0.5683 GB, free: 15.45 MB / 446.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.01566/0.5999, allocations: 6.838 MB / 0.575 GB, free: 8.527 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.6, allocations: 12.03 kB / 0.575 GB, free: 8.516 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0131/0.6131, allocations: 3.271 MB / 0.5782 GB, free: 5.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009569/0.6227, allocations: 4.409 MB / 0.5825 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003972/0.6232, allocations: 463.6 kB / 0.5829 GB, free: 316 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002052/0.6252, allocations: 0.5855 MB / 0.5835 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04391/0.6691, allocations: 21.5 MB / 0.6045 GB, free: 9.07 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001895/0.6694, allocations: 67.34 kB / 0.6045 GB, free: 9.004 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008612/0.6702, allocations: 291.7 kB / 0.6048 GB, free: 8.719 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005266/0.6755, allocations: 3.545 MB / 0.6083 GB, free: 5.168 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03839/0.7139, allocations: 17.52 MB / 0.6254 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5479/1.262, allocations: 70.48 MB / 0.6942 GB, free: 30.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0378/1.3, allocations: 14.57 MB / 0.7084 GB, free: 24.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02018/1.32, allocations: 14.53 MB / 0.7226 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03423/1.354, allocations: 12.44 MB / 0.7348 GB, free: 4.051 MB / 494.1 MB Notification: Performance of pre-optimization done (n=303): time 6.913e-06/1.354, allocations: 0 / 0.7348 GB, free: 4.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=337): time 0.1164/1.471, allocations: 42.31 MB / 0.7761 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/1.471, allocations: 168.9 kB / 0.7763 GB, free: 14 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009243/1.48, allocations: 6.379 MB / 0.7825 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009923/1.481, allocations: 78.45 kB / 0.7826 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005085/1.486, allocations: 5.303 MB / 0.7877 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002133/1.489, allocations: 1.276 MB / 0.789 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000537/1.489, allocations: 197.2 kB / 0.7892 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0005589/1.49, allocations: 0.73 MB / 0.7899 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005492/1.495, allocations: 3.239 MB / 0.7931 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009616/1.505, allocations: 9.018 MB / 0.8019 GB, free: 6.488 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008829/1.514, allocations: 5.237 MB / 0.807 GB, free: 2.992 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002057/1.514, allocations: 60 kB / 0.807 GB, free: 2.934 MB / 0.545 GB Notification: Performance of matching and sorting (n=1288) (initialization): time 0.02737/1.541, allocations: 12.23 MB / 0.819 GB, free: 7.871 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004982/1.542, allocations: 117.7 kB / 0.8191 GB, free: 7.75 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004729/1.542, allocations: 204 kB / 0.8193 GB, free: 7.551 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009928/1.543, allocations: 0.5361 MB / 0.8198 GB, free: 7.012 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009121/1.552, allocations: 2.417 MB / 0.8222 GB, free: 4.797 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00308/1.556, allocations: 2.725 MB / 0.8248 GB, free: 2.035 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008166/1.564, allocations: 0.5626 MB / 0.8254 GB, free: 1.473 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002019/1.566, allocations: 0.5742 MB / 0.8259 GB, free: 0.8984 MB / 0.5607 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 ($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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1260): * Single equations (assignments): 1255 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008074/1.574, allocations: 3.4 MB / 0.8293 GB, free: 13.69 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001542/1.575, allocations: 0.5476 MB / 0.8298 GB, free: 13.13 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009435/1.585, allocations: 4.432 MB / 0.8341 GB, free: 8.652 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-05/1.585, allocations: 41.64 kB / 0.8342 GB, free: 8.613 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/1.585, allocations: 0 / 0.8342 GB, free: 8.613 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.041e-05/1.585, allocations: 15.94 kB / 0.8342 GB, free: 8.598 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2663/1.851, allocations: 13.69 MB / 0.8475 GB, free: 214.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.295e-05/1.851, allocations: 28.34 kB / 0.8476 GB, free: 214.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002524/1.854, allocations: 0.7058 MB / 0.8483 GB, free: 214.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.102e-05/1.854, allocations: 46.59 kB / 0.8483 GB, free: 214.2 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001941/1.854, allocations: 95.88 kB / 0.8484 GB, free: 214.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.574e-05/1.854, allocations: 60.64 kB / 0.8485 GB, free: 214.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.789e-05/1.854, allocations: 43.72 kB / 0.8485 GB, free: 214.1 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009447/1.864, allocations: 11.83 MB / 0.86 GB, free: 206.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00272/1.867, allocations: 0.8951 MB / 0.8609 GB, free: 206.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001022/1.868, allocations: 97.23 kB / 0.861 GB, free: 206.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/1.87, allocations: 191.6 kB / 0.8612 GB, free: 206.3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003504/1.87, allocations: 292.3 kB / 0.8615 GB, free: 206.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/1.87, allocations: 134.9 kB / 0.8616 GB, free: 206.3 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006055/1.876, allocations: 3.998 MB / 0.8655 GB, free: 205.2 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.81e-07/1.876, allocations: 2.438 kB / 0.8655 GB, free: 205.2 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008326/1.885, allocations: 1.63 MB / 0.8671 GB, free: 205 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 128 * 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 (322): * Single equations (assignments): 317 * 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.0007912/1.886, allocations: 285.6 kB / 0.8674 GB, free: 204.8 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01337/1.899, allocations: 7.322 MB / 0.8745 GB, free: 202.3 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.772e-05/1.899, allocations: 8.375 kB / 0.8745 GB, free: 202.3 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.004025/1.903, allocations: 1.973 MB / 0.8765 GB, free: 201.7 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004461/1.908, allocations: 0.7102 MB / 0.8772 GB, free: 201.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03191/1.94, allocations: 18.81 MB / 0.8955 GB, free: 191 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007852/1.947, allocations: 5.29 MB / 0.9007 GB, free: 189.2 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007239/1.955, allocations: 2.812 MB / 0.9034 GB, free: 189 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/1.956, allocations: 422.5 kB / 0.9038 GB, free: 188.9 MB / 0.5763 GB Notification: Performance of SimCode: time 1.022e-06/1.956, allocations: 0 / 0.9038 GB, free: 188.9 MB / 0.5763 GB Notification: Performance of Templates: time 0.09051/2.046, allocations: 52.2 MB / 0.9548 GB, free: 144.8 MB / 0.5763 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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