Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001306/0.002308, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007501/0.0007501, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009535/0.001704, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9764/0.9764, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1569/1.133, allocations: 49.49 MB / 220.6 MB, free: 1.449 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 221.8 MB, free: 204 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.733e-05, allocations: 6.25 kB / 221.8 MB, free: 196 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002372/0.002389, allocations: 1.858 MB / 223.7 MB, free: 14.32 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008134/0.003203, allocations: 0.6902 MB / 224.4 MB, free: 13.62 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.38e-05/0.003267, allocations: 0 / 224.4 MB, free: 13.62 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003073/0.00634, allocations: 11.86 kB / 224.4 MB, free: 13.61 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.39e-05/0.006424, allocations: 47.58 kB / 224.4 MB, free: 13.56 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.006558, allocations: 39.88 kB / 224.5 MB, free: 13.52 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.006712, allocations: 135.3 kB / 224.6 MB, free: 13.39 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.00682, allocations: 26.17 kB / 224.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.00693, allocations: 75.8 kB / 224.7 MB, free: 13.29 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.815e-05/0.007018, allocations: 35.89 kB / 224.7 MB, free: 13.25 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.007037, allocations: 8 kB / 224.7 MB, free: 13.25 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.141e-05/0.007129, allocations: 24 kB / 224.8 MB, free: 13.22 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.007147, allocations: 11.94 kB / 224.8 MB, free: 13.21 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.007185, allocations: 31.94 kB / 224.8 MB, free: 13.18 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.007367, allocations: 91.67 kB / 224.9 MB, free: 13.09 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.474e-05/0.007381, allocations: 0 / 224.9 MB, free: 13.09 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.007383, allocations: 4 kB / 224.9 MB, free: 13.09 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.007398, allocations: 4 kB / 224.9 MB, free: 13.08 MB / 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.0005095/0.007907, allocations: 332.3 kB / 225.2 MB, free: 12.73 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.007937, allocations: 12.03 kB / 225.2 MB, free: 12.72 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.008122, allocations: 117.9 kB / 225.4 MB, free: 12.59 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.008261, allocations: 121.7 kB / 225.5 MB, free: 12.45 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.008273, allocations: 8.562 kB / 225.5 MB, free: 12.44 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.008292, allocations: 12.38 kB / 225.5 MB, free: 12.43 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.008397, allocations: 78.33 kB / 225.6 MB, free: 12.34 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.008408, allocations: 3.938 kB / 225.6 MB, free: 12.34 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.008416, allocations: 0 / 225.6 MB, free: 12.34 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.008422, allocations: 4 kB / 225.6 MB, free: 12.34 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.606e-05/0.008488, allocations: 31.91 kB / 225.6 MB, free: 12.3 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.00887, allocations: 291.3 kB / 225.9 MB, free: 12 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.009029, allocations: 74.41 kB / 226 MB, free: 11.92 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.688e-05/0.009056, allocations: 24.86 kB / 226 MB, free: 11.89 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.009063, allocations: 0 / 226 MB, free: 11.89 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.009084, allocations: 38.55 kB / 226 MB, free: 11.84 MB / 234.7 MB Notification: Performance of pre-optimization done (n=11): time 8.82e-07/0.009085, allocations: 0 / 226 MB, free: 11.84 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.003719/0.0128, allocations: 321.1 kB / 226.3 MB, free: 11.5 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.01283, allocations: 55.41 kB / 226.4 MB, free: 11.43 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.892e-05/0.0129, allocations: 130.7 kB / 226.5 MB, free: 11.29 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.01291, allocations: 29.7 kB / 226.6 MB, free: 11.25 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.01295, allocations: 104 kB / 226.7 MB, free: 11.15 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.01298, allocations: 47.56 kB / 226.7 MB, free: 11.1 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.01315, allocations: 33.72 kB / 226.7 MB, free: 11.06 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.493e-05/0.01322, allocations: 330.8 kB / 227.1 MB, free: 10.73 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.059e-05/0.01324, allocations: 12 kB / 227.1 MB, free: 10.72 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.932e-05/0.01328, allocations: 43.33 kB / 227.1 MB, free: 10.66 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.073e-05/0.01335, allocations: 76.06 kB / 227.2 MB, free: 10.58 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.01336, allocations: 0 / 227.2 MB, free: 10.58 MB / 234.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001071/0.01346, allocations: 97.45 kB / 227.3 MB, free: 10.48 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.01348, allocations: 8 kB / 227.3 MB, free: 10.47 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.01348, allocations: 0 / 227.3 MB, free: 10.47 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.01349, allocations: 64 / 227.3 MB, free: 10.47 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.01362, allocations: 43.98 kB / 227.3 MB, free: 10.43 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.01363, allocations: 4 kB / 227.3 MB, free: 10.42 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.496e-05/0.01366, allocations: 0 / 227.3 MB, free: 10.42 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.01367, allocations: 4 kB / 227.3 MB, free: 10.42 MB / 234.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.995e-05/0.01373, allocations: 121.7 kB / 227.5 MB, free: 10.29 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.01376, allocations: 11.98 kB / 227.5 MB, free: 10.28 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.01379, allocations: 16.44 kB / 227.5 MB, free: 10.26 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.01379, allocations: 0 / 227.5 MB, free: 10.26 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.01379, allocations: 0 / 227.5 MB, free: 10.26 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.0138, allocations: 7.984 kB / 227.5 MB, free: 10.25 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.01409, allocations: 276.3 kB / 227.8 MB, free: 9.953 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01409, allocations: 0 / 227.8 MB, free: 9.953 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.01421, allocations: 31.98 kB / 227.8 MB, free: 9.922 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.299e-05/0.01422, allocations: 15.94 kB / 227.8 MB, free: 9.906 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01422, allocations: 0 / 227.8 MB, free: 9.906 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.01423, allocations: 4 kB / 227.8 MB, free: 9.902 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01423, allocations: 0 / 227.8 MB, free: 9.902 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.01423, allocations: 3.938 kB / 227.8 MB, free: 9.898 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.01438, allocations: 205.2 kB / 228 MB, free: 9.676 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.0144, allocations: 11.98 kB / 228 MB, free: 9.664 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.662e-05/0.01446, allocations: 0 / 228 MB, free: 9.664 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.01447, allocations: 11.92 kB / 228 MB, free: 9.652 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.01448, allocations: 4 kB / 228 MB, free: 9.648 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.635e-05/0.0145, allocations: 16.86 kB / 228.1 MB, free: 9.629 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0145, allocations: 0 / 228.1 MB, free: 9.629 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001942/0.01469, allocations: 24 kB / 228.1 MB, free: 9.605 MB / 234.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 7.526e-05/0.01477, allocations: 84.34 kB / 228.2 MB, free: 9.516 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 9.906e-05/0.01486, allocations: 56.78 kB / 228.2 MB, free: 9.457 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.01487, allocations: 3.984 kB / 228.2 MB, free: 9.453 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.501e-05/0.01491, allocations: 32.78 kB / 228.3 MB, free: 9.418 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/0.01723, allocations: 35.92 kB / 228.3 MB, free: 9.383 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.01978, allocations: 324.6 kB / 228.6 MB, free: 9.031 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.327e-05/0.01984, allocations: 63.34 kB / 228.7 MB, free: 8.949 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 8.861e-05/0.01993, allocations: 21.14 kB / 228.7 MB, free: 8.926 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.02003, allocations: 71.3 kB / 228.8 MB, free: 8.855 MB / 234.7 MB Notification: Performance of SimCode: time 1.353e-06/0.02004, allocations: 0 / 228.8 MB, free: 8.855 MB / 234.7 MB Notification: Performance of Templates: time 0.00374/0.02377, allocations: 1.362 MB / 230.1 MB, free: 7.508 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6054325932636857]