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.001144/0.001144, allocations: 75.75 kB / 21.97 MB, free: 2.59 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.001955/0.001955, allocations: 173 kB / 25.33 MB, free: 9.457 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 1.029/1.029, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.013e-06/2.013e-06, allocations: 0 / 251 MB, free: 7.531 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.998e-05, allocations: 5.266 kB / 251 MB, free: 7.527 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002662/0.002692, allocations: 2.406 MB / 253.4 MB, free: 5.105 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006219/0.003314, allocations: 239 kB / 253.7 MB, free: 4.871 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.003437, allocations: 7.938 kB / 253.7 MB, free: 4.863 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.003579, allocations: 39.64 kB / 253.7 MB, free: 4.824 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.003718, allocations: 95.14 kB / 253.8 MB, free: 4.73 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.0039, allocations: 63.83 kB / 253.9 MB, free: 4.668 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.004142, allocations: 306.4 kB / 254.2 MB, free: 4.367 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.004315, allocations: 62.06 kB / 254.2 MB, free: 4.305 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.004485, allocations: 163.7 kB / 254.4 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.004615, allocations: 91.75 kB / 254.5 MB, free: 4.055 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.004649, allocations: 24 kB / 254.5 MB, free: 4.031 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.111e-05/0.00468, allocations: 20 kB / 254.5 MB, free: 4.012 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.967e-05/0.00472, allocations: 55.77 kB / 254.6 MB, free: 3.957 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.035e-05/0.0048, allocations: 91.81 kB / 254.7 MB, free: 3.867 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.005023, allocations: 195.2 kB / 254.9 MB, free: 3.676 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.005027, allocations: 8 kB / 254.9 MB, free: 3.668 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005028, allocations: 0 / 254.9 MB, free: 3.668 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.005033, allocations: 0 / 254.9 MB, free: 3.668 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.0005564/0.005589, allocations: 0.5663 MB / 255.4 MB, free: 3.062 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.005629, allocations: 11.98 kB / 255.4 MB, free: 3.051 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.893e-05/0.005697, allocations: 52.75 kB / 255.5 MB, free: 3 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.005911, allocations: 196.8 kB / 255.7 MB, free: 2.777 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.005927, allocations: 16.88 kB / 255.7 MB, free: 2.762 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.005971, allocations: 24.38 kB / 255.7 MB, free: 2.738 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.006376, allocations: 211.5 kB / 255.9 MB, free: 2.512 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.006393, allocations: 4.141 kB / 255.9 MB, free: 2.508 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.006411, allocations: 8.375 kB / 255.9 MB, free: 2.5 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.006421, allocations: 12.31 kB / 256 MB, free: 2.488 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.006569, allocations: 107.8 kB / 256.1 MB, free: 2.383 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007056/0.007275, allocations: 0.79 MB / 256.8 MB, free: 1.543 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.007615, allocations: 237.2 kB / 257.1 MB, free: 1.273 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.007771, allocations: 99.02 kB / 257.2 MB, free: 1.164 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.007786, allocations: 8.156 kB / 257.2 MB, free: 1.156 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.007813, allocations: 45.33 kB / 257.2 MB, free: 1.102 MB / 234.7 MB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.007815, allocations: 0 / 257.2 MB, free: 1.102 MB / 234.7 MB Notification: Performance of matching and sorting (n=45): time 0.001667/0.009481, allocations: 1.416 MB / 258.6 MB, free: 15.52 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.009527, allocations: 110.8 kB / 258.8 MB, free: 15.39 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.00965, allocations: 225.8 kB / 259 MB, free: 15.15 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.009669, allocations: 33.7 kB / 259 MB, free: 15.11 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.688e-05/0.009755, allocations: 191.5 kB / 259.2 MB, free: 14.92 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.83e-05/0.009844, allocations: 170.5 kB / 259.4 MB, free: 14.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.498e-05/0.009919, allocations: 79.86 kB / 259.4 MB, free: 14.66 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.01005, allocations: 0.504 MB / 259.9 MB, free: 14.15 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.036e-05/0.01013, allocations: 52.95 kB / 260 MB, free: 14.1 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.01026, allocations: 142.8 kB / 260.1 MB, free: 13.93 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.01049, allocations: 222.8 kB / 260.3 MB, free: 13.68 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01049, allocations: 0 / 260.3 MB, free: 13.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003124/0.0108, allocations: 289.1 kB / 260.6 MB, free: 13.39 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.01082, allocations: 11.38 kB / 260.6 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.01083, allocations: 4 kB / 260.6 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.01085, allocations: 3.984 kB / 260.7 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.01104, allocations: 91.91 kB / 260.7 MB, free: 13.29 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.01106, allocations: 7.938 kB / 260.7 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.415e-05/0.01111, allocations: 8 kB / 260.8 MB, free: 13.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.01113, allocations: 16 kB / 260.8 MB, free: 13.25 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.0001062/0.01123, allocations: 180.5 kB / 260.9 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.318e-05/0.01132, allocations: 43.8 kB / 261 MB, free: 13.02 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.082e-05/0.01138, allocations: 37.81 kB / 261 MB, free: 12.99 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.01138, allocations: 8 kB / 261 MB, free: 12.98 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.01139, allocations: 0 / 261 MB, free: 12.98 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.0114, allocations: 7.922 kB / 261 MB, free: 12.97 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009225/0.01232, allocations: 1.035 MB / 262.1 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.01232, allocations: 8.281 kB / 262.1 MB, free: 11.85 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.01253, allocations: 87.89 kB / 262.2 MB, free: 11.76 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.01253, allocations: 8 kB / 262.2 MB, free: 11.75 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.01255, allocations: 12 kB / 262.2 MB, free: 11.74 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.01256, allocations: 4 kB / 262.2 MB, free: 11.74 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.01256, allocations: 7.938 kB / 262.2 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007195/0.01328, allocations: 0.7861 MB / 263 MB, free: 10.88 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.01331, allocations: 19.86 kB / 263 MB, free: 10.86 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.01333, allocations: 20 kB / 263 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.01344, allocations: 8 kB / 263 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.01348, allocations: 35.88 kB / 263.1 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.01349, allocations: 16 kB / 263.1 MB, free: 10.79 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.666e-05/0.01356, allocations: 160.2 kB / 263.2 MB, free: 10.63 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01356, allocations: 0 / 263.2 MB, free: 10.63 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002802/0.01384, allocations: 72 kB / 263.3 MB, free: 10.56 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.000132/0.01397, allocations: 111.1 kB / 263.4 MB, free: 10.44 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.01427, allocations: 223.2 kB / 263.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.01427, allocations: 0 / 263.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.01439, allocations: 131.1 kB / 263.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.01484, allocations: 69.17 kB / 263.8 MB, free: 10.02 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008875/0.01573, allocations: 0.785 MB / 264.6 MB, free: 9.16 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.524e-05/0.01579, allocations: 97.28 kB / 264.7 MB, free: 9.047 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.178e-05/0.01586, allocations: 30.95 kB / 264.7 MB, free: 9.012 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/0.01592, allocations: 32.5 kB / 264.8 MB, free: 8.98 MB / 250.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01592, allocations: 0 / 264.8 MB, free: 8.98 MB / 250.7 MB Notification: Performance of Templates: time 0.004814/0.02073, allocations: 2.943 MB / 267.7 MB, free: 6.066 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.982633835170418]