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.0008565/0.0008565, allocations: 84.44 kB / 20.69 MB, free: 3.875 MB / 18.57 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.0008976/0.0008976, allocations: 169.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 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 0.8221/0.8221, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.1227/0.1227, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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 1.343e-06/1.343e-06, allocations: 0 / 408.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.202e-05, allocations: 6.078 kB / 408.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01066/0.01068, allocations: 15.32 MB / 423.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009002/0.01968, allocations: 5.083 MB / 428.5 MB, free: 8.516 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00188/0.02156, allocations: 119.5 kB / 428.6 MB, free: 8.398 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004816/0.02638, allocations: 5.384 MB / 434 MB, free: 2.996 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004456/0.03084, allocations: 2.915 MB / 436.9 MB, free: 68 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1641/0.1949, allocations: 1.316 MB / 438.3 MB, free: 16.49 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00698/0.2019, allocations: 8.042 MB / 446.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005125/0.207, allocations: 6.056 MB / 452.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004103/0.2111, allocations: 4.347 MB / 456.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003216/0.2143, allocations: 4.375 MB / 461.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00066/0.215, allocations: 0.6409 MB / 461.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.2164, allocations: 1.323 MB / 463 MB, free: 11.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001454/0.2178, allocations: 3.771 MB / 466.8 MB, free: 9.742 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.2192, allocations: 2.42 MB / 469.2 MB, free: 8.207 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005967/0.2251, allocations: 12.43 MB / 481.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2251, allocations: 2.156 kB / 481.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2251, allocations: 0 / 481.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001126/0.2253, allocations: 0 / 481.7 MB, free: 12.34 MB / 378.7 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.00868/0.2339, allocations: 8.5 MB / 490.2 MB, free: 3.941 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.234, allocations: 12.03 kB / 490.2 MB, free: 3.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005663/0.2396, allocations: 2.837 MB / 493 MB, free: 1.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004074/0.2437, allocations: 3.872 MB / 496.9 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.2439, allocations: 463.2 kB / 497.3 MB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006172/0.2445, allocations: 0.588 MB / 497.9 MB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02346/0.268, allocations: 21.41 MB / 0.5072 GB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/0.2681, allocations: 76.91 kB / 0.5072 GB, free: 6.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004663/0.2686, allocations: 281.2 kB / 0.5075 GB, free: 6.039 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003177/0.2718, allocations: 3.541 MB / 0.511 GB, free: 2.543 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0235/0.2953, allocations: 17.27 MB / 0.5278 GB, free: 1.582 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05155/0.3468, allocations: 63.31 MB / 0.5897 GB, free: 1.504 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/0.357, allocations: 6.355 MB / 0.5959 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002301/0.3593, allocations: 2.154 MB / 0.598 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009361/0.3687, allocations: 8.337 MB / 0.6061 GB, free: 0.668 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007701/0.3764, allocations: 4.793 MB / 0.6108 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=299): time 3.997e-06/0.3764, allocations: 3.938 kB / 0.6108 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=333): time 0.3012/0.6776, allocations: 24.18 MB / 0.6344 GB, free: 169 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.6777, allocations: 163.2 kB / 0.6346 GB, free: 168.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005107/0.6828, allocations: 5.91 MB / 0.6403 GB, free: 166.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.6829, allocations: 77.61 kB / 0.6404 GB, free: 166.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002344/0.6853, allocations: 5.498 MB / 0.6458 GB, free: 162.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005433/0.6858, allocations: 1.303 MB / 0.647 GB, free: 162 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/0.6871, allocations: 1.923 MB / 0.6489 GB, free: 161 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.364e-05/0.6871, allocations: 304.9 kB / 0.6492 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002438/0.6896, allocations: 2.915 MB / 0.6521 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003598/0.6932, allocations: 8.742 MB / 0.6606 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0067/0.6999, allocations: 12.61 MB / 0.6729 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.79e-05/0.6999, allocations: 60.44 kB / 0.673 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.008967/0.7089, allocations: 11.36 MB / 0.6841 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.412e-05/0.709, allocations: 125.5 kB / 0.6842 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-05/0.7091, allocations: 206 kB / 0.6844 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001071/0.7092, allocations: 272 kB / 0.6846 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003208/0.7124, allocations: 2.373 MB / 0.687 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001207/0.7125, allocations: 408.1 kB / 0.6873 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003281/0.7158, allocations: 0.5854 MB / 0.6879 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003336/0.7161, allocations: 0.578 MB / 0.6885 GB, free: 126.1 MB / 0.5105 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.002978/0.7191, allocations: 3.392 MB / 0.6918 GB, free: 123 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003616/0.7194, allocations: 0.5122 MB / 0.6923 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003024/0.7225, allocations: 3.459 MB / 0.6957 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.7225, allocations: 36.61 kB / 0.6957 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.7225, allocations: 3.938 kB / 0.6957 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.7225, allocations: 15.94 kB / 0.6957 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009184/0.7317, allocations: 11.41 MB / 0.7069 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/0.7317, allocations: 36.03 kB / 0.7069 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.7328, allocations: 0.6513 MB / 0.7075 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-05/0.7329, allocations: 48 kB / 0.7076 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.044e-05/0.733, allocations: 108 kB / 0.7077 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.877e-05/0.733, allocations: 73.8 kB / 0.7078 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/0.733, allocations: 47.81 kB / 0.7078 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003922/0.7369, allocations: 6.107 MB / 0.7138 GB, free: 99.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000853/0.7378, allocations: 0.7811 MB / 0.7145 GB, free: 98.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/0.7381, allocations: 95.98 kB / 0.7146 GB, free: 98.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.7392, allocations: 231.7 kB / 0.7148 GB, free: 98.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/0.7394, allocations: 320 kB / 0.7151 GB, free: 97.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.952e-05/0.7395, allocations: 132 kB / 0.7153 GB, free: 97.86 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002355/0.7418, allocations: 3.406 MB / 0.7186 GB, free: 94.46 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.7418, allocations: 4 kB / 0.7186 GB, free: 94.46 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0044/0.7462, allocations: 1.707 MB / 0.7203 GB, free: 92.75 MB / 0.5105 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.0003657/0.7466, allocations: 301.5 kB / 0.7206 GB, free: 92.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005397/0.752, allocations: 6.47 MB / 0.7269 GB, free: 86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/0.752, allocations: 8 kB / 0.7269 GB, free: 86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.7536, allocations: 1.674 MB / 0.7285 GB, free: 84.33 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/0.7555, allocations: 0.6573 MB / 0.7292 GB, free: 83.69 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.7688, allocations: 16.35 MB / 0.7451 GB, free: 66.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00289/0.7717, allocations: 4.654 MB / 0.7497 GB, free: 62.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008376/0.7725, allocations: 472.4 kB / 0.7501 GB, free: 61.68 MB / 0.5105 GB Notification: Performance of SimCode: time 9.92e-07/0.7725, allocations: 3.938 kB / 0.7501 GB, free: 61.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.2269/0.9994, allocations: 92.65 MB / 0.8406 GB, free: 144.4 MB / 0.5262 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: 10.086604878306389]