Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000671/0.000671, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009642/0.001635, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000952/0.000952, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001074/0.002026, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9233/0.9233, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08774/1.011, allocations: 52.49 MB / 238.3 MB, free: 4.43 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 239.5 MB, free: 3.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256e-05/1.379e-05, allocations: 2.875 kB / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002152/0.002166, allocations: 1.859 MB / 241.4 MB, free: 1.324 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006011/0.002767, allocations: 0.6504 MB / 242 MB, free: 0.668 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.881e-05/0.002826, allocations: 0 / 242 MB, free: 0.668 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.504e-05/0.002881, allocations: 15.86 kB / 242.1 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.61e-05/0.002937, allocations: 35.64 kB / 242.1 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.763e-05/0.003035, allocations: 47.81 kB / 242.1 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.003149, allocations: 127.3 kB / 242.3 MB, free: 456 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.529e-05/0.003235, allocations: 19.98 kB / 242.3 MB, free: 436 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.336e-05/0.003318, allocations: 79.75 kB / 242.4 MB, free: 356 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.398e-05/0.003392, allocations: 35.89 kB / 242.4 MB, free: 320 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.003408, allocations: 8 kB / 242.4 MB, free: 312 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.811e-05/0.003487, allocations: 23.98 kB / 242.4 MB, free: 288 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.0035, allocations: 11.94 kB / 242.4 MB, free: 276 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.003529, allocations: 31.94 kB / 242.5 MB, free: 244 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.003677, allocations: 91.69 kB / 242.6 MB, free: 152 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.52e-05/0.003692, allocations: 0 / 242.6 MB, free: 152 kB / 234.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.003693, allocations: 0 / 242.6 MB, free: 152 kB / 234.7 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.003709, allocations: 4 kB / 242.6 MB, free: 148 kB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004356/0.004145, allocations: 332.3 kB / 242.9 MB, free: 15.8 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.004179, allocations: 12.03 kB / 242.9 MB, free: 15.79 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.004353, allocations: 110 kB / 243 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.004501, allocations: 133.5 kB / 243.1 MB, free: 15.5 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.004513, allocations: 8.562 kB / 243.1 MB, free: 15.5 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.004534, allocations: 8.375 kB / 243.2 MB, free: 15.49 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.00464, allocations: 77.34 kB / 243.2 MB, free: 15.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.004652, allocations: 7.953 kB / 243.2 MB, free: 15.4 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.004663, allocations: 4 kB / 243.2 MB, free: 15.4 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.00467, allocations: 4 kB / 243.2 MB, free: 15.39 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.691e-05/0.004727, allocations: 27.92 kB / 243.3 MB, free: 15.37 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.00511, allocations: 319.1 kB / 243.6 MB, free: 15.04 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.005251, allocations: 46.56 kB / 243.6 MB, free: 14.98 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.002e-05/0.005271, allocations: 21 kB / 243.6 MB, free: 14.96 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.563e-06/0.005277, allocations: 4 kB / 243.7 MB, free: 14.95 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.005299, allocations: 46.48 kB / 243.7 MB, free: 14.9 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.0053, allocations: 0 / 243.7 MB, free: 14.9 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001148/0.005415, allocations: 61.86 kB / 243.8 MB, free: 14.83 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.00544, allocations: 51.41 kB / 243.8 MB, free: 14.77 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.952e-05/0.0055, allocations: 134.6 kB / 243.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.005512, allocations: 25.7 kB / 244 MB, free: 14.59 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.005561, allocations: 99.97 kB / 244.1 MB, free: 14.49 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.005586, allocations: 35.69 kB / 244.1 MB, free: 14.46 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.005618, allocations: 29.7 kB / 244.1 MB, free: 14.42 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.763e-05/0.005696, allocations: 330.8 kB / 244.5 MB, free: 14.09 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/0.005708, allocations: 8 kB / 244.5 MB, free: 14.08 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-05/0.005739, allocations: 39.41 kB / 244.5 MB, free: 14.03 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.8e-05/0.005787, allocations: 55.34 kB / 244.6 MB, free: 13.96 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005789, allocations: 0 / 244.6 MB, free: 13.96 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.21e-05/0.005861, allocations: 81.53 kB / 244.6 MB, free: 13.88 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.005873, allocations: 8 kB / 244.6 MB, free: 13.87 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.005877, allocations: 4.172 kB / 244.6 MB, free: 13.87 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.005886, allocations: 0 / 244.6 MB, free: 13.87 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.005997, allocations: 35.92 kB / 244.7 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.006001, allocations: 3.984 kB / 244.7 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.513e-05/0.006026, allocations: 4 kB / 244.7 MB, free: 13.82 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.006031, allocations: 4 kB / 244.7 MB, free: 13.82 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 (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 prepare postOptimizeDAE: time 5.301e-05/0.006084, allocations: 117.7 kB / 244.8 MB, free: 13.7 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.0061, allocations: 11.98 kB / 244.8 MB, free: 13.68 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.006142, allocations: 12.44 kB / 244.8 MB, free: 13.67 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.006144, allocations: 0 / 244.8 MB, free: 13.67 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.006146, allocations: 8 kB / 244.8 MB, free: 13.66 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.006149, allocations: 0 / 244.8 MB, free: 13.66 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.509e-05/0.006244, allocations: 93.77 kB / 244.9 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.006245, allocations: 0 / 244.9 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.423e-05/0.006319, allocations: 35.91 kB / 245 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-06/0.006327, allocations: 7.953 kB / 245 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.51e-07/0.006328, allocations: 3.938 kB / 245 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.006334, allocations: 0 / 245 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.006335, allocations: 0 / 245 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.8e-07/0.006335, allocations: 0 / 245 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.006445, allocations: 179.4 kB / 245.1 MB, free: 13.31 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.006455, allocations: 0 / 245.1 MB, free: 13.31 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.295e-05/0.006488, allocations: 4 kB / 245.2 MB, free: 13.31 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.175e-05/0.006499, allocations: 4 kB / 245.2 MB, free: 13.3 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.006502, allocations: 0 / 245.2 MB, free: 13.3 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.548e-05/0.006517, allocations: 20.83 kB / 245.2 MB, free: 13.28 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006517, allocations: 0 / 245.2 MB, free: 13.28 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001272/0.006644, allocations: 27.94 kB / 245.2 MB, free: 13.25 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 (8): * Single equations (assignments): 8 * 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 9.294e-05/0.006737, allocations: 84.34 kB / 245.3 MB, free: 13.16 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.994e-05/0.006807, allocations: 48.78 kB / 245.3 MB, free: 13.11 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.006811, allocations: 0 / 245.3 MB, free: 13.11 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.776e-05/0.006828, allocations: 24.84 kB / 245.4 MB, free: 13.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.006979, allocations: 23.92 kB / 245.4 MB, free: 13.06 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.008926, allocations: 308.9 kB / 245.7 MB, free: 12.73 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.482e-05/0.008961, allocations: 67.2 kB / 245.7 MB, free: 12.64 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.339e-05/0.008994, allocations: 16.52 kB / 245.8 MB, free: 12.62 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.009049, allocations: 63.38 kB / 245.8 MB, free: 12.56 MB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.00905, allocations: 0 / 245.8 MB, free: 12.56 MB / 250.7 MB Notification: Performance of Templates: time 0.00249/0.01154, allocations: 1.157 MB / 247 MB, free: 11.44 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.452470077201724]