Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008907/0.0008907, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00123/0.002121, allocations: 453.8 kB / 10.46 MB, free: 236 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.0007758/0.0007758, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009541/0.00173, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9186/0.9186, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1396/1.058, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] 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(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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 222 MB, free: 88 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.416e-05, allocations: 2.312 kB / 222 MB, free: 84 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.00702/0.007045, allocations: 2.43 MB / 224.4 MB, free: 13.63 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005753/0.00762, allocations: 254.9 kB / 224.7 MB, free: 13.38 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.007721, allocations: 7.938 kB / 224.7 MB, free: 13.38 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.007821, allocations: 39.58 kB / 224.7 MB, free: 13.34 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.007981, allocations: 95.12 kB / 224.8 MB, free: 13.24 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.008121, allocations: 59.91 kB / 224.9 MB, free: 13.18 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.0084, allocations: 302.5 kB / 225.1 MB, free: 12.89 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.008556, allocations: 75.89 kB / 225.2 MB, free: 12.82 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.008757, allocations: 183.6 kB / 225.4 MB, free: 12.64 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.008892, allocations: 79.78 kB / 225.5 MB, free: 12.56 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.229e-05/0.008935, allocations: 24 kB / 225.5 MB, free: 12.54 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.615e-05/0.008971, allocations: 20 kB / 225.5 MB, free: 12.52 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.182e-05/0.009013, allocations: 43.81 kB / 225.6 MB, free: 12.47 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.745e-05/0.00909, allocations: 79.88 kB / 225.6 MB, free: 12.39 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.00933, allocations: 175.3 kB / 225.8 MB, free: 12.22 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.18e-05/0.009342, allocations: 7.938 kB / 225.8 MB, free: 12.21 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.009343, allocations: 0 / 225.8 MB, free: 12.21 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.009353, allocations: 0 / 225.8 MB, free: 12.21 MB / 234.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.003649/0.013, allocations: 0.4998 MB / 226.3 MB, free: 11.69 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.01304, allocations: 8.031 kB / 226.3 MB, free: 11.68 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.645e-05/0.01312, allocations: 40.91 kB / 226.4 MB, free: 11.64 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.01338, allocations: 174 kB / 226.5 MB, free: 11.44 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.01341, allocations: 20.88 kB / 226.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/0.01345, allocations: 24.38 kB / 226.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.01368, allocations: 191.1 kB / 226.8 MB, free: 11.2 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.0137, allocations: 8.125 kB / 226.8 MB, free: 11.19 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.01372, allocations: 12.38 kB / 226.8 MB, free: 11.18 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.01372, allocations: 4.375 kB / 226.8 MB, free: 11.17 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.01384, allocations: 79.77 kB / 226.9 MB, free: 11.09 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006351/0.01448, allocations: 0.5622 MB / 227.4 MB, free: 10.51 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.01476, allocations: 187.7 kB / 227.6 MB, free: 10.3 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.01487, allocations: 78.55 kB / 227.7 MB, free: 10.21 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.01489, allocations: 11.94 kB / 227.7 MB, free: 10.2 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.01492, allocations: 38.56 kB / 227.7 MB, free: 10.15 MB / 234.7 MB Notification: Performance of pre-optimization done (n=33): time 1.763e-06/0.01492, allocations: 0 / 227.7 MB, free: 10.15 MB / 234.7 MB Notification: Performance of matching and sorting (n=45): time 0.005058/0.01997, allocations: 1.298 MB / 229 MB, free: 8.707 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.02003, allocations: 111 kB / 229.1 MB, free: 8.574 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.02015, allocations: 166.6 kB / 229.3 MB, free: 8.398 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.02017, allocations: 37.7 kB / 229.3 MB, free: 8.355 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.02023, allocations: 132.8 kB / 229.5 MB, free: 8.223 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.02034, allocations: 162.5 kB / 229.6 MB, free: 8.062 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.765e-05/0.02043, allocations: 78.16 kB / 229.7 MB, free: 7.977 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.02052, allocations: 346.7 kB / 230.1 MB, free: 7.629 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.102e-05/0.02057, allocations: 32.98 kB / 230.1 MB, free: 7.598 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.414e-05/0.02067, allocations: 110.8 kB / 230.2 MB, free: 7.473 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.02086, allocations: 173.7 kB / 230.4 MB, free: 7.281 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.02086, allocations: 4 kB / 230.4 MB, free: 7.277 MB / 234.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002497/0.02111, allocations: 201.3 kB / 230.6 MB, free: 7.074 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.02113, allocations: 10.66 kB / 230.6 MB, free: 7.066 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.02114, allocations: 7.922 kB / 230.6 MB, free: 7.059 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.02115, allocations: 4 kB / 230.6 MB, free: 7.055 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.02145, allocations: 118 kB / 230.7 MB, free: 6.941 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.02146, allocations: 7.938 kB / 230.7 MB, free: 6.934 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.462e-05/0.02154, allocations: 8 kB / 230.7 MB, free: 6.926 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.02155, allocations: 16.09 kB / 230.7 MB, free: 6.91 MB / 234.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 8.951e-05/0.02164, allocations: 133.7 kB / 230.9 MB, free: 6.77 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003093/0.02473, allocations: 35.97 kB / 230.9 MB, free: 6.734 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.07e-05/0.02479, allocations: 33.81 kB / 230.9 MB, free: 6.703 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.0248, allocations: 7.984 kB / 230.9 MB, free: 6.695 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.02481, allocations: 0 / 230.9 MB, free: 6.695 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.02481, allocations: 3.938 kB / 230.9 MB, free: 6.691 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000869/0.02568, allocations: 0.7261 MB / 231.7 MB, free: 5.914 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.02569, allocations: 4 kB / 231.7 MB, free: 5.91 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/0.026, allocations: 115.9 kB / 231.8 MB, free: 5.797 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.02604, allocations: 31.84 kB / 231.8 MB, free: 5.766 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.02604, allocations: 7.938 kB / 231.8 MB, free: 5.758 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.02606, allocations: 8.281 kB / 231.8 MB, free: 5.75 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.02607, allocations: 15.92 kB / 231.8 MB, free: 5.734 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.02607, allocations: 4 kB / 231.9 MB, free: 5.73 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.0265, allocations: 0.5502 MB / 232.4 MB, free: 5.129 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.02653, allocations: 16 kB / 232.4 MB, free: 5.113 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.0267, allocations: 8 kB / 232.4 MB, free: 5.105 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.02674, allocations: 39.88 kB / 232.5 MB, free: 5.066 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.02676, allocations: 16 kB / 232.5 MB, free: 5.051 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.582e-05/0.02681, allocations: 40.81 kB / 232.5 MB, free: 5.008 MB / 234.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02681, allocations: 4 kB / 232.5 MB, free: 5.004 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003715/0.02718, allocations: 72 kB / 232.6 MB, free: 4.934 MB / 234.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.0001276/0.02731, allocations: 96.28 kB / 232.7 MB, free: 4.828 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.02755, allocations: 177.9 kB / 232.9 MB, free: 4.648 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/0.02756, allocations: 8 kB / 232.9 MB, free: 4.641 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003135/0.03069, allocations: 149.2 kB / 233 MB, free: 4.492 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.03124, allocations: 0.6276 MB / 233.6 MB, free: 3.738 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.0328, allocations: 0.6321 MB / 234.3 MB, free: 3.047 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.0329, allocations: 101.2 kB / 234.4 MB, free: 2.93 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0001401/0.03304, allocations: 35.09 kB / 234.4 MB, free: 2.898 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.03323, allocations: 115.4 kB / 234.5 MB, free: 2.785 MB / 234.7 MB Notification: Performance of SimCode: time 1.443e-06/0.03323, allocations: 0 / 234.5 MB, free: 2.785 MB / 234.7 MB Notification: Performance of Templates: time 0.005489/0.03872, allocations: 3.368 MB / 237.9 MB, free: 15.45 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6903232308104634]