Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 185 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 43.92 kB / 371.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2375, allocations: 52.18 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003891/0.2414, allocations: 2.267 MB / 426.1 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005087/0.2419, allocations: 239.2 kB / 426.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.242, allocations: 7.938 kB / 426.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.2421, allocations: 43.56 kB / 426.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.2423, allocations: 91.2 kB / 426.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.2425, allocations: 59.86 kB / 426.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003808/0.2429, allocations: 290.6 kB / 426.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.2431, allocations: 73.77 kB / 426.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.2432, allocations: 107.6 kB / 427 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.2434, allocations: 103.5 kB / 427.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.267e-05/0.2434, allocations: 24 kB / 427.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.53e-05/0.2435, allocations: 24 kB / 427.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.574e-05/0.2436, allocations: 47.78 kB / 427.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.2437, allocations: 119.5 kB / 427.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003946/0.2441, allocations: 289.7 kB / 427.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2441, allocations: 0 / 427.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2441, allocations: 4 kB / 427.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.2441, allocations: 0 / 427.6 MB, free: 10.73 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008139/0.2449, allocations: 481.5 kB / 428 MB, free: 10.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.245, allocations: 11.97 kB / 428 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.979e-05/0.245, allocations: 32.75 kB / 428.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.2454, allocations: 190.8 kB / 428.3 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2454, allocations: 12.88 kB / 428.3 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.897e-05/0.2454, allocations: 32.33 kB / 428.3 MB, free: 9.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/0.2458, allocations: 235.2 kB / 428.5 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.2459, allocations: 8.125 kB / 428.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.2459, allocations: 11.94 kB / 428.6 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.2459, allocations: 11.98 kB / 428.6 MB, free: 9.648 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.2462, allocations: 155.9 kB / 428.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.2474, allocations: 0.6603 MB / 429.4 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000535/0.2479, allocations: 291.6 kB / 429.7 MB, free: 8.484 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.2482, allocations: 118.5 kB / 429.8 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.2482, allocations: 4 kB / 429.8 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.2482, allocations: 38.5 kB / 429.8 MB, free: 8.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.2482, allocations: 0 / 429.8 MB, free: 8.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002683/0.2509, allocations: 1.503 MB / 431.3 MB, free: 6.656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.251, allocations: 110.8 kB / 431.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.2512, allocations: 166.5 kB / 431.6 MB, free: 6.352 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.2513, allocations: 29.7 kB / 431.6 MB, free: 6.316 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2514, allocations: 148.8 kB / 431.8 MB, free: 6.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.2515, allocations: 162.5 kB / 431.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.2517, allocations: 79.06 kB / 432 MB, free: 5.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002493/0.2519, allocations: 334.8 kB / 432.3 MB, free: 5.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.2521, allocations: 92.84 kB / 432.4 MB, free: 5.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.2523, allocations: 158.3 kB / 432.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.2527, allocations: 284.9 kB / 432.9 MB, free: 5.027 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2527, allocations: 4 kB / 432.9 MB, free: 5.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005321/0.2532, allocations: 333.2 kB / 433.2 MB, free: 4.691 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2533, allocations: 8 kB / 433.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2533, allocations: 0 / 433.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.2533, allocations: 12.03 kB / 433.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.2536, allocations: 99.78 kB / 433.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.2536, allocations: 4 kB / 433.3 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.2538, allocations: 16 kB / 433.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.2538, allocations: 12 kB / 433.3 MB, free: 4.543 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * 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.0001713/0.2539, allocations: 153.8 kB / 433.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.239e-05/0.254, allocations: 27.8 kB / 433.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.798e-05/0.2541, allocations: 37.75 kB / 433.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2541, allocations: 7.938 kB / 433.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.2541, allocations: 8 kB / 433.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.2541, allocations: 8.016 kB / 433.6 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.2555, allocations: 0.9254 MB / 434.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.2555, allocations: 4 kB / 434.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/0.2559, allocations: 92.17 kB / 434.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.2559, allocations: 11.94 kB / 434.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.2559, allocations: 8 kB / 434.6 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-05/0.2559, allocations: 7.938 kB / 434.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.2559, allocations: 4 kB / 434.6 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009566/0.2569, allocations: 0.7138 MB / 435.3 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.013e-05/0.257, allocations: 23.86 kB / 435.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.257, allocations: 16 kB / 435.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.2572, allocations: 11.94 kB / 435.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.2573, allocations: 39.88 kB / 435.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.2573, allocations: 16 kB / 435.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.2574, allocations: 124.8 kB / 435.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2574, allocations: 0 / 435.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005338/0.2579, allocations: 72 kB / 435.6 MB, free: 2.113 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001289/0.2581, allocations: 115.1 kB / 435.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004472/0.2585, allocations: 251.7 kB / 436 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2585, allocations: 0 / 436 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.2587, allocations: 139.9 kB / 436.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000674/0.2594, allocations: 67.58 kB / 436.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.2609, allocations: 0.9619 MB / 437.2 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.2611, allocations: 163.6 kB / 437.3 MB, free: 344 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.182e-05/0.2612, allocations: 27.44 kB / 437.3 MB, free: 316 kB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2612, allocations: 0 / 437.3 MB, free: 316 kB / 334.1 MB Notification: Performance of Templates: time 0.006089/0.2673, allocations: 3.535 MB / 440.9 MB, free: 12.78 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.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: 7.233354277908802]