Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001336/0.001336, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001686/0.001686, allocations: 217.5 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 230.2 MB / 256.2 MB, free: 8.516 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 59.89 kB / 376.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2832, allocations: 53.32 MB / 429.8 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003902/0.2871, allocations: 2.448 MB / 432.2 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005202/0.2877, allocations: 247.1 kB / 432.5 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.2878, allocations: 11.94 kB / 432.5 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.288, allocations: 39.58 kB / 432.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.2881, allocations: 87.25 kB / 432.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.2883, allocations: 59.92 kB / 432.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003361/0.2887, allocations: 290.6 kB / 432.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.2889, allocations: 65.7 kB / 433 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.289, allocations: 107.6 kB / 433.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.2892, allocations: 123.5 kB / 433.2 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.912e-05/0.2892, allocations: 24 kB / 433.3 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.025e-05/0.2892, allocations: 20 kB / 433.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.177e-05/0.2893, allocations: 55.78 kB / 433.3 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.2894, allocations: 131.4 kB / 433.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.2898, allocations: 296 kB / 433.8 MB, free: 3.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2898, allocations: 0 / 433.8 MB, free: 3.527 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2898, allocations: 0 / 433.8 MB, free: 3.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2898, allocations: 0 / 433.8 MB, free: 3.527 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.0008354/0.2906, allocations: 0.5495 MB / 434.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.2907, allocations: 8.031 kB / 434.3 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.054e-05/0.2907, allocations: 32.75 kB / 434.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.2911, allocations: 248.6 kB / 434.6 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.2911, allocations: 16.94 kB / 434.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-05/0.2912, allocations: 24.38 kB / 434.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004272/0.2916, allocations: 251.9 kB / 434.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.2916, allocations: 4.188 kB / 434.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.2916, allocations: 15.92 kB / 434.9 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.2916, allocations: 8 kB / 434.9 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/0.292, allocations: 163.8 kB / 435.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.2931, allocations: 0.7971 MB / 435.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005428/0.2936, allocations: 271.8 kB / 436.1 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.2939, allocations: 122.7 kB / 436.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.2939, allocations: 15.92 kB / 436.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.2939, allocations: 38.56 kB / 436.3 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/0.2939, allocations: 0 / 436.3 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002859/0.2968, allocations: 1.95 MB / 438.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.871e-05/0.2969, allocations: 106.8 kB / 438.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.2971, allocations: 194.8 kB / 438.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.2971, allocations: 33.7 kB / 438.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.2972, allocations: 132.9 kB / 438.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.2974, allocations: 178.5 kB / 438.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.2975, allocations: 70.14 kB / 438.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.2977, allocations: 343 kB / 439.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.2978, allocations: 84.84 kB / 439.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.298, allocations: 166.2 kB / 439.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.2984, allocations: 273.9 kB / 439.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2984, allocations: 8 kB / 439.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005401/0.299, allocations: 351.7 kB / 440.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.299, allocations: 7.938 kB / 440.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.299, allocations: 0 / 440.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.299, allocations: 4 kB / 440.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.2994, allocations: 95.89 kB / 440.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.2994, allocations: 4 kB / 440.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.2995, allocations: 12 kB / 440.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.2995, allocations: 8 kB / 440.3 MB, free: 12.44 MB / 350.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.0001528/0.2997, allocations: 157.8 kB / 440.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.664e-05/0.2998, allocations: 31.75 kB / 440.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.28e-05/0.2998, allocations: 37.86 kB / 440.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.2999, allocations: 8 kB / 440.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.2999, allocations: 0 / 440.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.2999, allocations: 3.984 kB / 440.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.3016, allocations: 1.05 MB / 441.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.3016, allocations: 12.28 kB / 441.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003931/0.302, allocations: 87.89 kB / 441.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.302, allocations: 7.938 kB / 441.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.302, allocations: 16 kB / 441.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.302, allocations: 4 kB / 441.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.302, allocations: 7.938 kB / 441.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008641/0.3029, allocations: 0.7212 MB / 442.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.151e-05/0.303, allocations: 104.9 kB / 442.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.303, allocations: 16.06 kB / 442.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.3032, allocations: 8 kB / 442.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.3033, allocations: 31.89 kB / 442.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.3033, allocations: 16 kB / 442.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001437/0.3035, allocations: 140.9 kB / 442.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3035, allocations: 4 kB / 442.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004306/0.3039, allocations: 72 kB / 442.8 MB, free: 9.758 MB / 350.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.0001667/0.3041, allocations: 119.1 kB / 442.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004496/0.3045, allocations: 252.1 kB / 443.2 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3045, allocations: 0 / 443.2 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.3047, allocations: 144.1 kB / 443.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007042/0.3054, allocations: 67.45 kB / 443.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.307, allocations: 0.9235 MB / 444.3 MB, free: 8.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.3075, allocations: 0.7759 MB / 445.1 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.3076, allocations: 34.94 kB / 445.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.808e-05/0.3077, allocations: 27.44 kB / 445.1 MB, free: 7.328 MB / 350.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3077, allocations: 4 kB / 445.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of Templates: time 0.007737/0.3154, allocations: 3.167 MB / 448.3 MB, free: 4.191 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.425180247053504]