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.001038/0.001038, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001865/0.002903, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001162/0.001162, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00173/0.002891, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9486/0.9486, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08169/1.03, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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 2.635e-06/2.635e-06, allocations: 4 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.157e-05, allocations: 5.547 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003454/0.003476, allocations: 2.47 MB / 247.2 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004698/0.003945, allocations: 258.9 kB / 247.4 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.924e-05/0.004045, allocations: 7.938 kB / 247.4 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.327e-05/0.004138, allocations: 43.58 kB / 247.5 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.00429, allocations: 83.2 kB / 247.6 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.276e-05/0.004383, allocations: 63.91 kB / 247.6 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.004585, allocations: 302.5 kB / 247.9 MB, free: 11 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.004702, allocations: 68.02 kB / 248 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.004851, allocations: 191.5 kB / 248.2 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.004963, allocations: 91.75 kB / 248.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.004994, allocations: 20 kB / 248.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.799e-05/0.005022, allocations: 24 kB / 248.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.318e-05/0.005055, allocations: 43.81 kB / 248.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.474e-05/0.00511, allocations: 75.88 kB / 248.4 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.00529, allocations: 171.4 kB / 248.6 MB, free: 10.33 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.005299, allocations: 4 kB / 248.6 MB, free: 10.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.0053, allocations: 0 / 248.6 MB, free: 10.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.005309, allocations: 0 / 248.6 MB, free: 10.32 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.0004732/0.005782, allocations: 0.5036 MB / 249.1 MB, free: 9.793 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.573e-05/0.005808, allocations: 12.02 kB / 249.1 MB, free: 9.781 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.005855, allocations: 40.91 kB / 249.1 MB, free: 9.742 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.006025, allocations: 170.1 kB / 249.3 MB, free: 9.547 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.00604, allocations: 16.88 kB / 249.3 MB, free: 9.531 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/0.006076, allocations: 24.38 kB / 249.3 MB, free: 9.508 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.006263, allocations: 191 kB / 249.5 MB, free: 9.309 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.006277, allocations: 8.141 kB / 249.5 MB, free: 9.301 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.00629, allocations: 8.375 kB / 249.5 MB, free: 9.293 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.006298, allocations: 8.375 kB / 249.6 MB, free: 9.285 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.613e-05/0.006394, allocations: 78.25 kB / 249.6 MB, free: 9.211 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.006909, allocations: 0.5546 MB / 250.2 MB, free: 8.633 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.007145, allocations: 191.7 kB / 250.4 MB, free: 8.418 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.761e-05/0.007233, allocations: 78.53 kB / 250.4 MB, free: 8.332 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.007245, allocations: 8 kB / 250.5 MB, free: 8.324 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.007269, allocations: 38.55 kB / 250.5 MB, free: 8.277 MB / 250.7 MB Notification: Performance of pre-optimization done (n=33): time 1.242e-06/0.00727, allocations: 4 kB / 250.5 MB, free: 8.273 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.001404/0.008674, allocations: 1.294 MB / 251.8 MB, free: 6.832 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.008712, allocations: 110.8 kB / 251.9 MB, free: 6.699 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.681e-05/0.008789, allocations: 163.9 kB / 252.1 MB, free: 6.527 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.008805, allocations: 37.7 kB / 252.1 MB, free: 6.484 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.008852, allocations: 132.8 kB / 252.2 MB, free: 6.348 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.122e-05/0.008934, allocations: 170.5 kB / 252.4 MB, free: 6.18 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.008998, allocations: 78.17 kB / 252.5 MB, free: 6.098 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.664e-05/0.009085, allocations: 346.6 kB / 252.8 MB, free: 5.75 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.72e-05/0.009132, allocations: 36.97 kB / 252.8 MB, free: 5.715 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.009238, allocations: 102.9 kB / 252.9 MB, free: 5.59 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.009439, allocations: 174.8 kB / 253.1 MB, free: 5.398 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.009441, allocations: 8 kB / 253.1 MB, free: 5.391 MB / 250.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002693/0.00971, allocations: 215.8 kB / 253.3 MB, free: 5.18 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.009725, allocations: 4 kB / 253.3 MB, free: 5.176 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.009732, allocations: 4 kB / 253.3 MB, free: 5.172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.009749, allocations: 4 kB / 253.3 MB, free: 5.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.01007, allocations: 115.2 kB / 253.5 MB, free: 5.059 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.01007, allocations: 11.92 kB / 253.5 MB, free: 5.047 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.118e-05/0.01012, allocations: 8 kB / 253.5 MB, free: 5.039 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.01014, allocations: 16.09 kB / 253.5 MB, free: 5.023 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 0.0001951/0.01033, allocations: 125.8 kB / 253.6 MB, free: 4.891 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.953e-05/0.01038, allocations: 35.97 kB / 253.7 MB, free: 4.855 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.01042, allocations: 33.81 kB / 253.7 MB, free: 4.828 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.01043, allocations: 8 kB / 253.7 MB, free: 4.82 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.01043, allocations: 0 / 253.7 MB, free: 4.82 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.01044, allocations: 7.922 kB / 253.7 MB, free: 4.812 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006167/0.01105, allocations: 0.7265 MB / 254.4 MB, free: 4.035 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01105, allocations: 0 / 254.4 MB, free: 4.035 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.01127, allocations: 115.9 kB / 254.5 MB, free: 3.922 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.0113, allocations: 27.8 kB / 254.6 MB, free: 3.895 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.0113, allocations: 4 kB / 254.6 MB, free: 3.891 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.01132, allocations: 16.28 kB / 254.6 MB, free: 3.875 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/0.01132, allocations: 15.86 kB / 254.6 MB, free: 3.859 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.01133, allocations: 7.938 kB / 254.6 MB, free: 3.852 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.01164, allocations: 0.5539 MB / 255.2 MB, free: 3.25 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.01166, allocations: 8 kB / 255.2 MB, free: 3.242 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.01176, allocations: 16.06 kB / 255.2 MB, free: 3.227 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.01179, allocations: 35.83 kB / 255.2 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.0118, allocations: 8 kB / 255.2 MB, free: 3.184 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.917e-05/0.01183, allocations: 49.06 kB / 255.3 MB, free: 3.133 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01183, allocations: 4 kB / 255.3 MB, free: 3.129 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000245/0.01207, allocations: 72 kB / 255.4 MB, free: 3.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 7.627e-05/0.01215, allocations: 96.28 kB / 255.4 MB, free: 2.953 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.01233, allocations: 181.7 kB / 255.6 MB, free: 2.773 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/0.01234, allocations: 8 kB / 255.6 MB, free: 2.766 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.01245, allocations: 142 kB / 255.8 MB, free: 2.625 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.01297, allocations: 0.6252 MB / 256.4 MB, free: 1.867 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.01411, allocations: 0.6429 MB / 257 MB, free: 1.164 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.543e-05/0.01417, allocations: 101.3 kB / 257.1 MB, free: 1.047 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.763e-05/0.01426, allocations: 35.09 kB / 257.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.01439, allocations: 111.3 kB / 257.3 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of SimCode: time 9.51e-07/0.01439, allocations: 0 / 257.3 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of Templates: time 0.005281/0.01967, allocations: 3.384 MB / 260.7 MB, free: 13.61 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.628485427238047]