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.001304/0.001304, allocations: 115.5 kB / 21.18 MB, free: 0.5898 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.001375/0.001375, allocations: 210.8 kB / 24.47 MB, free: 3.996 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.407/1.407, allocations: 230.4 MB / 258.1 MB, free: 8.121 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.001915/0.001915, allocations: 67.83 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2601, allocations: 53.32 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003328/0.2634, allocations: 2.03 MB / 434.1 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.2645, allocations: 0.6974 MB / 434.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.543e-05/0.2646, allocations: 4 kB / 434.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.2647, allocations: 19.8 kB / 434.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.595e-05/0.2648, allocations: 43.62 kB / 434.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.265, allocations: 59.75 kB / 434.9 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.2652, allocations: 151.2 kB / 435 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.2654, allocations: 21.11 kB / 435.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.492e-05/0.2655, allocations: 51.84 kB / 435.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.2656, allocations: 63.7 kB / 435.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.2656, allocations: 8 kB / 435.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-05/0.2657, allocations: 27.98 kB / 435.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.015e-05/0.2657, allocations: 23.86 kB / 435.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.609e-05/0.2658, allocations: 67.66 kB / 435.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.266, allocations: 153.4 kB / 435.4 MB, free: 3.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.266, allocations: 0 / 435.4 MB, free: 3.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.266, allocations: 0 / 435.4 MB, free: 3.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.266, allocations: 0 / 435.4 MB, free: 3.957 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.0006965/0.2667, allocations: 446.8 kB / 435.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.2667, allocations: 8.031 kB / 435.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.2669, allocations: 40.75 kB / 435.9 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.2672, allocations: 200.2 kB / 436.1 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.2672, allocations: 8.375 kB / 436.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.2672, allocations: 12.38 kB / 436.1 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.2675, allocations: 117.6 kB / 436.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.2675, allocations: 3.953 kB / 436.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.2675, allocations: 4 kB / 436.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2676, allocations: 0 / 436.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.2678, allocations: 103.9 kB / 436.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000823/0.2687, allocations: 483.5 kB / 436.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003582/0.269, allocations: 122.5 kB / 437 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.2691, allocations: 40.84 kB / 437 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.2692, allocations: 4 kB / 437 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.2692, allocations: 34.55 kB / 437 MB, free: 2.195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.2692, allocations: 0 / 437 MB, free: 2.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.00105/0.2702, allocations: 486.1 kB / 437.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.2703, allocations: 51.41 kB / 437.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.2704, allocations: 137.1 kB / 437.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.2704, allocations: 29.7 kB / 437.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.18e-05/0.2705, allocations: 116.2 kB / 437.8 MB, free: 1.309 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.2705, allocations: 51.58 kB / 437.9 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.2706, allocations: 37.66 kB / 437.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2707, allocations: 322.8 kB / 438.2 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.2709, allocations: 47.91 kB / 438.3 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.271, allocations: 78.12 kB / 438.4 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.2713, allocations: 129.7 kB / 438.5 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.2713, allocations: 0 / 438.5 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003535/0.2717, allocations: 161.5 kB / 438.6 MB, free: 468 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2717, allocations: 12 kB / 438.7 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2717, allocations: 0 / 438.7 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2717, allocations: 4 kB / 438.7 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.2719, allocations: 39.91 kB / 438.7 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2719, allocations: 4 kB / 438.7 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.272, allocations: 11.98 kB / 438.7 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.272, allocations: 4 kB / 438.7 MB, free: 392 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 9.201e-05/0.2721, allocations: 117.8 kB / 438.8 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.2721, allocations: 19.89 kB / 438.9 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/0.2722, allocations: 20.81 kB / 438.9 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2722, allocations: 4 kB / 438.9 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2722, allocations: 0 / 438.9 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2722, allocations: 0 / 438.9 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007493/0.2729, allocations: 484.7 kB / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.2729, allocations: 4 kB / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.2731, allocations: 31.97 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.2731, allocations: 4 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2731, allocations: 0 / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2731, allocations: 4 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2731, allocations: 0 / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005212/0.2737, allocations: 309 kB / 439.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.2737, allocations: 85.11 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.2737, allocations: 7.922 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.2739, allocations: 8 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.2739, allocations: 7.984 kB / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.2739, allocations: 12 kB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.602e-05/0.274, allocations: 103.2 kB / 439.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.274, allocations: 0 / 439.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.2743, allocations: 28 kB / 439.9 MB, free: 15.05 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.0001118/0.2744, allocations: 107.1 kB / 440 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003406/0.2747, allocations: 114.6 kB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2747, allocations: 4.125 kB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.2749, allocations: 51.91 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.2752, allocations: 28.19 kB / 440.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00085/0.276, allocations: 0.5185 MB / 440.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.2764, allocations: 0.708 MB / 441.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.2764, allocations: 15.44 kB / 441.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2764, allocations: 0 / 441.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of Templates: time 0.003454/0.2799, allocations: 1.695 MB / 443.2 MB, free: 11.75 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.5540272779762745]