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.001323/0.001323, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.002752/0.002752, allocations: 169.1 kB / 24.91 MB, free: 9.199 MB / 18.57 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.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.683e-06/1.683e-06, allocations: 0 / 273.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.55e-05, allocations: 2.312 kB / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002987/0.003013, allocations: 2.087 MB / 275.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.0044, allocations: 0.6933 MB / 276.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.004503, allocations: 4 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.00462, allocations: 19.8 kB / 276.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.004724, allocations: 39.58 kB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.004983, allocations: 63.72 kB / 276.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.005165, allocations: 155.2 kB / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.355e-05/0.005259, allocations: 29.95 kB / 276.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.005372, allocations: 79.8 kB / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.375e-05/0.005456, allocations: 43.89 kB / 276.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.005478, allocations: 8 kB / 276.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.509e-05/0.005573, allocations: 31.98 kB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.005598, allocations: 19.91 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.005645, allocations: 47.91 kB / 276.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.005865, allocations: 115.6 kB / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.005868, allocations: 0 / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.005871, allocations: 3.984 kB / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.005875, allocations: 0 / 276.9 MB, free: 13.84 MB / 266.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.0004028/0.006277, allocations: 344.2 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.006306, allocations: 8.031 kB / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.006452, allocations: 36.91 kB / 277.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.00659, allocations: 137.6 kB / 277.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.006602, allocations: 4.375 kB / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.006623, allocations: 16.33 kB / 277.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.006754, allocations: 107.5 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.006763, allocations: 4.172 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.006772, allocations: 3.938 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.006785, allocations: 4 kB / 277.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.304e-05/0.006848, allocations: 33.89 kB / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.007247, allocations: 311.1 kB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.007396, allocations: 70.53 kB / 278 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.007421, allocations: 21.02 kB / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.007431, allocations: 4 kB / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.007452, allocations: 38.5 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.007453, allocations: 0 / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004167/0.00787, allocations: 269.1 kB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.007894, allocations: 51.41 kB / 278.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.498e-05/0.007959, allocations: 133.6 kB / 278.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.007972, allocations: 37.69 kB / 278.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.008013, allocations: 104.3 kB / 278.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.008041, allocations: 63.52 kB / 278.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.008077, allocations: 25.7 kB / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.347e-05/0.008151, allocations: 326.8 kB / 279 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/0.008172, allocations: 15.91 kB / 279 MB, free: 11.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.817e-05/0.00821, allocations: 48.97 kB / 279.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.669e-05/0.008277, allocations: 71.25 kB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.008278, allocations: 0 / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.726e-05/0.008375, allocations: 97.41 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.008386, allocations: 12.06 kB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.00839, allocations: 0 / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.008402, allocations: 4.047 kB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.008523, allocations: 46.62 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.008527, allocations: 3.938 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.646e-05/0.008564, allocations: 11.94 kB / 279.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.00857, allocations: 4 kB / 279.3 MB, free: 11.21 MB / 266.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.875e-05/0.008629, allocations: 117.8 kB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.008649, allocations: 4 kB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.008679, allocations: 28.77 kB / 279.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.008683, allocations: 0 / 279.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.008685, allocations: 0 / 279.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.008689, allocations: 7.938 kB / 279.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.008966, allocations: 281.1 kB / 279.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.008967, allocations: 0 / 279.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.009076, allocations: 31.98 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.00908, allocations: 4 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.00909, allocations: 16 kB / 279.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.009093, allocations: 7.922 kB / 279.8 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.009096, allocations: 4 kB / 279.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.009248, allocations: 205.1 kB / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.517e-06/0.009257, allocations: 7.953 kB / 280 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.009273, allocations: 11.94 kB / 280 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.866e-05/0.009321, allocations: 4 kB / 280 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.009352, allocations: 11.98 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.009356, allocations: 0 / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.231e-05/0.009379, allocations: 36.77 kB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009379, allocations: 4 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001488/0.009527, allocations: 28 kB / 280.1 MB, free: 10.36 MB / 266.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 8.14e-05/0.009609, allocations: 88.36 kB / 280.2 MB, free: 10.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.622e-05/0.009705, allocations: 52.89 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.009708, allocations: 0 / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.541e-05/0.009743, allocations: 40.72 kB / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.009928, allocations: 20.23 kB / 280.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006301/0.01056, allocations: 378.5 kB / 280.7 MB, free: 9.742 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.215e-05/0.0106, allocations: 79.77 kB / 280.7 MB, free: 9.645 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.479e-05/0.01065, allocations: 12.64 kB / 280.8 MB, free: 9.633 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.859e-05/0.01073, allocations: 71.36 kB / 280.8 MB, free: 9.562 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01073, allocations: 4 kB / 280.8 MB, free: 9.559 MB / 266.7 MB Notification: Performance of Templates: time 0.003185/0.01392, allocations: 1.568 MB / 282.4 MB, free: 8.031 MB / 266.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 -s gbode -gbm=radauIIA3 -emit_protected -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.5969200278632343]