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.001061/0.001061, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001565/0.002626, allocations: 449.7 kB / 10.37 MB, free: 328 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.001085/0.001085, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001351/0.002437, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9302/0.9302, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07504/1.005, allocations: 53.65 MB / 243.3 MB, free: 15.59 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 2.013e-06/2.013e-06, allocations: 3.984 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.508e-06/1.152e-05, allocations: 6.25 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.001953/0.001965, allocations: 2.087 MB / 246.6 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006601/0.002625, allocations: 0.6933 MB / 247.3 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.606e-05/0.002681, allocations: 3.938 kB / 247.3 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.123e-05/0.002732, allocations: 23.8 kB / 247.3 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.002847, allocations: 39.62 kB / 247.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.002959, allocations: 51.8 kB / 247.4 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.003084, allocations: 155.2 kB / 247.6 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.694e-05/0.003161, allocations: 25.94 kB / 247.6 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.601e-05/0.003257, allocations: 99.69 kB / 247.7 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.367e-05/0.00332, allocations: 43.88 kB / 247.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.003336, allocations: 12 kB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.061e-05/0.003406, allocations: 27.98 kB / 247.8 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.003421, allocations: 15.94 kB / 247.8 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.003451, allocations: 39.88 kB / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.00359, allocations: 103.7 kB / 247.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.003599, allocations: 0 / 247.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003599, allocations: 0 / 247.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.003608, allocations: 0 / 247.9 MB, free: 10.9 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.0003583/0.003966, allocations: 367.9 kB / 248.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.3e-05/0.003989, allocations: 12.03 kB / 248.3 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.004123, allocations: 114 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.004232, allocations: 136.6 kB / 248.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.004239, allocations: 8.375 kB / 248.5 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.004257, allocations: 24.25 kB / 248.6 MB, free: 10.19 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.004362, allocations: 91.56 kB / 248.7 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.004369, allocations: 4.188 kB / 248.7 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.004377, allocations: 7.938 kB / 248.7 MB, free: 10.08 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.004382, allocations: 4 kB / 248.7 MB, free: 10.08 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.674e-05/0.004439, allocations: 45.8 kB / 248.7 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.004778, allocations: 315 kB / 249 MB, free: 9.703 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.005036, allocations: 70.53 kB / 249.1 MB, free: 9.625 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.422e-05/0.00506, allocations: 20.86 kB / 249.1 MB, free: 9.602 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.005068, allocations: 4 kB / 249.1 MB, free: 9.598 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.005086, allocations: 34.56 kB / 249.2 MB, free: 9.555 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.452e-06/0.005087, allocations: 0 / 249.2 MB, free: 9.555 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.000346/0.005433, allocations: 265.2 kB / 249.4 MB, free: 9.262 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.978e-05/0.005453, allocations: 51.41 kB / 249.5 MB, free: 9.199 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.582e-05/0.005509, allocations: 145.4 kB / 249.6 MB, free: 9.047 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.106e-06/0.005517, allocations: 25.7 kB / 249.6 MB, free: 9.016 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.5e-05/0.005552, allocations: 108.3 kB / 249.7 MB, free: 8.902 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.005576, allocations: 51.58 kB / 249.8 MB, free: 8.852 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.005608, allocations: 33.7 kB / 249.8 MB, free: 8.812 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.005669, allocations: 330.7 kB / 250.1 MB, free: 8.48 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.875e-05/0.005688, allocations: 15.91 kB / 250.2 MB, free: 8.465 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.458e-05/0.005722, allocations: 47.41 kB / 250.2 MB, free: 8.406 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.528e-05/0.005787, allocations: 71.31 kB / 250.3 MB, free: 8.324 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.005789, allocations: 4 kB / 250.3 MB, free: 8.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.213e-05/0.005871, allocations: 93.22 kB / 250.4 MB, free: 8.227 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/0.005881, allocations: 4 kB / 250.4 MB, free: 8.223 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.005886, allocations: 8.062 kB / 250.4 MB, free: 8.215 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.801e-06/0.005892, allocations: 0 / 250.4 MB, free: 8.215 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.006006, allocations: 51.56 kB / 250.4 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.00601, allocations: 3.938 kB / 250.4 MB, free: 8.164 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.48e-05/0.006045, allocations: 8 kB / 250.4 MB, free: 8.156 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.006051, allocations: 4 kB / 250.4 MB, free: 8.152 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.463e-05/0.006105, allocations: 121.7 kB / 250.6 MB, free: 8.023 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.006123, allocations: 11.98 kB / 250.6 MB, free: 8.012 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.006149, allocations: 16.78 kB / 250.6 MB, free: 7.996 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.006151, allocations: 4 kB / 250.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.006153, allocations: 0 / 250.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.006159, allocations: 11.92 kB / 250.6 MB, free: 7.98 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.006402, allocations: 276.3 kB / 250.9 MB, free: 7.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.006404, allocations: 0 / 250.9 MB, free: 7.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.006506, allocations: 51.94 kB / 250.9 MB, free: 7.629 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.006515, allocations: 7.953 kB / 250.9 MB, free: 7.621 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.006517, allocations: 3.938 kB / 250.9 MB, free: 7.617 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.006523, allocations: 4.062 kB / 250.9 MB, free: 7.613 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.006526, allocations: 4 kB / 251 MB, free: 7.609 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.006527, allocations: 3.984 kB / 251 MB, free: 7.605 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.006666, allocations: 201.2 kB / 251.2 MB, free: 7.387 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.006684, allocations: 7.922 kB / 251.2 MB, free: 7.379 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.785e-05/0.006732, allocations: 11.94 kB / 251.2 MB, free: 7.367 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.006758, allocations: 7.984 kB / 251.2 MB, free: 7.359 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.006763, allocations: 4 kB / 251.2 MB, free: 7.355 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.987e-05/0.006782, allocations: 31.58 kB / 251.2 MB, free: 7.324 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006783, allocations: 0 / 251.2 MB, free: 7.324 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001347/0.006917, allocations: 32 kB / 251.2 MB, free: 7.293 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 5.544e-05/0.006973, allocations: 80.41 kB / 251.3 MB, free: 7.207 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.551e-05/0.007058, allocations: 64.7 kB / 251.4 MB, free: 7.141 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.007064, allocations: 4 kB / 251.4 MB, free: 7.137 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.124e-05/0.007095, allocations: 36.72 kB / 251.4 MB, free: 7.098 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.007247, allocations: 37.06 kB / 251.5 MB, free: 7.062 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.008758, allocations: 358.6 kB / 251.8 MB, free: 6.676 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.525e-05/0.008794, allocations: 71.83 kB / 251.9 MB, free: 6.586 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.285e-05/0.008837, allocations: 8.656 kB / 251.9 MB, free: 6.578 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/0.008905, allocations: 71.36 kB / 252 MB, free: 6.508 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008905, allocations: 3.938 kB / 252 MB, free: 6.504 MB / 250.7 MB Notification: Performance of Templates: time 0.002943/0.01185, allocations: 1.629 MB / 253.6 MB, free: 4.91 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.436278248205781]