Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.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.001287/0.001287, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001491/0.001491, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.466/1.466, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator") [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.002122/0.002122, allocations: 64.78 kB / 379 MB, free: 2.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2893, allocations: 53.37 MB / 432.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004709/0.294, allocations: 2.474 MB / 434.9 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.2954, allocations: 0.6622 MB / 435.5 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.2956, allocations: 7.938 kB / 435.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.2957, allocations: 35.66 kB / 435.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.2959, allocations: 71.33 kB / 435.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.2963, allocations: 75.86 kB / 435.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003974/0.2967, allocations: 266.8 kB / 436 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.2968, allocations: 69.58 kB / 436 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.2971, allocations: 111.6 kB / 436.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.2972, allocations: 107.5 kB / 436.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.2973, allocations: 20 kB / 436.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.141e-05/0.2974, allocations: 24 kB / 436.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.778e-05/0.2974, allocations: 47.83 kB / 436.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.2975, allocations: 123.4 kB / 436.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003577/0.2979, allocations: 264.6 kB / 436.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2979, allocations: 4 kB / 436.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2979, allocations: 3.938 kB / 436.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.2979, allocations: 0 / 436.7 MB, free: 2.621 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008297/0.2987, allocations: 461.5 kB / 437.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.2988, allocations: 8.031 kB / 437.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002439/0.299, allocations: 52.72 kB / 437.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.2994, allocations: 186.9 kB / 437.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.2994, allocations: 12.81 kB / 437.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.2995, allocations: 24.33 kB / 437.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004394/0.2999, allocations: 217.3 kB / 437.7 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.2999, allocations: 4 kB / 437.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.2999, allocations: 12 kB / 437.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.118e-06/0.2999, allocations: 4 kB / 437.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.3003, allocations: 151.8 kB / 437.8 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.3015, allocations: 0.7473 MB / 438.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004129/0.3019, allocations: 193 kB / 438.8 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.3021, allocations: 89.67 kB / 438.9 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.3022, allocations: 8 kB / 438.9 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3022, allocations: 38.69 kB / 438.9 MB, free: 292 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.232e-06/0.3022, allocations: 0 / 438.9 MB, free: 292 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001635/0.3038, allocations: 0.7222 MB / 439.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.3039, allocations: 88.98 kB / 439.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.3041, allocations: 179.2 kB / 439.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.3041, allocations: 33.7 kB / 439.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.899e-05/0.3042, allocations: 140.4 kB / 440.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.622e-05/0.3043, allocations: 99.12 kB / 440.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.607e-05/0.3044, allocations: 49.7 kB / 440.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3045, allocations: 334.8 kB / 440.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.3047, allocations: 63.97 kB / 440.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.3049, allocations: 104.2 kB / 440.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.3052, allocations: 184.5 kB / 440.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.3052, allocations: 4 kB / 440.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004388/0.3056, allocations: 259.5 kB / 441.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3057, allocations: 4 kB / 441.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.3057, allocations: 8.094 kB / 441.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.3057, allocations: 0 / 441.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.3059, allocations: 63.91 kB / 441.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.3059, allocations: 7.938 kB / 441.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.306, allocations: 8 kB / 441.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.3061, allocations: 11.98 kB / 441.2 MB, free: 13.81 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.000131/0.3062, allocations: 138.2 kB / 441.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.236e-05/0.3063, allocations: 23.86 kB / 441.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.406e-05/0.3063, allocations: 29.81 kB / 441.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3063, allocations: 4 kB / 441.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.3063, allocations: 3.984 kB / 441.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3063, allocations: 0 / 441.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008543/0.3072, allocations: 0.5504 MB / 442 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.3072, allocations: 4.094 kB / 442 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.3075, allocations: 63.91 kB / 442.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3075, allocations: 0 / 442.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.3075, allocations: 11.98 kB / 442.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.3075, allocations: 4 kB / 442.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.3075, allocations: 3.938 kB / 442.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006934/0.3082, allocations: 493 kB / 442.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.3082, allocations: 11.91 kB / 442.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.3083, allocations: 11.94 kB / 442.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.3084, allocations: 12.03 kB / 442.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.3085, allocations: 24 kB / 442.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.3085, allocations: 15.98 kB / 442.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.3086, allocations: 132.5 kB / 442.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3086, allocations: 0 / 442.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003327/0.3089, allocations: 48 kB / 442.8 MB, free: 12.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * 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 (26): * Single equations (assignments): 26 * 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.0001105/0.3091, allocations: 103.2 kB / 442.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004041/0.3095, allocations: 179.9 kB / 443.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3095, allocations: 0 / 443.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.3096, allocations: 95.77 kB / 443.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.3101, allocations: 37.98 kB / 443.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.3114, allocations: 0.6874 MB / 443.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.3119, allocations: 0.7518 MB / 444.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.999e-05/0.312, allocations: 25.94 kB / 444.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.331e-05/0.312, allocations: 19.44 kB / 444.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.312, allocations: 0 / 444.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of Templates: time 0.00582/0.3179, allocations: 2.208 MB / 446.9 MB, free: 8.004 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Oscillator.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.463311818428338]