Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 258.2 MB, free: 7.746 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 55.91 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2524, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.00366/0.256, allocations: 1.952 MB / 434.3 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.2573, allocations: 0.6429 MB / 434.9 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.85e-05/0.2574, allocations: 3.938 kB / 434.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.2575, allocations: 23.78 kB / 434.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.432e-05/0.2576, allocations: 43.64 kB / 435 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.2579, allocations: 51.86 kB / 435 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.2581, allocations: 143.3 kB / 435.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.2582, allocations: 24.95 kB / 435.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.2584, allocations: 67.7 kB / 435.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.971e-05/0.2585, allocations: 47.78 kB / 435.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.2585, allocations: 8 kB / 435.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.748e-05/0.2586, allocations: 23.98 kB / 435.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.2586, allocations: 31.86 kB / 435.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.2587, allocations: 51.78 kB / 435.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.2589, allocations: 158.3 kB / 435.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2589, allocations: 0 / 435.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2589, allocations: 0 / 435.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2589, allocations: 0 / 435.6 MB, free: 3.461 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.0006724/0.2596, allocations: 365.7 kB / 435.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.2596, allocations: 8.031 kB / 436 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.2598, allocations: 36.83 kB / 436 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.2601, allocations: 146.3 kB / 436.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.2601, allocations: 8.375 kB / 436.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.2602, allocations: 8.375 kB / 436.1 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.2604, allocations: 117.6 kB / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.2605, allocations: 3.953 kB / 436.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.2605, allocations: 4 kB / 436.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2605, allocations: 8 kB / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003426/0.2608, allocations: 91.92 kB / 436.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007941/0.2616, allocations: 407.1 kB / 436.8 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.262, allocations: 114.4 kB / 436.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.2621, allocations: 48.88 kB / 436.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.2621, allocations: 7.938 kB / 436.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.2622, allocations: 30.56 kB / 437 MB, free: 1.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.2622, allocations: 0 / 437 MB, free: 1.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001023/0.2632, allocations: 405.5 kB / 437.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.2632, allocations: 59.39 kB / 437.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.2634, allocations: 138.2 kB / 437.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.2634, allocations: 25.92 kB / 437.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.588e-05/0.2635, allocations: 112.2 kB / 437.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/0.2635, allocations: 59.47 kB / 437.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.2636, allocations: 25.72 kB / 437.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002849/0.2639, allocations: 326.8 kB / 438.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.264, allocations: 43.88 kB / 438.1 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.2642, allocations: 79.33 kB / 438.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.2645, allocations: 130.4 kB / 438.3 MB, free: 500 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-06/0.2645, allocations: 0 / 438.3 MB, free: 500 kB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003721/0.2649, allocations: 165.5 kB / 438.5 MB, free: 328 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.2649, allocations: 4 kB / 438.5 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.2649, allocations: 7.938 kB / 438.5 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2649, allocations: 4.062 kB / 438.5 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.2651, allocations: 43.97 kB / 438.6 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2651, allocations: 3.938 kB / 438.6 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.442e-05/0.2652, allocations: 4 kB / 438.6 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.2652, allocations: 4 kB / 438.6 MB, free: 256 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.0001099/0.2653, allocations: 125.8 kB / 438.7 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.2654, allocations: 15.91 kB / 438.7 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.993e-05/0.2654, allocations: 20.72 kB / 438.7 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2654, allocations: 0 / 438.7 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2654, allocations: 8 kB / 438.7 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2654, allocations: 0 / 438.7 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007162/0.2661, allocations: 411.7 kB / 439.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2661, allocations: 0 / 439.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.2663, allocations: 35.97 kB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2663, allocations: 0 / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.2664, allocations: 4 kB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2664, allocations: 4.062 kB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2664, allocations: 0 / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005337/0.2669, allocations: 305 kB / 439.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.467e-05/0.2669, allocations: 7.953 kB / 439.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.2669, allocations: 4 kB / 439.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.2671, allocations: 12.03 kB / 439.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.2671, allocations: 7.984 kB / 439.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.2671, allocations: 4 kB / 439.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.727e-05/0.2672, allocations: 117.9 kB / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2672, allocations: 0 / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.2675, allocations: 28 kB / 439.7 MB, free: 15.09 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.0001143/0.2676, allocations: 103.2 kB / 439.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003465/0.2679, allocations: 107.8 kB / 439.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.2679, allocations: 4 kB / 439.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.2681, allocations: 60.03 kB / 439.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.2684, allocations: 30.56 kB / 440 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008948/0.2693, allocations: 0.5085 MB / 440.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.2694, allocations: 102.3 kB / 440.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.205e-05/0.2695, allocations: 15.44 kB / 440.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2695, allocations: 3.938 kB / 440.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of Templates: time 0.003704/0.2732, allocations: 1.735 MB / 442.3 MB, free: 12.38 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.950775776058435]