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.00164/0.00164, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001969/0.001969, allocations: 212.2 kB / 24.48 MB, free: 3.977 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.476/1.476, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.001585/0.001585, allocations: 59.92 kB / 379 MB, free: 2.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.219, allocations: 53.36 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.00321/0.2222, allocations: 1.94 MB / 434.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.2233, allocations: 0.6507 MB / 434.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.396e-05/0.2234, allocations: 4 kB / 434.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.2235, allocations: 19.78 kB / 434.9 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.34e-05/0.2236, allocations: 43.64 kB / 435 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.2238, allocations: 51.8 kB / 435 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.224, allocations: 147.3 kB / 435.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.2241, allocations: 29.22 kB / 435.2 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.923e-05/0.2242, allocations: 59.72 kB / 435.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.055e-05/0.2243, allocations: 55.78 kB / 435.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.2243, allocations: 12 kB / 435.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.879e-05/0.2244, allocations: 27.98 kB / 435.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.058e-05/0.2244, allocations: 27.91 kB / 435.4 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.971e-05/0.2245, allocations: 51.73 kB / 435.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.2247, allocations: 157 kB / 435.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2247, allocations: 0 / 435.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2247, allocations: 0 / 435.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.2248, allocations: 0 / 435.6 MB, free: 3.477 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.0006661/0.2254, allocations: 373.7 kB / 436 MB, free: 3.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.2255, allocations: 8.031 kB / 436 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.2256, allocations: 28.83 kB / 436 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.2259, allocations: 142.3 kB / 436.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.2259, allocations: 8.375 kB / 436.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.2259, allocations: 12.38 kB / 436.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.2262, allocations: 117.6 kB / 436.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.2262, allocations: 3.953 kB / 436.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.2263, allocations: 11.94 kB / 436.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2263, allocations: 0 / 436.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.2265, allocations: 95.92 kB / 436.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007958/0.2273, allocations: 403.1 kB / 436.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.2277, allocations: 118.5 kB / 436.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.2278, allocations: 48.88 kB / 436.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.2278, allocations: 0 / 436.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.2279, allocations: 42.5 kB / 437 MB, free: 1.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 9.81e-07/0.2279, allocations: 0 / 437 MB, free: 1.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001009/0.2289, allocations: 409.6 kB / 437.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.2289, allocations: 51.41 kB / 437.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.229, allocations: 140.9 kB / 437.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.2291, allocations: 25.7 kB / 437.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.604e-05/0.2291, allocations: 120.2 kB / 437.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.2292, allocations: 51.53 kB / 437.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.597e-05/0.2292, allocations: 29.72 kB / 437.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.2294, allocations: 326.8 kB / 438.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.2295, allocations: 51.88 kB / 438.1 MB, free: 0.707 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.2297, allocations: 71.39 kB / 438.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.2299, allocations: 122.3 kB / 438.3 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2299, allocations: 4 kB / 438.3 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003549/0.2303, allocations: 165.5 kB / 438.5 MB, free: 332 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2303, allocations: 14.75 kB / 438.5 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2303, allocations: 3.938 kB / 438.5 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2303, allocations: 3.938 kB / 438.5 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.2305, allocations: 43.97 kB / 438.6 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2305, allocations: 0 / 438.6 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.2306, allocations: 8 kB / 438.6 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.2306, allocations: 8.047 kB / 438.6 MB, free: 252 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.723e-05/0.2307, allocations: 121.8 kB / 438.7 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.2308, allocations: 27.91 kB / 438.7 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/0.2308, allocations: 16.72 kB / 438.7 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2308, allocations: 4 kB / 438.8 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2308, allocations: 0 / 438.8 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2308, allocations: 0 / 438.8 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007009/0.2315, allocations: 395.9 kB / 439.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2315, allocations: 0 / 439.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.2318, allocations: 39.98 kB / 439.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.2318, allocations: 7.984 kB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.2318, allocations: 3.938 kB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2318, allocations: 0 / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2318, allocations: 4 kB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005258/0.2323, allocations: 305.1 kB / 439.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.2323, allocations: 7.953 kB / 439.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.2323, allocations: 4 kB / 439.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.2325, allocations: 12.03 kB / 439.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.2325, allocations: 15.92 kB / 439.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.2325, allocations: 4 kB / 439.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.241e-05/0.2326, allocations: 102 kB / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2326, allocations: 0 / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.2329, allocations: 28 kB / 439.7 MB, free: 15.1 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.0001034/0.233, allocations: 107.2 kB / 439.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003267/0.2333, allocations: 115.9 kB / 439.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2333, allocations: 0 / 439.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.2335, allocations: 51.91 kB / 439.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.2338, allocations: 27.86 kB / 440 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008449/0.2346, allocations: 493.9 kB / 440.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.372e-05/0.2347, allocations: 106.2 kB / 440.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.831e-05/0.2348, allocations: 20.41 kB / 440.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.2348, allocations: 15.44 kB / 440.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2348, allocations: 0 / 440.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of Templates: time 0.004381/0.2392, allocations: 1.598 MB / 442.2 MB, free: 12.56 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 -s gbode -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: 4.170086918005836]