Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.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.00095/0.00095, allocations: 81.91 kB / 21.42 MB, free: 3.07 MB / 18.57 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.001029/0.001029, allocations: 169.3 kB / 24.82 MB, free: 9.273 MB / 18.57 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.9713/0.9713, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.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.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.785e-05, allocations: 2.312 kB / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003703/0.003721, allocations: 2.028 MB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.004846, allocations: 0.674 MB / 276 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.503e-05/0.004931, allocations: 7.938 kB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.005035, allocations: 11.86 kB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.454e-05/0.005119, allocations: 55.56 kB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00322/0.008339, allocations: 51.75 kB / 276.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.008501, allocations: 159.2 kB / 276.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.872e-05/0.0086, allocations: 13.31 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.008708, allocations: 87.78 kB / 276.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.642e-05/0.008785, allocations: 39.89 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.008804, allocations: 8 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.089e-05/0.008875, allocations: 27.98 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.008898, allocations: 23.91 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.008941, allocations: 47.92 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.009119, allocations: 115.5 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.009121, allocations: 0 / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.009121, allocations: 0 / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.009125, allocations: 4 kB / 276.6 MB, free: 13.89 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.000455/0.00958, allocations: 463.9 kB / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.009615, allocations: 15.98 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.00977, allocations: 36.83 kB / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.009909, allocations: 148.4 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.009922, allocations: 8.375 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.009944, allocations: 16.36 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.01009, allocations: 94.84 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.0101, allocations: 192 / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.01011, allocations: 11.94 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.01012, allocations: 0 / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.418e-05/0.01019, allocations: 35.91 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/0.01072, allocations: 447 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.01089, allocations: 75.05 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.279e-05/0.01092, allocations: 23.72 kB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.01093, allocations: 0 / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.01095, allocations: 37.39 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.01096, allocations: 192 / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.003177/0.01413, allocations: 81.58 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.01416, allocations: 59.28 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.01425, allocations: 196.5 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.01426, allocations: 25.7 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.01433, allocations: 166.9 kB / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.01435, allocations: 43.61 kB / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.0144, allocations: 27.38 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.01452, allocations: 0.4884 MB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.46e-05/0.01454, allocations: 11.98 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.852e-05/0.01459, allocations: 54.72 kB / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.654e-05/0.01467, allocations: 70.67 kB / 279.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01467, allocations: 0 / 279.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001244/0.01479, allocations: 101.5 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.01481, allocations: 4 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01481, allocations: 7.938 kB / 279.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.01482, allocations: 0 / 279.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.565e-05/0.01492, allocations: 31.92 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.01492, allocations: 3.938 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.01497, allocations: 15.89 kB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.01498, allocations: 12.09 kB / 279.4 MB, free: 10.88 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 (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 7.121e-05/0.01505, allocations: 160.5 kB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.01508, allocations: 15.95 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.01511, allocations: 16.77 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.01512, allocations: 0 / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.01512, allocations: 7.938 kB / 279.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01512, allocations: 0 / 279.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.01527, allocations: 125.2 kB / 279.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01527, allocations: 0 / 279.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.775e-05/0.01537, allocations: 23.98 kB / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.01537, allocations: 7.984 kB / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.01538, allocations: 0 / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.01538, allocations: 4 kB / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01538, allocations: 0 / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.01556, allocations: 243.7 kB / 280 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.01557, allocations: 11.89 kB / 280 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.01559, allocations: 4 kB / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.457e-05/0.01565, allocations: 0 / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.01568, allocations: 11.98 kB / 280 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.01568, allocations: 0 / 280 MB, free: 10.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.971e-05/0.01573, allocations: 146 kB / 280.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01573, allocations: 7.938 kB / 280.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002363/0.01597, allocations: 31.94 kB / 280.2 MB, free: 10.02 MB / 266.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.51e-05/0.01604, allocations: 91.25 kB / 280.3 MB, free: 9.926 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.01616, allocations: 56.06 kB / 280.4 MB, free: 9.867 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.01616, allocations: 0 / 280.4 MB, free: 9.867 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.624e-05/0.0162, allocations: 39.53 kB / 280.4 MB, free: 9.824 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.01647, allocations: 20.08 kB / 280.4 MB, free: 9.805 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003758/0.02023, allocations: 393.9 kB / 280.8 MB, free: 9.395 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.424e-05/0.02027, allocations: 71.33 kB / 280.9 MB, free: 9.305 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.561e-05/0.02032, allocations: 8.5 kB / 280.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.0204, allocations: 86.19 kB / 281 MB, free: 9.211 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0204, allocations: 0 / 281 MB, free: 9.211 MB / 266.7 MB Notification: Performance of Templates: time 0.006248/0.02665, allocations: 1.32 MB / 282.3 MB, free: 7.922 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.7034832178615034]