Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.001391/0.001391, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001713/0.001713, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.537/1.537, allocations: 230.6 MB / 258.2 MB, free: 8.07 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.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [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.002302/0.002302, allocations: 68.77 kB / 379 MB, free: 2.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2905, allocations: 53.37 MB / 432.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003457/0.2939, allocations: 2.022 MB / 434.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.2951, allocations: 0.709 MB / 435.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.874e-05/0.2952, allocations: 8 kB / 435.1 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.2953, allocations: 23.73 kB / 435.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.508e-05/0.2954, allocations: 39.62 kB / 435.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.2956, allocations: 55.81 kB / 435.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000261/0.2959, allocations: 143.3 kB / 435.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.296, allocations: 32.94 kB / 435.4 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.322e-05/0.2961, allocations: 51.8 kB / 435.5 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.2962, allocations: 63.7 kB / 435.5 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.2963, allocations: 12 kB / 435.6 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.391e-05/0.2963, allocations: 27.98 kB / 435.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.063e-05/0.2964, allocations: 27.86 kB / 435.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.2964, allocations: 59.72 kB / 435.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.2967, allocations: 154.4 kB / 435.8 MB, free: 3.555 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2967, allocations: 0 / 435.8 MB, free: 3.555 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2967, allocations: 0 / 435.8 MB, free: 3.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.2967, allocations: 0 / 435.8 MB, free: 3.555 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006717/0.2974, allocations: 369.7 kB / 436.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.2974, allocations: 8.031 kB / 436.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/0.2976, allocations: 28.83 kB / 436.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.2978, allocations: 146.3 kB / 436.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.2979, allocations: 8.375 kB / 436.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/0.2979, allocations: 12.38 kB / 436.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.2982, allocations: 117.6 kB / 436.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.2982, allocations: 7.953 kB / 436.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.2982, allocations: 4 kB / 436.5 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2982, allocations: 4 kB / 436.5 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.2986, allocations: 99.8 kB / 436.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008816/0.2995, allocations: 454.5 kB / 437 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.2998, allocations: 114.5 kB / 437.2 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.3, allocations: 40.88 kB / 437.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.3, allocations: 4 kB / 437.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/0.3, allocations: 38.56 kB / 437.2 MB, free: 2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.3, allocations: 0 / 437.2 MB, free: 2 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001019/0.3011, allocations: 405.4 kB / 437.6 MB, free: 1.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.3011, allocations: 55.41 kB / 437.7 MB, free: 1.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.3012, allocations: 138.1 kB / 437.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.3013, allocations: 33.64 kB / 437.9 MB, free: 1.316 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.666e-05/0.3013, allocations: 116.2 kB / 438 MB, free: 1.199 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.3014, allocations: 47.56 kB / 438 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.3014, allocations: 37.67 kB / 438.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3016, allocations: 322.8 kB / 438.4 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.3017, allocations: 39.97 kB / 438.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.3019, allocations: 79.31 kB / 438.5 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.3022, allocations: 122.1 kB / 438.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3022, allocations: 0 / 438.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003673/0.3025, allocations: 177.5 kB / 438.8 MB, free: 356 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3026, allocations: 10.44 kB / 438.8 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3026, allocations: 4 kB / 438.8 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3026, allocations: 0 / 438.8 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.3028, allocations: 39.92 kB / 438.8 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3028, allocations: 0 / 438.8 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.3029, allocations: 7.984 kB / 438.8 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.3029, allocations: 16.06 kB / 438.9 MB, free: 280 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 18 * 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.0001147/0.303, allocations: 125.8 kB / 439 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.303, allocations: 11.89 kB / 439 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.465e-05/0.3031, allocations: 20.77 kB / 439 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3031, allocations: 0 / 439 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3031, allocations: 0 / 439 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3031, allocations: 0 / 439 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007932/0.3039, allocations: 455.3 kB / 439.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3039, allocations: 0 / 439.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.3041, allocations: 35.98 kB / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3041, allocations: 0 / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3041, allocations: 0 / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.3041, allocations: 7.938 kB / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3041, allocations: 64 / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000604/0.3047, allocations: 309.1 kB / 439.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.3048, allocations: 7.953 kB / 439.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.3048, allocations: 0 / 439.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.3049, allocations: 12 kB / 439.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.3049, allocations: 11.97 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.3049, allocations: 4 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.381e-05/0.305, allocations: 105.8 kB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.305, allocations: 3.938 kB / 439.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.3053, allocations: 28 kB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,heatCapacitor.T) * 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 (13): * Single equations (assignments): 13 * 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.0001137/0.3054, allocations: 109.8 kB / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003219/0.3057, allocations: 115.4 kB / 440.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3057, allocations: 0 / 440.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.3059, allocations: 59.84 kB / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.3062, allocations: 19.98 kB / 440.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009632/0.3072, allocations: 0.499 MB / 440.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.3076, allocations: 0.708 MB / 441.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.621e-05/0.3076, allocations: 12.44 kB / 441.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.3077, allocations: 15.44 kB / 441.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3077, allocations: 0 / 441.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of Templates: time 0.004782/0.3124, allocations: 1.484 MB / 443 MB, free: 12.01 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.506592618301511]