Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.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.001299/0.001299, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001098/0.001098, allocations: 169 kB / 24.91 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9752/0.9752, allocations: 177.1 MB / 205.3 MB, free: 5.09 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(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.1.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.1.0_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.601e-05, allocations: 5.969 kB / 273.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002508/0.002524, allocations: 2.407 MB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003853/0.002909, allocations: 258.9 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.751e-05/0.002996, allocations: 7.938 kB / 276.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.003119, allocations: 47.52 kB / 276.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.003225, allocations: 87.2 kB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001285/0.003354, allocations: 63.84 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.003554, allocations: 306.4 kB / 276.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.003686, allocations: 64.86 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.003807, allocations: 167.7 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.003917, allocations: 87.77 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.003946, allocations: 24 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.33e-05/0.003969, allocations: 27.94 kB / 277 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.534e-05/0.004005, allocations: 51.81 kB / 277 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.993e-05/0.004065, allocations: 87.83 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.004236, allocations: 199.2 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.004238, allocations: 0 / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004238, allocations: 0 / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.004242, allocations: 0 / 277.3 MB, free: 13.3 MB / 266.7 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.0004292/0.004671, allocations: 452.1 kB / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.748e-05/0.004698, allocations: 12.03 kB / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.004745, allocations: 40.91 kB / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.004909, allocations: 174.1 kB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.004923, allocations: 20.81 kB / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.004957, allocations: 28.36 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.005127, allocations: 179.2 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.005141, allocations: 12.14 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.005154, allocations: 8.375 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.005162, allocations: 8.375 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.783e-05/0.00525, allocations: 83.06 kB / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004805/0.005731, allocations: 0.5545 MB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.005948, allocations: 191.7 kB / 279 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.947e-05/0.006037, allocations: 78.53 kB / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.006049, allocations: 8 kB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.006071, allocations: 42.5 kB / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.262e-06/0.006072, allocations: 0 / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001265/0.007337, allocations: 1.269 MB / 280.4 MB, free: 9.883 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.007382, allocations: 114.7 kB / 280.5 MB, free: 9.746 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.967e-05/0.007461, allocations: 170.5 kB / 280.7 MB, free: 9.566 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.007476, allocations: 29.7 kB / 280.7 MB, free: 9.531 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.007525, allocations: 132.8 kB / 280.9 MB, free: 9.398 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.275e-05/0.007597, allocations: 166.5 kB / 281 MB, free: 9.234 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.007657, allocations: 78.14 kB / 281.1 MB, free: 9.152 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.268e-05/0.00773, allocations: 342.7 kB / 281.4 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.951e-05/0.007769, allocations: 36.98 kB / 281.5 MB, free: 8.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-05/0.00784, allocations: 106.9 kB / 281.6 MB, free: 8.648 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.007981, allocations: 183.4 kB / 281.8 MB, free: 8.449 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.007984, allocations: 4 kB / 281.8 MB, free: 8.445 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0001729/0.008157, allocations: 210.6 kB / 282 MB, free: 8.238 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.008167, allocations: 4 kB / 282 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.008174, allocations: 8.094 kB / 282 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.008187, allocations: 4 kB / 282 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.008355, allocations: 95.83 kB / 282.1 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.008359, allocations: 4 kB / 282.1 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/0.008408, allocations: 8 kB / 282.1 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.00842, allocations: 15.94 kB / 282.1 MB, free: 8.102 MB / 266.7 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 7.268e-05/0.008493, allocations: 129.7 kB / 282.2 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.008543, allocations: 39.91 kB / 282.3 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/0.008582, allocations: 37.8 kB / 282.3 MB, free: 7.887 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.008586, allocations: 8 kB / 282.3 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.008589, allocations: 4 kB / 282.3 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.008593, allocations: 0 / 282.3 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008546/0.009447, allocations: 0.7267 MB / 283 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.00945, allocations: 0 / 283 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.009631, allocations: 96.17 kB / 283.1 MB, free: 7.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.009636, allocations: 7.938 kB / 283.1 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.009648, allocations: 8 kB / 283.2 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.009652, allocations: 11.94 kB / 283.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.009653, allocations: 0 / 283.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.00997, allocations: 0.554 MB / 283.7 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.009991, allocations: 27.84 kB / 283.7 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.01001, allocations: 11.98 kB / 283.8 MB, free: 6.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.827e-05/0.01011, allocations: 12 kB / 283.8 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.01014, allocations: 43.83 kB / 283.8 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.01015, allocations: 8 kB / 283.8 MB, free: 6.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.629e-05/0.01017, allocations: 41.88 kB / 283.9 MB, free: 6.227 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01017, allocations: 0 / 283.9 MB, free: 6.227 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.0104, allocations: 72 kB / 283.9 MB, free: 6.156 MB / 266.7 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 8.42e-05/0.01048, allocations: 92.3 kB / 284 MB, free: 6.055 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.01064, allocations: 181.5 kB / 284.2 MB, free: 5.871 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.01065, allocations: 4.188 kB / 284.2 MB, free: 5.867 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.837e-05/0.01072, allocations: 108.5 kB / 284.3 MB, free: 5.758 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.01105, allocations: 59.77 kB / 284.4 MB, free: 5.703 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006308/0.01168, allocations: 0.6707 MB / 285 MB, free: 4.973 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.168e-05/0.01175, allocations: 93.28 kB / 285.1 MB, free: 4.859 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.477e-05/0.01182, allocations: 42.94 kB / 285.2 MB, free: 4.816 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.01194, allocations: 107.4 kB / 285.3 MB, free: 4.711 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01194, allocations: 0 / 285.3 MB, free: 4.711 MB / 266.7 MB Notification: Performance of Templates: time 0.004652/0.01659, allocations: 3.243 MB / 288.5 MB, free: 1.543 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.817105278838426]