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.001344/0.001344, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.001458/0.001458, allocations: 192.8 kB / 23.71 MB, free: 4.406 MB / 14.72 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.471/1.471, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 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 0.001772/0.001772, allocations: 43.92 kB / 370.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2827, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003503/0.2862, allocations: 2.264 MB / 425.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004795/0.2867, allocations: 239.1 kB / 425.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.2868, allocations: 15.88 kB / 425.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.287, allocations: 39.58 kB / 425.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.2871, allocations: 83.2 kB / 425.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.2873, allocations: 59.92 kB / 425.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.2876, allocations: 294.6 kB / 426 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.2878, allocations: 69.77 kB / 426.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.288, allocations: 115.6 kB / 426.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.2881, allocations: 103.5 kB / 426.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.2882, allocations: 24 kB / 426.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.494e-05/0.2882, allocations: 20 kB / 426.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.2883, allocations: 51.83 kB / 426.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.2884, allocations: 111.5 kB / 426.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.2887, allocations: 297.2 kB / 426.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2887, allocations: 4 kB / 426.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2887, allocations: 0 / 426.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.2887, allocations: 0 / 426.8 MB, free: 10.7 MB / 334.1 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.0007496/0.2895, allocations: 477.6 kB / 427.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.2895, allocations: 8.031 kB / 427.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.027e-05/0.2896, allocations: 32.75 kB / 427.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.2899, allocations: 186.8 kB / 427.5 MB, free: 9.949 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.2899, allocations: 20.88 kB / 427.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.497e-05/0.2899, allocations: 32.33 kB / 427.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.2903, allocations: 239.2 kB / 427.8 MB, free: 9.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.2904, allocations: 4.125 kB / 427.8 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.2904, allocations: 15.94 kB / 427.8 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.2904, allocations: 8 kB / 427.8 MB, free: 9.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002898/0.2907, allocations: 147.9 kB / 428 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009642/0.2917, allocations: 0.668 MB / 428.6 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005274/0.2922, allocations: 283.7 kB / 428.9 MB, free: 8.465 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.2924, allocations: 122.5 kB / 429 MB, free: 8.336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.2924, allocations: 11.92 kB / 429 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.2925, allocations: 34.56 kB / 429.1 MB, free: 8.281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.2925, allocations: 7.938 kB / 429.1 MB, free: 8.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002501/0.295, allocations: 1.504 MB / 430.6 MB, free: 6.621 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.295, allocations: 114.8 kB / 430.7 MB, free: 6.484 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.2952, allocations: 158.5 kB / 430.8 MB, free: 6.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.2952, allocations: 37.7 kB / 430.9 MB, free: 6.277 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.059e-05/0.2953, allocations: 140.8 kB / 431 MB, free: 6.137 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.2954, allocations: 170.5 kB / 431.2 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.2955, allocations: 74.12 kB / 431.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2957, allocations: 338.8 kB / 431.6 MB, free: 5.551 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.2959, allocations: 88.83 kB / 431.7 MB, free: 5.465 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.2961, allocations: 154.3 kB / 431.8 MB, free: 5.289 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004067/0.2965, allocations: 283.1 kB / 432.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2965, allocations: 0 / 432.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005307/0.297, allocations: 342.4 kB / 432.4 MB, free: 4.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.297, allocations: 4 kB / 432.4 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.297, allocations: 4 kB / 432.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.297, allocations: 7.938 kB / 432.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/0.2974, allocations: 95.94 kB / 432.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.2974, allocations: 11.98 kB / 432.6 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.2975, allocations: 12 kB / 432.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.2975, allocations: 12.94 kB / 432.6 MB, free: 4.512 MB / 334.1 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.0001409/0.2977, allocations: 145.8 kB / 432.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.801e-05/0.2977, allocations: 27.86 kB / 432.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.303e-05/0.2978, allocations: 41.73 kB / 432.8 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2978, allocations: 4 kB / 432.8 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2978, allocations: 3.938 kB / 432.8 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2978, allocations: 0 / 432.8 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.2992, allocations: 0.9448 MB / 433.7 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.2992, allocations: 4 kB / 433.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.2996, allocations: 87.89 kB / 433.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.2996, allocations: 4 kB / 433.8 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.2996, allocations: 20.22 kB / 433.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.2996, allocations: 11.94 kB / 433.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.2996, allocations: 4 kB / 433.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008144/0.3004, allocations: 0.7138 MB / 434.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.013e-05/0.3005, allocations: 23.86 kB / 434.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.3005, allocations: 16 kB / 434.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.3007, allocations: 11.98 kB / 434.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.3008, allocations: 31.89 kB / 434.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.3008, allocations: 16 kB / 434.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.3009, allocations: 124.8 kB / 434.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3009, allocations: 4 kB / 434.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004232/0.3013, allocations: 72 kB / 434.9 MB, free: 2.082 MB / 334.1 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.0001166/0.3015, allocations: 118.9 kB / 435 MB, free: 1.957 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004224/0.3019, allocations: 258.9 kB / 435.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3019, allocations: 0 / 435.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.3021, allocations: 140.5 kB / 435.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006557/0.3027, allocations: 64.31 kB / 435.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.3041, allocations: 0.9245 MB / 436.4 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.3043, allocations: 167.6 kB / 436.5 MB, free: 344 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.3044, allocations: 26.97 kB / 436.6 MB, free: 316 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/0.3045, allocations: 27.44 kB / 436.6 MB, free: 288 kB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3045, allocations: 4 kB / 436.6 MB, free: 284 kB / 334.1 MB Notification: Performance of Templates: time 0.00706/0.3115, allocations: 3.226 MB / 439.8 MB, free: 13.1 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] 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.507319567725062]