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.00124/0.00124, allocations: 110.1 kB / 16.41 MB, free: 6.488 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.001202/0.001202, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.789/1.789, allocations: 205.1 MB / 223.2 MB, free: 12.1 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.2414/0.2414, allocations: 43.53 MB / 314.1 MB, free: 440 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.001472/0.001472, allocations: 65.47 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.149, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01976/0.1688, allocations: 17.69 MB / 0.5052 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01484/0.1837, allocations: 5.255 MB / 0.5103 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005234/0.189, allocations: 103.8 kB / 0.5104 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01096/0.1999, allocations: 5.241 MB / 0.5155 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01226/0.2123, allocations: 2.832 MB / 0.5183 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004302/0.2166, allocations: 1.197 MB / 0.5195 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01353/0.2302, allocations: 7.087 MB / 0.5264 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3618/0.592, allocations: 6.555 MB / 0.5328 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006552/0.5986, allocations: 2.809 MB / 0.5355 GB, free: 7.148 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009646/0.6083, allocations: 4.011 MB / 0.5394 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003448/0.6118, allocations: 0.6293 MB / 0.5401 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006019/0.6178, allocations: 1.332 MB / 0.5414 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006731/0.6246, allocations: 3.533 MB / 0.5448 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01182/0.6364, allocations: 4.026 MB / 0.5487 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01906/0.6555, allocations: 12.26 MB / 0.5607 GB, free: 1.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.6555, allocations: 0 / 0.5607 GB, free: 1.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6555, allocations: 0 / 0.5607 GB, free: 1.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005928/0.6561, allocations: 4 kB / 0.5607 GB, free: 1.066 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.03207/0.6882, allocations: 8.283 MB / 0.5688 GB, free: 11.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.6883, allocations: 9.281 kB / 0.5688 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01307/0.7014, allocations: 2.734 MB / 0.5715 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009721/0.7111, allocations: 4.013 MB / 0.5754 GB, free: 8.004 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003674/0.7115, allocations: 468.3 kB / 0.5759 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001534/0.7131, allocations: 0.5843 MB / 0.5764 GB, free: 7.711 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05217/0.7652, allocations: 21.27 MB / 0.5972 GB, free: 3.906 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003256/0.7656, allocations: 69.28 kB / 0.5973 GB, free: 3.871 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009692/0.7666, allocations: 280.8 kB / 0.5975 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006001/0.7726, allocations: 3.548 MB / 0.601 GB, free: 160 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04435/0.817, allocations: 17.26 MB / 0.6178 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1054/0.9224, allocations: 67.57 MB / 0.6838 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0192/0.9417, allocations: 6.754 MB / 0.6904 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004097/0.9458, allocations: 2.362 MB / 0.6927 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01669/0.9625, allocations: 9.8 MB / 0.7023 GB, free: 7.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01508/0.9777, allocations: 4.395 MB / 0.7066 GB, free: 3.129 MB / 0.545 GB Notification: Performance of pre-optimization done (n=299): time 8.556e-06/0.9777, allocations: 0 / 0.7066 GB, free: 3.129 MB / 0.545 GB Notification: Performance of matching and sorting (n=333): time 0.07464/1.052, allocations: 22.99 MB / 0.729 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002065/1.053, allocations: 162.7 kB / 0.7292 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01458/1.067, allocations: 6.046 MB / 0.7351 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008108/1.068, allocations: 80.83 kB / 0.7352 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.006515/1.075, allocations: 5.298 MB / 0.7404 GB, free: 396 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002214/1.077, allocations: 1.268 MB / 0.7416 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003217/1.08, allocations: 1.943 MB / 0.7435 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.08, allocations: 309.1 kB / 0.7438 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005788/1.086, allocations: 2.885 MB / 0.7466 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3647/1.451, allocations: 8.711 MB / 0.7551 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01673/1.468, allocations: 12.61 MB / 0.7674 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002552/1.468, allocations: 58.81 kB / 0.7675 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02788/1.496, allocations: 11.37 MB / 0.7786 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002098/1.496, allocations: 121.2 kB / 0.7787 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004663/1.496, allocations: 204.2 kB / 0.7789 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004675/1.497, allocations: 273.9 kB / 0.7791 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008728/1.506, allocations: 2.38 MB / 0.7815 GB, free: 183.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004852/1.506, allocations: 403.2 kB / 0.7819 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008903/1.515, allocations: 489.8 kB / 0.7823 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002131/1.517, allocations: 0.5748 MB / 0.7829 GB, free: 183.3 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.008594/1.526, allocations: 3.41 MB / 0.7862 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/1.527, allocations: 0.5417 MB / 0.7867 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006647/1.534, allocations: 3.518 MB / 0.7902 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.945e-05/1.534, allocations: 35.16 kB / 0.7902 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/1.534, allocations: 4 kB / 0.7902 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.153e-05/1.534, allocations: 19.36 kB / 0.7902 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02423/1.558, allocations: 13.75 MB / 0.8037 GB, free: 172.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.771e-05/1.558, allocations: 35.61 kB / 0.8037 GB, free: 172.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002417/1.561, allocations: 0.6553 MB / 0.8043 GB, free: 172.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-05/1.561, allocations: 48 kB / 0.8044 GB, free: 172.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/1.561, allocations: 104.6 kB / 0.8045 GB, free: 172.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.349e-05/1.561, allocations: 66.38 kB / 0.8045 GB, free: 172 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.865e-05/1.561, allocations: 51.75 kB / 0.8046 GB, free: 171.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007617/1.569, allocations: 6.222 MB / 0.8107 GB, free: 165.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002626/1.571, allocations: 0.8442 MB / 0.8115 GB, free: 165.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000798/1.572, allocations: 99.36 kB / 0.8116 GB, free: 165 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002088/1.574, allocations: 155.6 kB / 0.8117 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000378/1.574, allocations: 314.4 kB / 0.812 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/1.575, allocations: 131.7 kB / 0.8122 GB, free: 164.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006425/1.581, allocations: 3.761 MB / 0.8158 GB, free: 161.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.41e-07/1.581, allocations: 0 / 0.8158 GB, free: 161.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01157/1.593, allocations: 1.582 MB / 0.8174 GB, free: 159.9 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.0008862/1.594, allocations: 267.5 kB / 0.8176 GB, free: 159.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01216/1.606, allocations: 6.719 MB / 0.8242 GB, free: 153.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.897e-05/1.606, allocations: 4 kB / 0.8242 GB, free: 153.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003842/1.61, allocations: 1.886 MB / 0.826 GB, free: 152 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006176/1.616, allocations: 0.7989 MB / 0.8268 GB, free: 151.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02908/1.645, allocations: 15.64 MB / 0.8421 GB, free: 136.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006602/1.652, allocations: 5.143 MB / 0.8471 GB, free: 131.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006739/1.658, allocations: 2.75 MB / 0.8498 GB, free: 128.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/1.66, allocations: 419.4 kB / 0.8502 GB, free: 128.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.062e-06/1.66, allocations: 0 / 0.8502 GB, free: 128.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.08738/1.747, allocations: 46.2 MB / 0.8953 GB, free: 82.18 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