Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.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.0009014/0.0009014, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009102/0.0009102, allocations: 143 kB / 24.89 MB, free: 8.781 MB / 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.9344/0.9344, allocations: 173.4 MB / 201.5 MB, free: 8.734 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.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 268.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.557e-05, allocations: 6.25 kB / 268.5 MB, free: 5.988 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002046/0.002062, allocations: 1.867 MB / 270.4 MB, free: 4.109 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007567/0.002818, allocations: 0.6426 MB / 271 MB, free: 3.461 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.6e-05/0.002884, allocations: 0 / 271 MB, free: 3.461 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.002987, allocations: 15.86 kB / 271 MB, free: 3.445 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.589e-05/0.003053, allocations: 43.56 kB / 271.1 MB, free: 3.402 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.003229, allocations: 55.75 kB / 271.1 MB, free: 3.348 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.003351, allocations: 123.3 kB / 271.2 MB, free: 3.227 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.323e-05/0.003444, allocations: 26.22 kB / 271.3 MB, free: 3.195 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.193e-05/0.003516, allocations: 67.81 kB / 271.3 MB, free: 3.129 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.988e-05/0.003596, allocations: 35.89 kB / 271.4 MB, free: 3.094 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.003612, allocations: 8 kB / 271.4 MB, free: 3.086 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.136e-05/0.003683, allocations: 27.98 kB / 271.4 MB, free: 3.059 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.003699, allocations: 19.92 kB / 271.4 MB, free: 3.039 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.00373, allocations: 35.92 kB / 271.5 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.00387, allocations: 99.64 kB / 271.6 MB, free: 2.906 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003872, allocations: 4 kB / 271.6 MB, free: 2.902 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003872, allocations: 0 / 271.6 MB, free: 2.902 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.003875, allocations: 0 / 271.6 MB, free: 2.902 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.0003049/0.00418, allocations: 304.7 kB / 271.9 MB, free: 2.582 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.673e-05/0.004207, allocations: 11.97 kB / 271.9 MB, free: 2.57 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.004338, allocations: 36.89 kB / 271.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.004462, allocations: 133.6 kB / 272 MB, free: 2.379 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.00447, allocations: 12.56 kB / 272 MB, free: 2.367 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.004489, allocations: 8.375 kB / 272.1 MB, free: 2.359 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.051e-05/0.004579, allocations: 78.27 kB / 272.1 MB, free: 2.277 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.004588, allocations: 0 / 272.1 MB, free: 2.277 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.004595, allocations: 8 kB / 272.1 MB, free: 2.27 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.004599, allocations: 0 / 272.1 MB, free: 2.27 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.222e-05/0.004652, allocations: 34.97 kB / 272.2 MB, free: 2.238 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.004967, allocations: 283.3 kB / 272.4 MB, free: 1.941 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.0051, allocations: 82.41 kB / 272.5 MB, free: 1.852 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.051e-05/0.005121, allocations: 12.86 kB / 272.5 MB, free: 1.836 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.005129, allocations: 4 kB / 272.5 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.005147, allocations: 34.56 kB / 272.6 MB, free: 1.789 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.694e-06/0.005149, allocations: 3.984 kB / 272.6 MB, free: 1.785 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.000589/0.005738, allocations: 329.1 kB / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.005761, allocations: 51.41 kB / 273 MB, free: 1.367 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.183e-05/0.005823, allocations: 134.2 kB / 273.1 MB, free: 1.227 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.005833, allocations: 29.7 kB / 273.1 MB, free: 1.191 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.005869, allocations: 99.98 kB / 273.2 MB, free: 1.09 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.005891, allocations: 47.58 kB / 273.3 MB, free: 1.043 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.005924, allocations: 37.69 kB / 273.3 MB, free: 1 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.42e-05/0.005998, allocations: 322.8 kB / 273.6 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.006013, allocations: 12 kB / 273.6 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.274e-05/0.006046, allocations: 46.38 kB / 273.7 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.827e-05/0.006104, allocations: 68.14 kB / 273.7 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.006106, allocations: 4 kB / 273.7 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 9.106e-05/0.006197, allocations: 97.41 kB / 273.8 MB, free: 436 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/0.006206, allocations: 4.062 kB / 273.8 MB, free: 432 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.00621, allocations: 4 kB / 273.8 MB, free: 428 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.00622, allocations: 4 kB / 273.8 MB, free: 424 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.199e-05/0.006312, allocations: 35.97 kB / 273.9 MB, free: 388 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.006315, allocations: 4 kB / 273.9 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.62e-05/0.006341, allocations: 4 kB / 273.9 MB, free: 380 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.006347, allocations: 4 kB / 273.9 MB, free: 376 kB / 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 (17): * Single equations (assignments): 17 * 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.428e-05/0.006401, allocations: 121.7 kB / 274 MB, free: 244 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.006421, allocations: 11.98 kB / 274 MB, free: 232 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.116e-05/0.006452, allocations: 16.44 kB / 274 MB, free: 216 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.006453, allocations: 4 kB / 274 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.006456, allocations: 0 / 274 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.006459, allocations: 0 / 274 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.006706, allocations: 280.2 kB / 274.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.006708, allocations: 0 / 274.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.487e-05/0.006793, allocations: 31.98 kB / 274.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.006795, allocations: 0 / 274.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.006804, allocations: 4 kB / 274.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.006806, allocations: 8.062 kB / 274.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.006808, allocations: 0 / 274.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.00697, allocations: 209 kB / 274.6 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.006981, allocations: 7.953 kB / 274.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.006996, allocations: 4 kB / 274.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.998e-05/0.007036, allocations: 0 / 274.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.00705, allocations: 11.92 kB / 274.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.007055, allocations: 4 kB / 274.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.931e-05/0.007075, allocations: 24.83 kB / 274.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007075, allocations: 0 / 274.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001359/0.007211, allocations: 28 kB / 274.6 MB, free: 15.55 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 (12): * Single equations (assignments): 12 * 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 6.776e-05/0.007278, allocations: 84.36 kB / 274.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.916e-05/0.007367, allocations: 60.77 kB / 274.8 MB, free: 15.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.007371, allocations: 0 / 274.8 MB, free: 15.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.682e-05/0.007397, allocations: 36.77 kB / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.007559, allocations: 16.19 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.008069, allocations: 345.7 kB / 275.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.658e-05/0.008106, allocations: 63.34 kB / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.096e-05/0.008147, allocations: 12.97 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.477e-05/0.008211, allocations: 75.36 kB / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008212, allocations: 0 / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of Templates: time 0.002709/0.01092, allocations: 1.339 MB / 276.7 MB, free: 13.5 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.5030342331156135]