Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001869/0.001869, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.002051/0.002051, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.496/1.496, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.83 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2889, allocations: 53.3 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003699/0.2926, allocations: 2.459 MB / 434.5 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005146/0.2931, allocations: 247.1 kB / 434.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.2932, allocations: 4 kB / 434.7 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.2934, allocations: 51.52 kB / 434.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.2935, allocations: 87.2 kB / 434.9 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.2937, allocations: 55.92 kB / 434.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003475/0.2941, allocations: 294.6 kB / 435.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.2942, allocations: 65.72 kB / 435.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.2944, allocations: 107.6 kB / 435.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.2946, allocations: 115.5 kB / 435.5 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.2946, allocations: 24 kB / 435.5 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.162e-05/0.2946, allocations: 20 kB / 435.5 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.952e-05/0.2947, allocations: 55.78 kB / 435.6 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.2948, allocations: 131.4 kB / 435.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.2952, allocations: 304.2 kB / 436 MB, free: 3.387 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2952, allocations: 0 / 436 MB, free: 3.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2952, allocations: 0 / 436 MB, free: 3.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.2952, allocations: 3.938 kB / 436 MB, free: 3.383 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.0008237/0.296, allocations: 0.5417 MB / 436.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2961, allocations: 12.03 kB / 436.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.731e-05/0.2961, allocations: 32.75 kB / 436.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.2965, allocations: 252.6 kB / 436.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.2965, allocations: 16.94 kB / 436.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.831e-05/0.2966, allocations: 24.38 kB / 436.9 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.297, allocations: 240 kB / 437.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.297, allocations: 8.125 kB / 437.1 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.297, allocations: 15.94 kB / 437.1 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.297, allocations: 11.98 kB / 437.2 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004058/0.2974, allocations: 158.7 kB / 437.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.2986, allocations: 0.7971 MB / 438.1 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005276/0.2991, allocations: 275.7 kB / 438.4 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.2993, allocations: 114.8 kB / 438.5 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.2993, allocations: 15.92 kB / 438.5 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.2994, allocations: 38.56 kB / 438.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.2994, allocations: 0 / 438.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002767/0.3021, allocations: 1.949 MB / 440.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.3022, allocations: 110.8 kB / 440.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.3024, allocations: 199.1 kB / 440.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.3024, allocations: 33.7 kB / 440.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.3025, allocations: 140.9 kB / 441 MB, free: 13.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.3027, allocations: 174.5 kB / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.961e-05/0.3028, allocations: 70.14 kB / 441.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3029, allocations: 342.8 kB / 441.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.3031, allocations: 88.84 kB / 441.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.3033, allocations: 158.3 kB / 441.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/0.3037, allocations: 284.1 kB / 442.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3037, allocations: 0 / 442.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005136/0.3042, allocations: 345.2 kB / 442.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.3042, allocations: 11.94 kB / 442.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3043, allocations: 0 / 442.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.3043, allocations: 4 kB / 442.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.3046, allocations: 99.83 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.3046, allocations: 4 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.3047, allocations: 8 kB / 442.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.3047, allocations: 12 kB / 442.5 MB, free: 12.3 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.0001503/0.3049, allocations: 153.9 kB / 442.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.928e-05/0.305, allocations: 31.75 kB / 442.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.623e-05/0.3051, allocations: 41.86 kB / 442.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.3051, allocations: 8 kB / 442.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3051, allocations: 0 / 442.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.3051, allocations: 7.922 kB / 442.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.3065, allocations: 1.051 MB / 443.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.3065, allocations: 4 kB / 443.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.3069, allocations: 92.17 kB / 443.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.3069, allocations: 7.938 kB / 443.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.307, allocations: 12 kB / 443.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.307, allocations: 7.938 kB / 443.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.307, allocations: 4 kB / 443.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008063/0.3078, allocations: 0.7173 MB / 444.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.046e-05/0.3078, allocations: 105 kB / 444.8 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.3079, allocations: 16 kB / 444.8 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.3081, allocations: 12.09 kB / 444.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.3082, allocations: 39.77 kB / 444.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.3082, allocations: 12 kB / 444.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.3083, allocations: 144.2 kB / 445 MB, free: 9.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3083, allocations: 0 / 445 MB, free: 9.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004271/0.3087, allocations: 72 kB / 445 MB, free: 9.613 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.0001357/0.3089, allocations: 115.2 kB / 445.2 MB, free: 9.492 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004338/0.3093, allocations: 255.8 kB / 445.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3093, allocations: 3.938 kB / 445.4 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.3095, allocations: 140.2 kB / 445.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006919/0.3102, allocations: 76.02 kB / 445.6 MB, free: 9.031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.3117, allocations: 0.9117 MB / 446.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.3121, allocations: 0.7759 MB / 447.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.3122, allocations: 34.94 kB / 447.3 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.164e-05/0.3123, allocations: 27.44 kB / 447.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3123, allocations: 4 kB / 447.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of Templates: time 0.009743/0.322, allocations: 3.162 MB / 450.5 MB, free: 4.051 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.536342948209494]