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.002379/0.002379, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002608/0.002608, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 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 1.548/1.548, allocations: 173.4 MB / 200.8 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 178] 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.353e-06/1.353e-06, allocations: 0 / 267.3 MB, free: 6.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.133e-05, allocations: 10.25 kB / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004089/0.004121, allocations: 2.39 MB / 269.7 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006576/0.004778, allocations: 243 kB / 269.9 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.004947, allocations: 7.938 kB / 269.9 MB, free: 4.113 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.005139, allocations: 39.58 kB / 270 MB, free: 4.074 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.00536, allocations: 83.2 kB / 270.1 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.00555, allocations: 63.86 kB / 270.1 MB, free: 3.93 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004012/0.005951, allocations: 310.3 kB / 270.4 MB, free: 3.625 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.006147, allocations: 62.05 kB / 270.5 MB, free: 3.562 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.006431, allocations: 175.6 kB / 270.7 MB, free: 3.391 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.006617, allocations: 83.72 kB / 270.7 MB, free: 3.309 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.736e-05/0.006664, allocations: 20 kB / 270.8 MB, free: 3.289 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.307e-05/0.006717, allocations: 24 kB / 270.8 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.544e-05/0.006782, allocations: 59.8 kB / 270.8 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.006905, allocations: 87.77 kB / 270.9 MB, free: 3.121 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004103/0.007315, allocations: 295 kB / 271.2 MB, free: 2.832 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.007321, allocations: 4 kB / 271.2 MB, free: 2.828 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.007322, allocations: 4 kB / 271.2 MB, free: 2.824 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.007329, allocations: 0 / 271.2 MB, free: 2.824 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.0009478/0.008277, allocations: 0.5932 MB / 271.8 MB, free: 2.191 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.008313, allocations: 8.922 kB / 271.8 MB, free: 2.184 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.008414, allocations: 48.75 kB / 271.9 MB, free: 2.137 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.008719, allocations: 192.9 kB / 272.1 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.008746, allocations: 20.88 kB / 272.1 MB, free: 1.898 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.289e-05/0.008799, allocations: 28.33 kB / 272.1 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004688/0.009268, allocations: 255.6 kB / 272.4 MB, free: 1.602 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.009286, allocations: 192 / 272.4 MB, free: 1.602 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.009314, allocations: 12.38 kB / 272.4 MB, free: 1.59 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.009322, allocations: 4.375 kB / 272.4 MB, free: 1.586 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.009632, allocations: 159.8 kB / 272.5 MB, free: 1.43 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.01091, allocations: 0.8525 MB / 273.4 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005838/0.01149, allocations: 305.2 kB / 273.7 MB, free: 200 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003859/0.01188, allocations: 127 kB / 273.8 MB, free: 60 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.01191, allocations: 15.88 kB / 273.8 MB, free: 44 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.287e-05/0.01196, allocations: 41.39 kB / 273.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.01196, allocations: 0 / 273.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.002934/0.0149, allocations: 1.592 MB / 275.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.01498, allocations: 110.8 kB / 275.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.01521, allocations: 253.7 kB / 275.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.01525, allocations: 33.7 kB / 275.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.01539, allocations: 191.5 kB / 276 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.01556, allocations: 178.5 kB / 276.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.01569, allocations: 87.86 kB / 276.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003009/0.01599, allocations: 0.5274 MB / 276.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.01617, allocations: 88.95 kB / 276.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.01644, allocations: 190.8 kB / 277.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000485/0.01693, allocations: 306.9 kB / 277.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01693, allocations: 0 / 277.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005918/0.01752, allocations: 367 kB / 277.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.01754, allocations: 8 kB / 277.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01755, allocations: 96 / 277.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.01757, allocations: 11.98 kB / 277.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/0.01794, allocations: 95.84 kB / 277.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.01796, allocations: 7.938 kB / 277.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.01807, allocations: 8 kB / 277.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.01809, allocations: 16 kB / 277.9 MB, free: 11.66 MB / 266.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.0001916/0.01828, allocations: 200.5 kB / 278.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.01839, allocations: 39.84 kB / 278.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.01849, allocations: 33.81 kB / 278.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.01849, allocations: 4 kB / 278.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.0185, allocations: 8 kB / 278.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.01851, allocations: 7.922 kB / 278.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.02022, allocations: 1.152 MB / 279.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.02022, allocations: 0 / 279.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.02061, allocations: 96.11 kB / 279.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.283e-05/0.02064, allocations: 8 kB / 279.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.02067, allocations: 16 kB / 279.4 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/0.02068, allocations: 11.94 kB / 279.5 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.02068, allocations: 4 kB / 279.5 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.02173, allocations: 0.8991 MB / 280.4 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.02177, allocations: 19.86 kB / 280.4 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.02182, allocations: 12.05 kB / 280.4 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.02203, allocations: 11.98 kB / 280.4 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.081e-05/0.0221, allocations: 47.81 kB / 280.5 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.02212, allocations: 12 kB / 280.5 MB, free: 8.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001392/0.02226, allocations: 172.2 kB / 280.6 MB, free: 8.762 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02226, allocations: 0 / 280.6 MB, free: 8.762 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004537/0.02271, allocations: 72 kB / 280.7 MB, free: 8.691 MB / 266.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.000254/0.02297, allocations: 107.1 kB / 280.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005322/0.0235, allocations: 292.3 kB / 281.1 MB, free: 8.285 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.0235, allocations: 4.188 kB / 281.1 MB, free: 8.281 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002665/0.02377, allocations: 163.4 kB / 281.3 MB, free: 8.117 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006758/0.02444, allocations: 68.86 kB / 281.3 MB, free: 8.055 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.02591, allocations: 0.8201 MB / 282.1 MB, free: 7.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.0261, allocations: 163.8 kB / 282.3 MB, free: 6.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.02622, allocations: 34.95 kB / 282.3 MB, free: 6.945 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.793e-05/0.0263, allocations: 28.5 kB / 282.4 MB, free: 6.914 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.0263, allocations: 0 / 282.4 MB, free: 6.914 MB / 266.7 MB Notification: Performance of Templates: time 0.007671/0.03397, allocations: 2.958 MB / 285.3 MB, free: 4 MB / 266.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.558371213963255]