Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0007852/0.0007852, allocations: 75.75 kB / 21.97 MB, free: 2.605 MB / 18.57 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.0009164/0.0009164, allocations: 166.9 kB / 25.33 MB, free: 8.703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9844/0.9844, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 251 MB, free: 7.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.899e-05, allocations: 2.312 kB / 251 MB, free: 7.535 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002586/0.002605, allocations: 1.822 MB / 252.8 MB, free: 5.699 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008924/0.003497, allocations: 0.6747 MB / 253.5 MB, free: 5.016 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.384e-05/0.003571, allocations: 4 kB / 253.5 MB, free: 5.012 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.00368, allocations: 11.86 kB / 253.5 MB, free: 5 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.91e-05/0.003749, allocations: 43.62 kB / 253.6 MB, free: 4.957 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.003963, allocations: 47.81 kB / 253.6 MB, free: 4.91 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.004114, allocations: 127.3 kB / 253.7 MB, free: 4.785 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.004215, allocations: 21.58 kB / 253.8 MB, free: 4.766 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.699e-05/0.004292, allocations: 71.75 kB / 253.8 MB, free: 4.695 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.587e-05/0.004378, allocations: 35.89 kB / 253.9 MB, free: 4.66 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.004396, allocations: 8 kB / 253.9 MB, free: 4.652 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.695e-05/0.004463, allocations: 27.98 kB / 253.9 MB, free: 4.625 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.004486, allocations: 19.92 kB / 253.9 MB, free: 4.605 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/0.004526, allocations: 35.91 kB / 254 MB, free: 4.57 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.004697, allocations: 99.66 kB / 254.1 MB, free: 4.473 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004699, allocations: 0 / 254.1 MB, free: 4.473 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.004701, allocations: 4 kB / 254.1 MB, free: 4.469 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.004705, allocations: 4 kB / 254.1 MB, free: 4.465 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004463/0.005151, allocations: 428.3 kB / 254.5 MB, free: 4.012 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.005187, allocations: 15.98 kB / 254.5 MB, free: 3.996 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.005356, allocations: 36.81 kB / 254.5 MB, free: 3.961 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.005509, allocations: 148.4 kB / 254.7 MB, free: 3.789 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.005522, allocations: 4.562 kB / 254.7 MB, free: 3.785 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.005552, allocations: 16.33 kB / 254.7 MB, free: 3.77 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.005687, allocations: 78.34 kB / 254.8 MB, free: 3.688 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.005697, allocations: 0 / 254.8 MB, free: 3.688 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.005711, allocations: 8 kB / 254.8 MB, free: 3.68 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.005719, allocations: 0 / 254.8 MB, free: 3.68 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.151e-05/0.00581, allocations: 43.89 kB / 254.8 MB, free: 3.637 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.006307, allocations: 410.8 kB / 255.2 MB, free: 3.195 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.006521, allocations: 87.06 kB / 255.3 MB, free: 3.094 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.006561, allocations: 27.67 kB / 255.3 MB, free: 3.062 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.006572, allocations: 4 kB / 255.3 MB, free: 3.059 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.006592, allocations: 37.61 kB / 255.4 MB, free: 3.012 MB / 234.7 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.006593, allocations: 3.938 kB / 255.4 MB, free: 3.008 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008511/0.007444, allocations: 358 kB / 255.7 MB, free: 2.621 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.007474, allocations: 59.34 kB / 255.8 MB, free: 2.551 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.069e-05/0.007565, allocations: 180.8 kB / 256 MB, free: 2.359 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.007578, allocations: 29.7 kB / 256 MB, free: 2.324 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.007642, allocations: 154.7 kB / 256.1 MB, free: 2.168 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.007677, allocations: 47.59 kB / 256.2 MB, free: 2.121 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.007723, allocations: 31.38 kB / 256.2 MB, free: 2.082 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.007843, allocations: 0.4961 MB / 256.7 MB, free: 1.574 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.227e-05/0.007885, allocations: 23.98 kB / 256.7 MB, free: 1.551 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.149e-05/0.007946, allocations: 58.66 kB / 256.8 MB, free: 1.477 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.008048, allocations: 90.84 kB / 256.9 MB, free: 1.371 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.00805, allocations: 0 / 256.9 MB, free: 1.371 MB / 234.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001543/0.008204, allocations: 117.5 kB / 257 MB, free: 1.25 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.008219, allocations: 8 kB / 257 MB, free: 1.242 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.008223, allocations: 48 / 257 MB, free: 1.242 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.00824, allocations: 3.984 kB / 257 MB, free: 1.238 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.008346, allocations: 39.98 kB / 257.1 MB, free: 1.199 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.008352, allocations: 4 kB / 257.1 MB, free: 1.195 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.008392, allocations: 4 kB / 257.1 MB, free: 1.191 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.0084, allocations: 4 kB / 257.1 MB, free: 1.188 MB / 234.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 (17): * Single equations (assignments): 17 * 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 7.592e-05/0.008476, allocations: 168.5 kB / 257.2 MB, free: 1.012 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.008506, allocations: 15.94 kB / 257.2 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.00854, allocations: 16.44 kB / 257.3 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.008541, allocations: 0 / 257.3 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.008545, allocations: 0 / 257.3 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.008547, allocations: 0 / 257.3 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.008932, allocations: 408.6 kB / 257.7 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.008934, allocations: 4 kB / 257.7 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.009035, allocations: 23.98 kB / 257.7 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.009038, allocations: 4 kB / 257.7 MB, free: 0.5 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.009047, allocations: 0 / 257.7 MB, free: 0.5 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.00905, allocations: 4 kB / 257.7 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.009052, allocations: 0 / 257.7 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.009276, allocations: 287 kB / 258 MB, free: 192 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.009286, allocations: 8.016 kB / 258 MB, free: 184 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.009302, allocations: 8 kB / 258 MB, free: 176 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.263e-05/0.009364, allocations: 4 kB / 258 MB, free: 172 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.009387, allocations: 11.92 kB / 258 MB, free: 160 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.009393, allocations: 4 kB / 258 MB, free: 156 kB / 234.7 MB Notification: Performance of sorting global known variables: time 4.962e-05/0.009442, allocations: 135.2 kB / 258.1 MB, free: 20 kB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009442, allocations: 0 / 258.1 MB, free: 20 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002592/0.009702, allocations: 24.05 kB / 258.2 MB, free: 15.99 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 (12): * Single equations (assignments): 12 * 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 8.613e-05/0.009788, allocations: 103.1 kB / 258.3 MB, free: 15.88 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.009931, allocations: 74.98 kB / 258.3 MB, free: 15.81 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.009933, allocations: 0 / 258.3 MB, free: 15.81 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.9e-05/0.009982, allocations: 43.64 kB / 258.4 MB, free: 15.77 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.01028, allocations: 19.92 kB / 258.4 MB, free: 15.75 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008527/0.01114, allocations: 396.3 kB / 258.8 MB, free: 15.32 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.873e-05/0.01119, allocations: 67.34 kB / 258.9 MB, free: 15.24 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.825e-05/0.01123, allocations: 8.984 kB / 258.9 MB, free: 15.22 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.01127, allocations: 12.5 kB / 258.9 MB, free: 15.21 MB / 250.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01127, allocations: 0 / 258.9 MB, free: 15.21 MB / 250.7 MB Notification: Performance of Templates: time 0.003077/0.01435, allocations: 1.15 MB / 260 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.88561400026083]