Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.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.0008669/0.0008669, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.001934, 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.001143/0.001143, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00138/0.002523, 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.9819/0.9819, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09086/1.073, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118e-05/1.255e-05, allocations: 2.312 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002698/0.002711, allocations: 2.086 MB / 246.6 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000916/0.003627, allocations: 0.6932 MB / 247.3 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.31e-05/0.0037, allocations: 0 / 247.3 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.194e-05/0.003772, allocations: 19.8 kB / 247.3 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.393e-05/0.003866, allocations: 47.62 kB / 247.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.004013, allocations: 47.81 kB / 247.4 MB, free: 11.42 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.004202, allocations: 155.2 kB / 247.6 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.004308, allocations: 25.95 kB / 247.6 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.004451, allocations: 95.67 kB / 247.7 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.747e-05/0.004549, allocations: 47.88 kB / 247.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.004571, allocations: 8 kB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.004675, allocations: 24 kB / 247.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.0047, allocations: 19.94 kB / 247.8 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.00475, allocations: 39.88 kB / 247.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.004971, allocations: 99.67 kB / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.457e-05/0.004985, allocations: 0 / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.004986, allocations: 0 / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.005001, allocations: 0 / 247.9 MB, free: 10.91 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.0005501/0.005552, allocations: 367.9 kB / 248.3 MB, free: 10.53 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.005583, allocations: 8.031 kB / 248.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.005783, allocations: 114 kB / 248.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.005939, allocations: 137.6 kB / 248.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.005952, allocations: 8.375 kB / 248.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.005975, allocations: 12.38 kB / 248.5 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.006132, allocations: 95.55 kB / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.006144, allocations: 192 / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.006158, allocations: 11.94 kB / 248.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.006163, allocations: 0 / 248.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.876e-05/0.006242, allocations: 37.83 kB / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.006821, allocations: 335 kB / 249 MB, free: 9.715 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.007019, allocations: 66.47 kB / 249.1 MB, free: 9.641 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.00705, allocations: 12.86 kB / 249.1 MB, free: 9.625 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.007059, allocations: 4 kB / 249.1 MB, free: 9.621 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.007082, allocations: 34.69 kB / 249.1 MB, free: 9.578 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.007084, allocations: 0 / 249.1 MB, free: 9.578 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001595/0.007243, allocations: 69.67 kB / 249.2 MB, free: 9.504 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.007275, allocations: 59.34 kB / 249.3 MB, free: 9.434 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.36e-05/0.007359, allocations: 146.2 kB / 249.4 MB, free: 9.281 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.007371, allocations: 25.7 kB / 249.4 MB, free: 9.25 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.007423, allocations: 116.2 kB / 249.5 MB, free: 9.129 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.007453, allocations: 31.7 kB / 249.6 MB, free: 9.098 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.007499, allocations: 33.69 kB / 249.6 MB, free: 9.059 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.784e-05/0.007587, allocations: 318.8 kB / 249.9 MB, free: 8.738 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.553e-05/0.007613, allocations: 8 kB / 249.9 MB, free: 8.73 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.64e-05/0.007659, allocations: 47.41 kB / 250 MB, free: 8.672 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.699e-05/0.007736, allocations: 59.36 kB / 250 MB, free: 8.602 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.007739, allocations: 3.984 kB / 250 MB, free: 8.598 MB / 250.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001228/0.007862, allocations: 81.48 kB / 250.1 MB, free: 8.512 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.007879, allocations: 4 kB / 250.1 MB, free: 8.508 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.007883, allocations: 0 / 250.1 MB, free: 8.508 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.007894, allocations: 7.938 kB / 250.1 MB, free: 8.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.00807, allocations: 43.91 kB / 250.2 MB, free: 8.457 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.008073, allocations: 0 / 250.2 MB, free: 8.457 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.008134, allocations: 11.94 kB / 250.2 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.008141, allocations: 4.094 kB / 250.2 MB, free: 8.441 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 (14): * Single equations (assignments): 14 * 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 6.928e-05/0.00821, allocations: 121.8 kB / 250.3 MB, free: 8.312 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.008243, allocations: 11.98 kB / 250.3 MB, free: 8.301 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.008275, allocations: 12.78 kB / 250.3 MB, free: 8.289 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.008277, allocations: 0 / 250.3 MB, free: 8.289 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.008279, allocations: 3.938 kB / 250.3 MB, free: 8.285 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.008282, allocations: 0 / 250.3 MB, free: 8.285 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.008429, allocations: 97.81 kB / 250.4 MB, free: 8.172 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.00843, allocations: 4 kB / 250.4 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.008582, allocations: 27.98 kB / 250.4 MB, free: 8.141 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.008596, allocations: 15.94 kB / 250.5 MB, free: 8.125 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.008598, allocations: 0 / 250.5 MB, free: 8.125 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.00861, allocations: 7.984 kB / 250.5 MB, free: 8.117 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.008612, allocations: 3.938 kB / 250.5 MB, free: 8.113 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008613, allocations: 0 / 250.5 MB, free: 8.113 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.008796, allocations: 175.5 kB / 250.6 MB, free: 7.926 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.008814, allocations: 0 / 250.6 MB, free: 7.926 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.414e-05/0.008898, allocations: 4 kB / 250.6 MB, free: 7.922 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.008935, allocations: 11.92 kB / 250.7 MB, free: 7.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.008942, allocations: 4 kB / 250.7 MB, free: 7.906 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.977e-05/0.008971, allocations: 28.83 kB / 250.7 MB, free: 7.875 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008972, allocations: 0 / 250.7 MB, free: 7.875 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002297/0.009201, allocations: 35.89 kB / 250.7 MB, free: 7.84 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,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 (9): * Single equations (assignments): 9 * 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.923e-05/0.00928, allocations: 80.36 kB / 250.8 MB, free: 7.754 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.00939, allocations: 52.7 kB / 250.9 MB, free: 7.699 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.009397, allocations: 4 kB / 250.9 MB, free: 7.695 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.011e-05/0.009438, allocations: 20.8 kB / 250.9 MB, free: 7.672 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.009667, allocations: 46.84 kB / 250.9 MB, free: 7.633 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.01305, allocations: 340.8 kB / 251.3 MB, free: 7.273 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.866e-05/0.0131, allocations: 67.34 kB / 251.3 MB, free: 7.188 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.601e-05/0.01316, allocations: 8.484 kB / 251.3 MB, free: 7.18 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.005e-05/0.01325, allocations: 71.3 kB / 251.4 MB, free: 7.109 MB / 250.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01325, allocations: 4 kB / 251.4 MB, free: 7.105 MB / 250.7 MB Notification: Performance of Templates: time 0.003975/0.01722, allocations: 1.403 MB / 252.8 MB, free: 5.738 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/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.4450254989787936]