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.001365/0.001365, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.001086/0.001086, allocations: 170.1 kB / 25.7 MB, free: 8.418 MB / 18.57 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.8343/0.8343, allocations: 158.6 MB / 187.6 MB, free: 2.762 MB / 170.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 2.224e-06/2.224e-06, allocations: 4 kB / 251.5 MB, free: 7.289 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.253e-05/1.476e-05, allocations: 6.25 kB / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002265/0.00228, allocations: 2.379 MB / 253.9 MB, free: 4.883 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005454/0.002825, allocations: 250.9 kB / 254.1 MB, free: 4.637 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.96e-05/0.002915, allocations: 7.938 kB / 254.1 MB, free: 4.629 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.003032, allocations: 47.52 kB / 254.2 MB, free: 4.582 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.003156, allocations: 91.19 kB / 254.3 MB, free: 4.492 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.003289, allocations: 63.84 kB / 254.3 MB, free: 4.43 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.003719, allocations: 306.4 kB / 254.6 MB, free: 4.129 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.003842, allocations: 64.02 kB / 254.7 MB, free: 4.066 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.003968, allocations: 163.7 kB / 254.9 MB, free: 3.906 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.004079, allocations: 95.69 kB / 255 MB, free: 3.812 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.004109, allocations: 24 kB / 255 MB, free: 3.789 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.786e-05/0.004137, allocations: 20 kB / 255 MB, free: 3.77 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.515e-05/0.004172, allocations: 51.83 kB / 255 MB, free: 3.719 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.342e-05/0.004235, allocations: 95.75 kB / 255.1 MB, free: 3.625 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.004408, allocations: 187.3 kB / 255.3 MB, free: 3.441 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.00441, allocations: 0 / 255.3 MB, free: 3.441 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.004412, allocations: 8 kB / 255.3 MB, free: 3.434 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.004415, allocations: 0 / 255.3 MB, free: 3.434 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.0004186/0.004834, allocations: 456.1 kB / 255.8 MB, free: 2.961 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.004864, allocations: 11.98 kB / 255.8 MB, free: 2.949 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.004911, allocations: 40.91 kB / 255.8 MB, free: 2.91 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.005072, allocations: 182 kB / 256 MB, free: 2.703 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.005085, allocations: 16.88 kB / 256 MB, free: 2.688 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.005123, allocations: 24.38 kB / 256 MB, free: 2.664 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.005291, allocations: 198.9 kB / 256.2 MB, free: 2.453 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.005304, allocations: 8.141 kB / 256.2 MB, free: 2.445 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.005317, allocations: 4.375 kB / 256.3 MB, free: 2.441 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.005324, allocations: 8.375 kB / 256.3 MB, free: 2.434 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.715e-05/0.005411, allocations: 83.72 kB / 256.3 MB, free: 2.352 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.005889, allocations: 0.5468 MB / 256.9 MB, free: 1.781 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.006111, allocations: 199.7 kB / 257.1 MB, free: 1.559 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.923e-05/0.0062, allocations: 74.55 kB / 257.2 MB, free: 1.477 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.006214, allocations: 8 kB / 257.2 MB, free: 1.469 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.006232, allocations: 34.5 kB / 257.2 MB, free: 1.426 MB / 234.7 MB Notification: Performance of pre-optimization done (n=33): time 1.262e-06/0.006233, allocations: 0 / 257.2 MB, free: 1.426 MB / 234.7 MB Notification: Performance of matching and sorting (n=45): time 0.001258/0.007491, allocations: 1.274 MB / 258.5 MB, free: 4 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.007544, allocations: 114.7 kB / 258.6 MB, free: 15.87 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.778e-05/0.007622, allocations: 166.6 kB / 258.7 MB, free: 15.69 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.007636, allocations: 33.7 kB / 258.8 MB, free: 15.65 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.007684, allocations: 132.8 kB / 258.9 MB, free: 15.52 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.13e-05/0.007755, allocations: 170.5 kB / 259.1 MB, free: 15.35 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/0.007818, allocations: 78.16 kB / 259.2 MB, free: 15.27 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.459e-05/0.007893, allocations: 342.7 kB / 259.5 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.875e-05/0.007932, allocations: 36.98 kB / 259.5 MB, free: 14.89 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-05/0.008003, allocations: 106.9 kB / 259.6 MB, free: 14.76 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.008145, allocations: 170.2 kB / 259.8 MB, free: 14.58 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.008146, allocations: 8 kB / 259.8 MB, free: 14.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0001741/0.008321, allocations: 201.3 kB / 260 MB, free: 14.37 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.008331, allocations: 4 kB / 260 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.008336, allocations: 4 kB / 260 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.008347, allocations: 4 kB / 260 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.008514, allocations: 95.83 kB / 260.1 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.008519, allocations: 4 kB / 260.1 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.008569, allocations: 12 kB / 260.1 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.00858, allocations: 11.94 kB / 260.1 MB, free: 14.23 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 7.169e-05/0.008652, allocations: 137.8 kB / 260.3 MB, free: 14.09 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.008701, allocations: 31.97 kB / 260.3 MB, free: 14.06 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.008739, allocations: 37.8 kB / 260.3 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.008743, allocations: 8 kB / 260.3 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.008746, allocations: 0 / 260.3 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.00875, allocations: 0 / 260.3 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006161/0.009366, allocations: 0.7499 MB / 261.1 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.00937, allocations: 4 kB / 261.1 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.009554, allocations: 91.83 kB / 261.2 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.009558, allocations: 4 kB / 261.2 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.009571, allocations: 16 kB / 261.2 MB, free: 13.1 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.009576, allocations: 8 kB / 261.2 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.009577, allocations: 0 / 261.2 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006347/0.01021, allocations: 0.5507 MB / 261.8 MB, free: 12.49 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/0.01023, allocations: 23.84 kB / 261.8 MB, free: 12.47 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.01025, allocations: 8 kB / 261.8 MB, free: 12.46 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.01036, allocations: 12 kB / 261.8 MB, free: 12.45 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.01039, allocations: 39.83 kB / 261.8 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.0104, allocations: 12 kB / 261.9 MB, free: 12.4 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.129e-05/0.01043, allocations: 45.84 kB / 261.9 MB, free: 12.35 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01043, allocations: 0 / 261.9 MB, free: 12.35 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002448/0.01067, allocations: 72 kB / 262 MB, free: 12.28 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 8.145e-05/0.01076, allocations: 96.3 kB / 262.1 MB, free: 12.18 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.01094, allocations: 178.1 kB / 262.2 MB, free: 12 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.01095, allocations: 0 / 262.2 MB, free: 12 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.485e-05/0.01103, allocations: 116.2 kB / 262.4 MB, free: 11.88 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.01138, allocations: 69.8 kB / 262.4 MB, free: 11.82 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/0.01202, allocations: 0.6507 MB / 263.1 MB, free: 11.11 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.253e-05/0.01208, allocations: 97.28 kB / 263.2 MB, free: 11 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.884e-05/0.01216, allocations: 38.89 kB / 263.2 MB, free: 10.95 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.01228, allocations: 107.4 kB / 263.3 MB, free: 10.85 MB / 250.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01228, allocations: 0 / 263.3 MB, free: 10.85 MB / 250.7 MB Notification: Performance of Templates: time 0.004812/0.01709, allocations: 3.238 MB / 266.5 MB, free: 7.652 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.686356735881418]