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.0007419/0.0007419, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001117/0.001859, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006672/0.0006672, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009342/0.001601, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9287/0.9287, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08127/1.01, allocations: 52.5 MB / 238.3 MB, free: 4.426 MB / 234.7 MB " [Timeout remaining time 179] 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 1.292e-06/1.292e-06, allocations: 0 / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.956e-05, allocations: 2.312 kB / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.00544/0.005459, allocations: 2.441 MB / 242 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006202/0.00608, allocations: 258.9 kB / 242.2 MB, free: 488 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.006193, allocations: 15.94 kB / 242.2 MB, free: 472 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.006294, allocations: 39.58 kB / 242.3 MB, free: 432 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.006468, allocations: 91.08 kB / 242.4 MB, free: 340 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.006598, allocations: 55.92 kB / 242.4 MB, free: 284 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.006902, allocations: 302.5 kB / 242.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.007058, allocations: 71.92 kB / 242.8 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.007281, allocations: 195.5 kB / 243 MB, free: 15.72 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.007424, allocations: 95.69 kB / 243.1 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.137e-05/0.007465, allocations: 24 kB / 243.1 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.688e-05/0.007502, allocations: 20 kB / 243.1 MB, free: 15.58 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.859e-05/0.007541, allocations: 39.88 kB / 243.2 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.007647, allocations: 79.81 kB / 243.2 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.007881, allocations: 167.4 kB / 243.4 MB, free: 15.3 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.246e-05/0.007893, allocations: 0 / 243.4 MB, free: 15.3 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.007894, allocations: 3.938 kB / 243.4 MB, free: 15.3 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.007908, allocations: 0 / 243.4 MB, free: 15.3 MB / 250.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.0006467/0.008554, allocations: 0.5037 MB / 243.9 MB, free: 14.77 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.00859, allocations: 8.031 kB / 243.9 MB, free: 14.76 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.678e-05/0.008657, allocations: 44.84 kB / 244 MB, free: 14.71 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.008879, allocations: 174 kB / 244.1 MB, free: 14.52 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.008898, allocations: 16.88 kB / 244.1 MB, free: 14.5 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.00894, allocations: 28.38 kB / 244.2 MB, free: 14.47 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.009183, allocations: 187.2 kB / 244.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.0092, allocations: 4.141 kB / 244.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.009218, allocations: 12.38 kB / 244.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.009226, allocations: 4.375 kB / 244.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.009372, allocations: 79.67 kB / 244.5 MB, free: 14.18 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007314/0.0101, allocations: 0.5469 MB / 245 MB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.01042, allocations: 187.7 kB / 245.2 MB, free: 13.39 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.01057, allocations: 86.16 kB / 245.3 MB, free: 13.3 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.01059, allocations: 11.94 kB / 245.3 MB, free: 13.29 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.01062, allocations: 38.56 kB / 245.3 MB, free: 13.25 MB / 250.7 MB Notification: Performance of pre-optimization done (n=33): time 1.773e-06/0.01062, allocations: 0 / 245.3 MB, free: 13.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.002023/0.01264, allocations: 1.274 MB / 246.6 MB, free: 11.82 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.0127, allocations: 110.8 kB / 246.7 MB, free: 11.69 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.01281, allocations: 162.5 kB / 246.9 MB, free: 11.52 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.01283, allocations: 37.7 kB / 246.9 MB, free: 11.48 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.0129, allocations: 132.8 kB / 247 MB, free: 11.34 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.013, allocations: 162.5 kB / 247.2 MB, free: 11.18 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.66e-05/0.01309, allocations: 82.14 kB / 247.3 MB, free: 11.09 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.01319, allocations: 346.7 kB / 247.6 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-05/0.01325, allocations: 32.98 kB / 247.6 MB, free: 10.71 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.01336, allocations: 106.9 kB / 247.7 MB, free: 10.59 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.01363, allocations: 183.7 kB / 247.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01363, allocations: 0 / 247.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002764/0.0139, allocations: 208.2 kB / 248.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.01392, allocations: 8.031 kB / 248.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.01393, allocations: 3.984 kB / 248.1 MB, free: 10.17 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.01394, allocations: 7.938 kB / 248.1 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.0143, allocations: 115.9 kB / 248.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.01431, allocations: 7.938 kB / 248.3 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.429e-05/0.01441, allocations: 12 kB / 248.3 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.01442, allocations: 12 kB / 248.3 MB, free: 10.02 MB / 250.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 9.592e-05/0.01452, allocations: 137.7 kB / 248.4 MB, free: 9.875 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/0.0146, allocations: 39.97 kB / 248.5 MB, free: 9.836 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.969e-05/0.01466, allocations: 29.81 kB / 248.5 MB, free: 9.809 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.01467, allocations: 7.984 kB / 248.5 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.01467, allocations: 0 / 248.5 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.01468, allocations: 7.938 kB / 248.5 MB, free: 9.793 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009405/0.01562, allocations: 0.727 MB / 249.2 MB, free: 9.012 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.01563, allocations: 7.984 kB / 249.2 MB, free: 9.004 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.01601, allocations: 115.1 kB / 249.4 MB, free: 8.895 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.01604, allocations: 27.84 kB / 249.4 MB, free: 8.867 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.01605, allocations: 4 kB / 249.4 MB, free: 8.863 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.01607, allocations: 8 kB / 249.4 MB, free: 8.855 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.01608, allocations: 11.92 kB / 249.4 MB, free: 8.844 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.01608, allocations: 4 kB / 249.4 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/0.01656, allocations: 0.5491 MB / 250 MB, free: 8.246 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.01659, allocations: 16 kB / 250 MB, free: 8.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.01679, allocations: 8 kB / 250 MB, free: 8.223 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.01683, allocations: 35.83 kB / 250 MB, free: 8.188 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.01685, allocations: 15.98 kB / 250 MB, free: 8.172 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.581e-05/0.0169, allocations: 41.88 kB / 250.1 MB, free: 8.129 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0169, allocations: 0 / 250.1 MB, free: 8.129 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004097/0.01731, allocations: 72 kB / 250.1 MB, free: 8.059 MB / 250.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 0.0001216/0.01743, allocations: 104.2 kB / 250.2 MB, free: 7.949 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002776/0.01771, allocations: 177.3 kB / 250.4 MB, free: 7.773 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.546e-05/0.01772, allocations: 7.938 kB / 250.4 MB, free: 7.766 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.01785, allocations: 113.6 kB / 250.5 MB, free: 7.652 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000561/0.01841, allocations: 95.44 kB / 250.6 MB, free: 7.562 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.02009, allocations: 0.6352 MB / 251.3 MB, free: 6.863 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.266e-05/0.02018, allocations: 101.3 kB / 251.4 MB, free: 6.746 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.02029, allocations: 31.05 kB / 251.4 MB, free: 6.719 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.02046, allocations: 111.3 kB / 251.5 MB, free: 6.609 MB / 250.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02046, allocations: 0 / 251.5 MB, free: 6.609 MB / 250.7 MB Notification: Performance of Templates: time 0.006805/0.02727, allocations: 3.481 MB / 255 MB, free: 3.215 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.496444688178599]