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.0009986/0.0009986, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 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.0008504/0.0008504, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 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.917/0.917, allocations: 173.4 MB / 201.1 MB, free: 9.32 MB / 186.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 2.364e-06/2.364e-06, allocations: 0 / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.39e-05/4.627e-05, allocations: 10.25 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003315/0.003361, allocations: 1.814 MB / 269.8 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.004617, allocations: 0.6349 MB / 270.4 MB, free: 3.965 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.004746, allocations: 0 / 270.4 MB, free: 3.965 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.004915, allocations: 23.78 kB / 270.5 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.345e-05/0.004998, allocations: 43.64 kB / 270.5 MB, free: 3.898 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.00532, allocations: 43.81 kB / 270.5 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.005524, allocations: 123.3 kB / 270.7 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.005689, allocations: 19.92 kB / 270.7 MB, free: 3.715 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.005805, allocations: 75.8 kB / 270.8 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.00592, allocations: 27.92 kB / 270.8 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.005949, allocations: 8 kB / 270.8 MB, free: 3.605 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.006064, allocations: 23.98 kB / 270.8 MB, free: 3.582 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.4e-05/0.006098, allocations: 23.91 kB / 270.8 MB, free: 3.559 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.006149, allocations: 39.91 kB / 270.9 MB, free: 3.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.006403, allocations: 95.67 kB / 271 MB, free: 3.426 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.006408, allocations: 0 / 271 MB, free: 3.426 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.00641, allocations: 0 / 271 MB, free: 3.426 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.006418, allocations: 3.938 kB / 271 MB, free: 3.422 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006526/0.007071, allocations: 428.5 kB / 271.4 MB, free: 2.969 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.007123, allocations: 8.031 kB / 271.4 MB, free: 2.961 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.007328, allocations: 40.75 kB / 271.4 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.007521, allocations: 144.5 kB / 271.6 MB, free: 2.754 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.007537, allocations: 12.55 kB / 271.6 MB, free: 2.742 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.007567, allocations: 8.312 kB / 271.6 MB, free: 2.734 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.007729, allocations: 81.34 kB / 271.7 MB, free: 2.652 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.007742, allocations: 4 kB / 271.7 MB, free: 2.648 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.007758, allocations: 4 kB / 271.7 MB, free: 2.645 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.007768, allocations: 0 / 271.7 MB, free: 2.645 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.113e-05/0.007859, allocations: 35.97 kB / 271.7 MB, free: 2.609 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006138/0.008473, allocations: 438.7 kB / 272.1 MB, free: 2.141 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.008709, allocations: 75.05 kB / 272.2 MB, free: 2.055 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.008744, allocations: 19.69 kB / 272.2 MB, free: 2.031 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.008756, allocations: 4 kB / 272.2 MB, free: 2.027 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.008783, allocations: 33.39 kB / 272.3 MB, free: 1.984 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.008785, allocations: 0 / 272.3 MB, free: 1.984 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001992/0.008984, allocations: 81.62 kB / 272.4 MB, free: 1.898 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.009015, allocations: 55.34 kB / 272.4 MB, free: 1.832 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.009116, allocations: 177.9 kB / 272.6 MB, free: 1.641 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.009132, allocations: 33.64 kB / 272.6 MB, free: 1.602 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.502e-05/0.009217, allocations: 158.7 kB / 272.8 MB, free: 1.441 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.009241, allocations: 31.89 kB / 272.8 MB, free: 1.41 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.009281, allocations: 31.38 kB / 272.8 MB, free: 1.371 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.009433, allocations: 0.4961 MB / 273.3 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.218e-05/0.009465, allocations: 11.98 kB / 273.3 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.043e-05/0.009516, allocations: 50.73 kB / 273.4 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.37e-05/0.009599, allocations: 78.61 kB / 273.5 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.009601, allocations: 4 kB / 273.5 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001373/0.009739, allocations: 101.5 kB / 273.6 MB, free: 0.582 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.009753, allocations: 4 kB / 273.6 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.009759, allocations: 0 / 273.6 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.009779, allocations: 4 kB / 273.6 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.05e-05/0.009859, allocations: 23.98 kB / 273.6 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.009866, allocations: 3.938 kB / 273.6 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.249e-05/0.009899, allocations: 15.89 kB / 273.6 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.009906, allocations: 4 kB / 273.6 MB, free: 0.5273 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 7.458e-05/0.009981, allocations: 164.6 kB / 273.8 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.01, allocations: 11.95 kB / 273.8 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/0.01004, allocations: 12.44 kB / 273.8 MB, free: 336 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.01004, allocations: 0 / 273.8 MB, free: 336 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.01004, allocations: 11.98 kB / 273.8 MB, free: 324 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01005, allocations: 0 / 273.8 MB, free: 324 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.01017, allocations: 136.6 kB / 274 MB, free: 152 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01018, allocations: 0 / 274 MB, free: 152 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.454e-05/0.01025, allocations: 23.98 kB / 274 MB, free: 128 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.01025, allocations: 0 / 274 MB, free: 128 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.01026, allocations: 8 kB / 274 MB, free: 120 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01027, allocations: 3.938 kB / 274 MB, free: 116 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01027, allocations: 0 / 274 MB, free: 116 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.01049, allocations: 239.8 kB / 274.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.01051, allocations: 11.89 kB / 274.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.01053, allocations: 3.984 kB / 274.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.061e-05/0.01057, allocations: 4.047 kB / 274.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.01059, allocations: 11.92 kB / 274.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.01059, allocations: 0 / 274.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.263e-05/0.01065, allocations: 135.2 kB / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01065, allocations: 4 kB / 274.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001763/0.01082, allocations: 24 kB / 274.4 MB, free: 15.67 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 (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.491e-05/0.01092, allocations: 103.2 kB / 274.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.01105, allocations: 51.61 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01105, allocations: 0 / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.982e-05/0.01108, allocations: 31.67 kB / 274.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.01134, allocations: 16.47 kB / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008312/0.01217, allocations: 374.2 kB / 275 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.798e-05/0.01222, allocations: 63.34 kB / 275 MB, free: 14.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.485e-05/0.01226, allocations: 8.484 kB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.0123, allocations: 12.5 kB / 275.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.0123, allocations: 0 / 275.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of Templates: time 0.002989/0.01529, allocations: 0.9439 MB / 276 MB, free: 14.03 MB / 266.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 -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.845101695973426]