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.0009611/0.0009611, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.0009088/0.0009088, allocations: 148.9 kB / 24.81 MB, free: 9.27 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.9359/0.9359, allocations: 173.3 MB / 201.4 MB, free: 9.227 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 2.234e-06/2.234e-06, allocations: 0 / 268.4 MB, free: 6.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.509e-05, allocations: 2.312 kB / 268.4 MB, free: 6.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002534/0.002559, allocations: 1.818 MB / 270.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008754/0.003435, allocations: 0.6271 MB / 270.8 MB, free: 3.766 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.003537, allocations: 7.938 kB / 270.8 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.003659, allocations: 15.86 kB / 270.9 MB, free: 3.742 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.33e-05/0.003732, allocations: 35.7 kB / 270.9 MB, free: 3.707 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.003947, allocations: 55.75 kB / 270.9 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.004082, allocations: 131.2 kB / 271.1 MB, free: 3.523 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.004186, allocations: 13.59 kB / 271.1 MB, free: 3.504 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.225e-05/0.004268, allocations: 71.86 kB / 271.2 MB, free: 3.434 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.004351, allocations: 31.91 kB / 271.2 MB, free: 3.402 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.004369, allocations: 8 kB / 271.2 MB, free: 3.395 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-05/0.004439, allocations: 27.98 kB / 271.2 MB, free: 3.367 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.004462, allocations: 19.91 kB / 271.2 MB, free: 3.348 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.004494, allocations: 35.91 kB / 271.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.004669, allocations: 103.6 kB / 271.4 MB, free: 3.211 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004671, allocations: 0 / 271.4 MB, free: 3.211 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004672, allocations: 0 / 271.4 MB, free: 3.211 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.004676, allocations: 4 kB / 271.4 MB, free: 3.207 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.0003997/0.005075, allocations: 436.3 kB / 271.8 MB, free: 2.746 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.005109, allocations: 12.03 kB / 271.8 MB, free: 2.734 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.005252, allocations: 36.83 kB / 271.9 MB, free: 2.699 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.005389, allocations: 148.3 kB / 272 MB, free: 2.527 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.005399, allocations: 8.562 kB / 272 MB, free: 2.52 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.005418, allocations: 4.375 kB / 272 MB, free: 2.516 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.005524, allocations: 85.33 kB / 272.1 MB, free: 2.43 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.005534, allocations: 0 / 272.1 MB, free: 2.43 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.005542, allocations: 0 / 272.1 MB, free: 2.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.005546, allocations: 4 kB / 272.1 MB, free: 2.426 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.561e-05/0.005612, allocations: 35.95 kB / 272.1 MB, free: 2.391 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.006024, allocations: 395.3 kB / 272.5 MB, free: 1.973 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.006186, allocations: 90.94 kB / 272.6 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.567e-05/0.006212, allocations: 23.67 kB / 272.6 MB, free: 1.844 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.006219, allocations: 0 / 272.6 MB, free: 1.844 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.006238, allocations: 37.39 kB / 272.7 MB, free: 1.797 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 9.22e-07/0.006239, allocations: 0 / 272.7 MB, free: 1.797 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006574/0.006897, allocations: 337.7 kB / 273 MB, free: 1.43 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.006922, allocations: 55.41 kB / 273.1 MB, free: 1.363 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.304e-05/0.006995, allocations: 173.9 kB / 273.2 MB, free: 1.176 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.007006, allocations: 25.7 kB / 273.2 MB, free: 1.145 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.007066, allocations: 154.7 kB / 273.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.007093, allocations: 51.56 kB / 273.4 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.007133, allocations: 39.36 kB / 273.5 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.00725, allocations: 0.4961 MB / 274 MB, free: 392 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.171e-05/0.007272, allocations: 15.92 kB / 274 MB, free: 376 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.295e-05/0.007315, allocations: 58.66 kB / 274.1 MB, free: 300 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.057e-05/0.007385, allocations: 75.55 kB / 274.1 MB, free: 208 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.007387, allocations: 0 / 274.1 MB, free: 208 kB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000118/0.007505, allocations: 105.5 kB / 274.2 MB, free: 96 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.007519, allocations: 10.81 kB / 274.2 MB, free: 88 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.007524, allocations: 4.062 kB / 274.2 MB, free: 84 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.007534, allocations: 0 / 274.2 MB, free: 84 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.482e-05/0.007618, allocations: 39.92 kB / 274.3 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.007623, allocations: 0 / 274.3 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.007653, allocations: 4 kB / 274.3 MB, free: 40 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.007658, allocations: 3.938 kB / 274.3 MB, free: 36 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 8.457e-05/0.007743, allocations: 164.5 kB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.007767, allocations: 15.95 kB / 274.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.007801, allocations: 16.42 kB / 274.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.007804, allocations: 4 kB / 274.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.007806, allocations: 4 kB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.007811, allocations: 4 kB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.008129, allocations: 377.2 kB / 274.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.008131, allocations: 0 / 274.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.479e-05/0.008216, allocations: 31.92 kB / 274.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.008219, allocations: 0 / 274.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.008227, allocations: 4 kB / 274.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.008229, allocations: 0 / 274.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.00823, allocations: 0 / 274.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.008418, allocations: 295.1 kB / 275.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.008427, allocations: 3.953 kB / 275.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.008477, allocations: 8.094 kB / 275.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.41e-05/0.008521, allocations: 0 / 275.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.008539, allocations: 11.97 kB / 275.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.008544, allocations: 4 kB / 275.2 MB, free: 15.03 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.294e-05/0.008587, allocations: 139.1 kB / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008587, allocations: 0 / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001712/0.008758, allocations: 24 kB / 275.4 MB, free: 14.87 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 8.196e-05/0.00884, allocations: 99.25 kB / 275.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001047/0.008945, allocations: 71.5 kB / 275.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.008947, allocations: 0 / 275.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.024e-05/0.008977, allocations: 35.61 kB / 275.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.009186, allocations: 12 kB / 275.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003803/0.01299, allocations: 377.3 kB / 276 MB, free: 14.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.932e-05/0.01305, allocations: 75.28 kB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.637e-05/0.01311, allocations: 12.95 kB / 276 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.435e-05/0.01321, allocations: 86.19 kB / 276.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01321, allocations: 0 / 276.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of Templates: time 0.003417/0.01663, allocations: 1.234 MB / 277.4 MB, free: 12.83 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 -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.6375722833909094]