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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 74.66 kB / 19.93 MB, free: 1.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002511/0.002511, allocations: 165.2 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2246/0.2246, allocations: 32.38 MB / 269.6 MB, free: 4.656 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5097,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=5097,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 407.4 MB, free: 3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.208e-05/3.412e-05, allocations: 2.281 kB / 407.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.02234/0.02237, allocations: 15.32 MB / 422.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0159/0.03827, allocations: 5.083 MB / 427.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004885/0.04316, allocations: 127.4 kB / 427.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01275/0.0559, allocations: 5.373 MB / 433.3 MB, free: 8.992 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.0662, allocations: 2.923 MB / 436.2 MB, free: 6.055 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003857/0.07006, allocations: 1.325 MB / 437.5 MB, free: 4.727 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01333/0.08339, allocations: 8.045 MB / 445.6 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009717/0.0931, allocations: 6.061 MB / 451.6 MB, free: 6.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0114/0.1045, allocations: 4.342 MB / 456 MB, free: 2.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01037/0.1149, allocations: 4.38 MB / 460.4 MB, free: 13.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003625/0.1185, allocations: 0.6406 MB / 461 MB, free: 13.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005759/0.1243, allocations: 1.323 MB / 462.3 MB, free: 11.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007674/0.1319, allocations: 3.775 MB / 466.1 MB, free: 8.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008595/0.1405, allocations: 2.419 MB / 468.5 MB, free: 5.605 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2999/0.4404, allocations: 12.41 MB / 480.9 MB, free: 33.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.4404, allocations: 1.125 kB / 480.9 MB, free: 33.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.4404, allocations: 0 / 480.9 MB, free: 33.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007895/0.4412, allocations: 3.562 kB / 480.9 MB, free: 33.78 MB / 398.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.03793/0.4791, allocations: 8.497 MB / 489.4 MB, free: 30.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.4792, allocations: 8.656 kB / 489.4 MB, free: 30.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0175/0.4967, allocations: 3.049 MB / 492.5 MB, free: 30.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0128/0.5095, allocations: 3.876 MB / 496.4 MB, free: 29.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007285/0.5102, allocations: 455.9 kB / 496.8 MB, free: 29.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004797/0.515, allocations: 0.5931 MB / 497.4 MB, free: 29.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06181/0.5768, allocations: 21.37 MB / 0.5066 GB, free: 19.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007118/0.5775, allocations: 80.77 kB / 0.5067 GB, free: 19.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004613/0.5821, allocations: 285.4 kB / 0.507 GB, free: 19.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00645/0.5886, allocations: 3.541 MB / 0.5104 GB, free: 16.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04375/0.6323, allocations: 17.17 MB / 0.5272 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1207/0.753, allocations: 63.21 MB / 0.5889 GB, free: 12 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02209/0.7751, allocations: 6.337 MB / 0.5951 GB, free: 9.668 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004921/0.78, allocations: 2.123 MB / 0.5972 GB, free: 7.527 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02266/0.8026, allocations: 8.297 MB / 0.6053 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01758/0.8202, allocations: 4.785 MB / 0.6099 GB, free: 10.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=299): time 8.876e-06/0.8202, allocations: 0 / 0.6099 GB, free: 10.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=333): time 0.08533/0.9056, allocations: 24.06 MB / 0.6334 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001775/0.9057, allocations: 162.3 kB / 0.6336 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01572/0.9215, allocations: 5.902 MB / 0.6393 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007922/0.9223, allocations: 77.7 kB / 0.6394 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.007175/0.9294, allocations: 5.488 MB / 0.6448 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002295/0.9317, allocations: 1.305 MB / 0.6461 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006563/0.9383, allocations: 1.932 MB / 0.6479 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.9385, allocations: 303.3 kB / 0.6482 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006845/0.9453, allocations: 2.916 MB / 0.6511 GB, free: 308 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01568/0.961, allocations: 8.738 MB / 0.6596 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2552/1.216, allocations: 12.59 MB / 0.6719 GB, free: 180.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000596/1.217, allocations: 66.94 kB / 0.672 GB, free: 180.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02699/1.244, allocations: 11.37 MB / 0.6831 GB, free: 177.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001542/1.244, allocations: 123.6 kB / 0.6832 GB, free: 177.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002669/1.244, allocations: 210 kB / 0.6834 GB, free: 177.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002542/1.244, allocations: 272.8 kB / 0.6837 GB, free: 177.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008313/1.253, allocations: 2.395 MB / 0.686 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003388/1.253, allocations: 407.9 kB / 0.6864 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009271/1.262, allocations: 0.6542 MB / 0.687 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002193/1.265, allocations: 0.5758 MB / 0.6876 GB, free: 176.5 MB / 0.5294 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.007827/1.272, allocations: 3.4 MB / 0.6909 GB, free: 175 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001309/1.274, allocations: 0.5065 MB / 0.6914 GB, free: 175 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006107/1.28, allocations: 3.404 MB / 0.6947 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-05/1.28, allocations: 36 kB / 0.6948 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/1.28, allocations: 4 kB / 0.6948 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.849e-05/1.28, allocations: 14.81 kB / 0.6948 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02067/1.301, allocations: 11.41 MB / 0.7059 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.65e-05/1.301, allocations: 33.41 kB / 0.7059 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002465/1.303, allocations: 0.6648 MB / 0.7066 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.25e-05/1.303, allocations: 44 kB / 0.7066 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002085/1.303, allocations: 104.5 kB / 0.7067 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.521e-05/1.303, allocations: 63.78 kB / 0.7068 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.933e-05/1.303, allocations: 55.75 kB / 0.7068 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007775/1.311, allocations: 6.092 MB / 0.7128 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002324/1.313, allocations: 0.7805 MB / 0.7136 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007041/1.314, allocations: 107.5 kB / 0.7137 GB, free: 155 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002456/1.317, allocations: 248.9 kB / 0.7139 GB, free: 154.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003627/1.317, allocations: 320 kB / 0.7142 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001774/1.317, allocations: 140 kB / 0.7143 GB, free: 154.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004946/1.322, allocations: 3.398 MB / 0.7177 GB, free: 150.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/1.322, allocations: 0 / 0.7177 GB, free: 150.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008888/1.331, allocations: 1.715 MB / 0.7193 GB, free: 149.2 MB / 0.5294 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.0009526/1.332, allocations: 312.4 kB / 0.7196 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01114/1.343, allocations: 6.461 MB / 0.7259 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.456e-05/1.343, allocations: 8.125 kB / 0.7259 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003578/1.347, allocations: 1.791 MB / 0.7277 GB, free: 140.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006147/1.353, allocations: 0.6561 MB / 0.7283 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03035/1.383, allocations: 15.61 MB / 0.7436 GB, free: 124 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008289/1.391, allocations: 4.666 MB / 0.7481 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007671/1.399, allocations: 2.699 MB / 0.7508 GB, free: 116.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001948/1.401, allocations: 400.4 kB / 0.7512 GB, free: 116.2 MB / 0.5294 GB Notification: Performance of SimCode: time 2.275e-06/1.401, allocations: 0 / 0.7512 GB, free: 116.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.08472/1.486, allocations: 39.37 MB / 0.7896 GB, free: 77 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.024981297552586]