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.001837/0.001837, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001689/0.001689, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.002106/0.002106, allocations: 68.77 kB / 379 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2789, allocations: 53.36 MB / 432.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004218/0.2831, allocations: 2.459 MB / 434.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000704/0.2838, allocations: 251 kB / 435.1 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00022/0.284, allocations: 7.938 kB / 435.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.2842, allocations: 43.58 kB / 435.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.2845, allocations: 83.27 kB / 435.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.2847, allocations: 51.94 kB / 435.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004447/0.2852, allocations: 290.6 kB / 435.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.2854, allocations: 73.98 kB / 435.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.2856, allocations: 115.6 kB / 435.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.2858, allocations: 119.5 kB / 435.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.239e-05/0.2858, allocations: 23.94 kB / 435.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.49e-05/0.2859, allocations: 24 kB / 435.9 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.2859, allocations: 55.77 kB / 436 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.2861, allocations: 131.4 kB / 436.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003732/0.2865, allocations: 292.4 kB / 436.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2865, allocations: 0 / 436.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.2865, allocations: 4 kB / 436.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.2865, allocations: 0 / 436.4 MB, free: 2.969 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.000879/0.2874, allocations: 476 kB / 436.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.2874, allocations: 12.03 kB / 436.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.455e-05/0.2875, allocations: 32.75 kB / 436.9 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.2878, allocations: 190.8 kB / 437.1 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.2879, allocations: 16.88 kB / 437.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.14e-05/0.2879, allocations: 28.31 kB / 437.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.2884, allocations: 243.2 kB / 437.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.2884, allocations: 192 / 437.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.2884, allocations: 15.94 kB / 437.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.2884, allocations: 4 kB / 437.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/0.2887, allocations: 163.8 kB / 437.5 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.2899, allocations: 0.7611 MB / 438.3 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000545/0.2905, allocations: 275.7 kB / 438.6 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.2907, allocations: 126.5 kB / 438.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.2908, allocations: 7.984 kB / 438.7 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.2908, allocations: 38.55 kB / 438.7 MB, free: 452 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.883e-06/0.2908, allocations: 4 kB / 438.7 MB, free: 448 kB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002782/0.2936, allocations: 1.507 MB / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/0.2937, allocations: 106.8 kB / 440.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.2939, allocations: 191.2 kB / 440.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.2939, allocations: 29.7 kB / 440.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.294, allocations: 140.9 kB / 440.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.2942, allocations: 170.5 kB / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.2943, allocations: 78.12 kB / 440.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2944, allocations: 338.8 kB / 441.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.2946, allocations: 92.83 kB / 441.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.2948, allocations: 154.3 kB / 441.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/0.2953, allocations: 275.2 kB / 441.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2953, allocations: 4 kB / 441.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006441/0.2959, allocations: 347 kB / 442.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.2959, allocations: 7.938 kB / 442.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.2959, allocations: 4 kB / 442.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.296, allocations: 4.094 kB / 442.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.2963, allocations: 95.89 kB / 442.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.2963, allocations: 4 kB / 442.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.2965, allocations: 12 kB / 442.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.2965, allocations: 12 kB / 442.3 MB, free: 12.66 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.0001756/0.2967, allocations: 153.7 kB / 442.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.2968, allocations: 31.75 kB / 442.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.22e-05/0.2969, allocations: 41.8 kB / 442.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2969, allocations: 8 kB / 442.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.2969, allocations: 0 / 442.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2969, allocations: 0 / 442.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.2985, allocations: 1.039 MB / 443.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.2985, allocations: 4 kB / 443.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/0.2988, allocations: 83.91 kB / 443.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/0.2989, allocations: 7.938 kB / 443.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.2989, allocations: 12 kB / 443.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.687e-06/0.2989, allocations: 8.359 kB / 443.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.2989, allocations: 15.88 kB / 443.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009574/0.2999, allocations: 0.7209 MB / 444.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.2999, allocations: 31.78 kB / 444.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.3, allocations: 12.06 kB / 444.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.3002, allocations: 8 kB / 444.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.3002, allocations: 35.89 kB / 444.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.3003, allocations: 16 kB / 444.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.3004, allocations: 136.5 kB / 444.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3004, allocations: 0 / 444.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004695/0.3009, allocations: 72 kB / 444.7 MB, free: 10.1 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.0001518/0.301, allocations: 115.1 kB / 444.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005148/0.3015, allocations: 263.6 kB / 445.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3015, allocations: 0 / 445.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.3017, allocations: 135.7 kB / 445.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006815/0.3024, allocations: 63.8 kB / 445.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.3041, allocations: 0.9171 MB / 446.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.3045, allocations: 0.776 MB / 446.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.3047, allocations: 34.97 kB / 447 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.642e-05/0.3048, allocations: 27.62 kB / 447 MB, free: 7.688 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3048, allocations: 0 / 447 MB, free: 7.688 MB / 350.1 MB Notification: Performance of Templates: time 0.008388/0.3131, allocations: 3.275 MB / 450.3 MB, free: 4.441 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 -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/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_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.6822056369856]