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.0009123/0.0009123, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001665/0.002577, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001156/0.001156, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001746/0.002902, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.001/1.001, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08904/1.09, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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 1.744e-06/1.744e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.152e-05, allocations: 5.969 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.00236/0.002381, allocations: 2.091 MB / 246.8 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007803/0.003162, allocations: 0.6933 MB / 247.5 MB, free: 11.42 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.04e-05/0.003242, allocations: 3.938 kB / 247.5 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.152e-05/0.003324, allocations: 23.78 kB / 247.5 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.941e-05/0.003413, allocations: 47.58 kB / 247.6 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.003569, allocations: 51.8 kB / 247.6 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.00374, allocations: 151.3 kB / 247.8 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.00385, allocations: 29.89 kB / 247.8 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.003976, allocations: 91.78 kB / 247.9 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.226e-05/0.004058, allocations: 47.83 kB / 247.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.004078, allocations: 12 kB / 247.9 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.826e-05/0.004166, allocations: 31.98 kB / 248 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.004187, allocations: 15.94 kB / 248 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.004221, allocations: 35.94 kB / 248 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.004401, allocations: 107.5 kB / 248.1 MB, free: 10.78 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.004411, allocations: 0 / 248.1 MB, free: 10.78 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.004412, allocations: 0 / 248.1 MB, free: 10.78 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.004421, allocations: 0 / 248.1 MB, free: 10.78 MB / 250.7 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.0004493/0.00487, allocations: 367.9 kB / 248.5 MB, free: 10.4 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.004901, allocations: 12.03 kB / 248.5 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.005084, allocations: 114 kB / 248.6 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.005224, allocations: 137.6 kB / 248.7 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.005234, allocations: 8.375 kB / 248.7 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.005264, allocations: 16.33 kB / 248.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.005405, allocations: 95.55 kB / 248.9 MB, free: 9.973 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.005413, allocations: 192 / 248.9 MB, free: 9.973 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.005424, allocations: 7.938 kB / 248.9 MB, free: 9.965 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.005429, allocations: 4 kB / 248.9 MB, free: 9.961 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.854e-05/0.005488, allocations: 37.89 kB / 248.9 MB, free: 9.926 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.005898, allocations: 319 kB / 249.2 MB, free: 9.594 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.006076, allocations: 74.48 kB / 249.3 MB, free: 9.512 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/0.006106, allocations: 17.08 kB / 249.3 MB, free: 9.492 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.006119, allocations: 3.938 kB / 249.3 MB, free: 9.488 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.006145, allocations: 42.55 kB / 249.3 MB, free: 9.438 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.006147, allocations: 0 / 249.3 MB, free: 9.438 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004553/0.006602, allocations: 270.7 kB / 249.6 MB, free: 9.141 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.006632, allocations: 55.41 kB / 249.7 MB, free: 9.074 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.299e-05/0.006705, allocations: 138.6 kB / 249.8 MB, free: 8.926 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.006718, allocations: 25.7 kB / 249.8 MB, free: 8.895 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.006757, allocations: 104.3 kB / 249.9 MB, free: 8.785 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.006783, allocations: 51.58 kB / 250 MB, free: 8.734 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.006819, allocations: 29.7 kB / 250 MB, free: 8.699 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.404e-05/0.006893, allocations: 334.7 kB / 250.3 MB, free: 8.363 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.006913, allocations: 15.89 kB / 250.4 MB, free: 8.348 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.381e-05/0.006947, allocations: 47.42 kB / 250.4 MB, free: 8.289 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.224e-05/0.007009, allocations: 71.27 kB / 250.5 MB, free: 8.207 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.00701, allocations: 0 / 250.5 MB, free: 8.207 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.935e-05/0.007109, allocations: 105.4 kB / 250.6 MB, free: 8.102 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.007121, allocations: 4 kB / 250.6 MB, free: 8.098 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.007125, allocations: 0 / 250.6 MB, free: 8.098 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.007136, allocations: 4 kB / 250.6 MB, free: 8.094 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.007273, allocations: 39.92 kB / 250.6 MB, free: 8.055 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.007278, allocations: 12 kB / 250.6 MB, free: 8.043 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.783e-05/0.007315, allocations: 11.98 kB / 250.6 MB, free: 8.031 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.00732, allocations: 0 / 250.6 MB, free: 8.031 MB / 250.7 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 5.576e-05/0.007376, allocations: 117.8 kB / 250.8 MB, free: 7.906 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.007399, allocations: 15.92 kB / 250.8 MB, free: 7.891 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.007429, allocations: 20.78 kB / 250.8 MB, free: 7.871 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.00743, allocations: 0 / 250.8 MB, free: 7.871 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.007432, allocations: 0 / 250.8 MB, free: 7.871 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.007436, allocations: 3.938 kB / 250.8 MB, free: 7.867 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.007712, allocations: 281.1 kB / 251.1 MB, free: 7.562 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.007714, allocations: 0 / 251.1 MB, free: 7.562 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.007827, allocations: 43.97 kB / 251.1 MB, free: 7.52 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.007839, allocations: 7.953 kB / 251.1 MB, free: 7.512 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.007844, allocations: 7.938 kB / 251.1 MB, free: 7.504 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.007851, allocations: 0 / 251.1 MB, free: 7.504 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.007854, allocations: 3.938 kB / 251.1 MB, free: 7.5 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.007856, allocations: 7.938 kB / 251.1 MB, free: 7.492 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.008009, allocations: 213.3 kB / 251.3 MB, free: 7.262 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.008022, allocations: 7.938 kB / 251.4 MB, free: 7.254 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.718e-05/0.008069, allocations: 7.984 kB / 251.4 MB, free: 7.246 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.008101, allocations: 11.98 kB / 251.4 MB, free: 7.234 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.008106, allocations: 4 kB / 251.4 MB, free: 7.23 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.249e-05/0.008128, allocations: 31.92 kB / 251.4 MB, free: 7.199 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008128, allocations: 0 / 251.4 MB, free: 7.199 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001618/0.00829, allocations: 31.94 kB / 251.4 MB, free: 7.168 MB / 250.7 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 7.613e-05/0.008366, allocations: 80.42 kB / 251.5 MB, free: 7.082 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.008469, allocations: 69.48 kB / 251.6 MB, free: 7.012 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.008477, allocations: 4 kB / 251.6 MB, free: 7.008 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.546e-05/0.008522, allocations: 44.81 kB / 251.6 MB, free: 6.961 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.00877, allocations: 245.6 kB / 251.9 MB, free: 6.672 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.01038, allocations: 358.7 kB / 252.2 MB, free: 6.285 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.733e-05/0.01042, allocations: 67.84 kB / 252.3 MB, free: 6.199 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.675e-05/0.01048, allocations: 17.36 kB / 252.3 MB, free: 6.18 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.968e-05/0.01056, allocations: 71.36 kB / 252.4 MB, free: 6.109 MB / 250.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01056, allocations: 0 / 252.4 MB, free: 6.109 MB / 250.7 MB Notification: Performance of Templates: time 0.003132/0.01369, allocations: 1.639 MB / 254 MB, free: 4.516 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3141584815457463]