Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001021/0.001021, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001546/0.002567, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006926/0.0006926, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000922/0.001615, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9806/0.9806, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09024/1.071, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.547e-06/3.547e-06, allocations: 4 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055e-05/1.41e-05, allocations: 5.125 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002513/0.002527, allocations: 2.079 MB / 247.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008368/0.003364, allocations: 0.6972 MB / 248 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.535e-05/0.003429, allocations: 0 / 248 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.868e-05/0.003508, allocations: 19.8 kB / 248 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.431e-05/0.003592, allocations: 43.58 kB / 248 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.003747, allocations: 59.78 kB / 248.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.003894, allocations: 151.3 kB / 248.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.478e-05/0.003989, allocations: 25.94 kB / 248.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.004119, allocations: 103.7 kB / 248.4 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.178e-05/0.004201, allocations: 39.89 kB / 248.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.004221, allocations: 11.94 kB / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.757e-05/0.004299, allocations: 27.98 kB / 248.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.004322, allocations: 19.94 kB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.004354, allocations: 31.94 kB / 248.5 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.004531, allocations: 115.6 kB / 248.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/0.004542, allocations: 0 / 248.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004542, allocations: 0 / 248.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.004551, allocations: 0 / 248.6 MB, free: 10.12 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.0005051/0.005056, allocations: 367.9 kB / 249 MB, free: 9.742 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.005089, allocations: 8.031 kB / 249 MB, free: 9.734 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.005275, allocations: 110 kB / 249.1 MB, free: 9.609 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.00542, allocations: 137.6 kB / 249.2 MB, free: 9.449 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.005429, allocations: 8.375 kB / 249.2 MB, free: 9.441 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.005452, allocations: 12.33 kB / 249.2 MB, free: 9.43 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.00558, allocations: 99.55 kB / 249.3 MB, free: 9.324 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.005589, allocations: 4.172 kB / 249.3 MB, free: 9.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.005599, allocations: 15.88 kB / 249.4 MB, free: 9.305 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.005602, allocations: 0 / 249.4 MB, free: 9.305 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.797e-05/0.00566, allocations: 39.84 kB / 249.4 MB, free: 9.266 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.006033, allocations: 315.1 kB / 249.7 MB, free: 8.938 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.006176, allocations: 74.52 kB / 249.8 MB, free: 8.855 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.717e-05/0.006203, allocations: 24.84 kB / 249.8 MB, free: 8.828 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.617e-06/0.006212, allocations: 0 / 249.8 MB, free: 8.828 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.006234, allocations: 38.56 kB / 249.8 MB, free: 8.781 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 8.21e-07/0.006235, allocations: 0 / 249.8 MB, free: 8.781 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003834/0.006618, allocations: 285.1 kB / 250.1 MB, free: 8.469 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.00664, allocations: 55.41 kB / 250.2 MB, free: 8.402 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.129e-05/0.006701, allocations: 130.7 kB / 250.3 MB, free: 8.262 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.006712, allocations: 29.7 kB / 250.3 MB, free: 8.227 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.1e-05/0.006753, allocations: 108.3 kB / 250.4 MB, free: 8.113 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.006777, allocations: 47.58 kB / 250.5 MB, free: 8.066 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.006816, allocations: 37.69 kB / 250.5 MB, free: 8.023 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.271e-05/0.006889, allocations: 326.8 kB / 250.8 MB, free: 7.695 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/0.006906, allocations: 8 kB / 250.8 MB, free: 7.688 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.385e-05/0.00694, allocations: 50.12 kB / 250.9 MB, free: 7.629 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.135e-05/0.007001, allocations: 79.31 kB / 251 MB, free: 7.539 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.007003, allocations: 0 / 251 MB, free: 7.539 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.536e-05/0.007088, allocations: 93.53 kB / 251.1 MB, free: 7.441 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.007098, allocations: 4 kB / 251.1 MB, free: 7.438 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.007102, allocations: 0 / 251.1 MB, free: 7.438 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.007112, allocations: 4 kB / 251.1 MB, free: 7.434 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.007231, allocations: 43.97 kB / 251.1 MB, free: 7.391 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.331e-06/0.007237, allocations: 3.938 kB / 251.1 MB, free: 7.387 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.514e-05/0.007272, allocations: 11.94 kB / 251.1 MB, free: 7.375 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.007278, allocations: 8.062 kB / 251.1 MB, free: 7.367 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.61e-05/0.007334, allocations: 117.7 kB / 251.3 MB, free: 7.242 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.007353, allocations: 15.98 kB / 251.3 MB, free: 7.227 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.007382, allocations: 16.78 kB / 251.3 MB, free: 7.211 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-06/0.007383, allocations: 0 / 251.3 MB, free: 7.211 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.007385, allocations: 0 / 251.3 MB, free: 7.211 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.007391, allocations: 7.922 kB / 251.3 MB, free: 7.203 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.007646, allocations: 276.4 kB / 251.6 MB, free: 6.902 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.007648, allocations: 8.062 kB / 251.6 MB, free: 6.895 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.007757, allocations: 39.91 kB / 251.6 MB, free: 6.855 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.007768, allocations: 11.98 kB / 251.6 MB, free: 6.844 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.007772, allocations: 7.938 kB / 251.6 MB, free: 6.836 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.465e-06/0.007779, allocations: 0 / 251.6 MB, free: 6.836 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.007783, allocations: 4 kB / 251.6 MB, free: 6.832 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.007785, allocations: 3.984 kB / 251.6 MB, free: 6.828 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.007945, allocations: 213 kB / 251.8 MB, free: 6.602 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.00796, allocations: 7.922 kB / 251.9 MB, free: 6.594 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.744e-05/0.008008, allocations: 8 kB / 251.9 MB, free: 6.586 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.008039, allocations: 15.92 kB / 251.9 MB, free: 6.57 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.008043, allocations: 4 kB / 251.9 MB, free: 6.566 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.301e-05/0.008066, allocations: 32.09 kB / 251.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008066, allocations: 0 / 251.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001327/0.008199, allocations: 28 kB / 251.9 MB, free: 6.508 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 6.913e-05/0.008268, allocations: 80.41 kB / 252 MB, free: 6.422 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001001/0.008368, allocations: 60.72 kB / 252.1 MB, free: 6.359 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.008377, allocations: 4.188 kB / 252.1 MB, free: 6.355 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.923e-05/0.008426, allocations: 44.78 kB / 252.1 MB, free: 6.309 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.008667, allocations: 257.5 kB / 252.4 MB, free: 6.008 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.01028, allocations: 346.6 kB / 252.7 MB, free: 5.629 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.902e-05/0.01032, allocations: 71.83 kB / 252.8 MB, free: 5.539 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.846e-05/0.01037, allocations: 9.156 kB / 252.8 MB, free: 5.531 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.593e-05/0.01047, allocations: 71.36 kB / 252.9 MB, free: 5.461 MB / 250.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01047, allocations: 3.938 kB / 252.9 MB, free: 5.457 MB / 250.7 MB Notification: Performance of Templates: time 0.003122/0.01359, allocations: 1.643 MB / 254.5 MB, free: 3.852 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.417711944319308]