Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.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.001138/0.001138, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001801/0.002939, 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.001055/0.001055, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00152/0.002574, 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.8878/0.8878, allocations: 173.3 MB / 185.8 MB, free: 9.004 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07302/0.9609, allocations: 52.5 MB / 238.3 MB, free: 4.441 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.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 239.5 MB, free: 3.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.221e-05, allocations: 2.312 kB / 239.5 MB, free: 3.211 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007144/0.007166, allocations: 4.951 MB / 244.5 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007876/0.007953, allocations: 0.6423 MB / 245.1 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.084e-05/0.008004, allocations: 4 kB / 245.1 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.008174, allocations: 27.83 kB / 245.1 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.009464, allocations: 0.5951 MB / 245.7 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.00963, allocations: 95.78 kB / 245.8 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.009826, allocations: 183.2 kB / 246 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.476e-05/0.00986, allocations: 4 kB / 246 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007282/0.01059, allocations: 0.6158 MB / 246.6 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.663e-05/0.01067, allocations: 47.83 kB / 246.7 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.01068, allocations: 4 kB / 246.7 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008668/0.01155, allocations: 0.7877 MB / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.629e-05/0.01159, allocations: 19.94 kB / 247.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.01163, allocations: 24 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.01194, allocations: 215.2 kB / 247.7 MB, free: 10.97 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.304e-05/0.01195, allocations: 4 kB / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01195, allocations: 0 / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.01197, allocations: 0 / 247.7 MB, free: 10.96 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004339/0.0124, allocations: 363.9 kB / 248.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.01243, allocations: 8.031 kB / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003135/0.01275, allocations: 145.8 kB / 248.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.01289, allocations: 133.7 kB / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.0129, allocations: 384 / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.01292, allocations: 16.31 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.01308, allocations: 197.2 kB / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.01309, allocations: 0 / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.01311, allocations: 8 kB / 248.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.01311, allocations: 0 / 248.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.028e-05/0.01319, allocations: 58.7 kB / 248.6 MB, free: 9.949 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.01357, allocations: 490.2 kB / 249.1 MB, free: 9.441 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.929e-05/0.01365, allocations: 62.53 kB / 249.2 MB, free: 9.371 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.01368, allocations: 28.59 kB / 249.2 MB, free: 9.344 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/0.01385, allocations: 59.95 kB / 249.3 MB, free: 9.285 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.01387, allocations: 34.55 kB / 249.3 MB, free: 9.242 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.01387, allocations: 0 / 249.3 MB, free: 9.242 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.000378/0.01425, allocations: 89.84 kB / 249.4 MB, free: 9.148 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.01427, allocations: 55.41 kB / 249.4 MB, free: 9.082 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.171e-05/0.01434, allocations: 126.6 kB / 249.6 MB, free: 8.945 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.01435, allocations: 29.7 kB / 249.6 MB, free: 8.91 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.01439, allocations: 111.8 kB / 249.7 MB, free: 8.797 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.01442, allocations: 43.59 kB / 249.7 MB, free: 8.754 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.01445, allocations: 33.7 kB / 249.8 MB, free: 8.715 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.802e-05/0.01452, allocations: 326.8 kB / 250.1 MB, free: 8.387 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.01453, allocations: 11.98 kB / 250.1 MB, free: 8.375 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-05/0.01457, allocations: 59.62 kB / 250.2 MB, free: 8.301 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.289e-05/0.01463, allocations: 87.81 kB / 250.3 MB, free: 8.195 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.01464, allocations: 4 kB / 250.3 MB, free: 8.191 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.612e-05/0.01473, allocations: 93.53 kB / 250.3 MB, free: 8.094 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.01474, allocations: 4 kB / 250.3 MB, free: 8.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01475, allocations: 4 kB / 250.4 MB, free: 8.086 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.01476, allocations: 0 / 250.4 MB, free: 8.086 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.113e-05/0.01484, allocations: 39.91 kB / 250.4 MB, free: 8.047 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.01484, allocations: 8 kB / 250.4 MB, free: 8.039 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.575e-05/0.01488, allocations: 20.05 kB / 250.4 MB, free: 8.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.01489, allocations: 4 kB / 250.4 MB, free: 8.016 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * 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.865e-05/0.01495, allocations: 120.6 kB / 250.5 MB, free: 7.887 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.01497, allocations: 15.98 kB / 250.6 MB, free: 7.871 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.01512, allocations: 106.2 kB / 250.7 MB, free: 7.762 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.01512, allocations: 3.938 kB / 250.7 MB, free: 7.758 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.01513, allocations: 4 kB / 250.7 MB, free: 7.754 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01513, allocations: 0 / 250.7 MB, free: 7.754 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.01535, allocations: 258.6 kB / 250.9 MB, free: 7.477 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01535, allocations: 0 / 250.9 MB, free: 7.477 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.0154, allocations: 23.98 kB / 250.9 MB, free: 7.453 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.484e-05/0.01543, allocations: 27.88 kB / 251 MB, free: 7.426 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.01543, allocations: 0 / 251 MB, free: 7.426 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.01543, allocations: 0 / 251 MB, free: 7.426 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01543, allocations: 4 kB / 251 MB, free: 7.422 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01543, allocations: 0 / 251 MB, free: 7.422 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.916e-05/0.01552, allocations: 179.4 kB / 251.2 MB, free: 7.23 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.01554, allocations: 4 kB / 251.2 MB, free: 7.227 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.132e-05/0.01559, allocations: 7.984 kB / 251.2 MB, free: 7.219 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/0.01579, allocations: 15.97 kB / 251.2 MB, free: 7.203 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.0158, allocations: 4 kB / 251.2 MB, free: 7.199 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.292e-05/0.01582, allocations: 16.84 kB / 251.2 MB, free: 7.18 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01582, allocations: 0 / 251.2 MB, free: 7.18 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001997/0.01602, allocations: 59.92 kB / 251.3 MB, free: 7.121 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0002016/0.01623, allocations: 144.1 kB / 251.4 MB, free: 6.973 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.998e-05/0.01633, allocations: 68.69 kB / 251.5 MB, free: 6.902 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.01633, allocations: 4 kB / 251.5 MB, free: 6.898 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.219e-05/0.01636, allocations: 28.84 kB / 251.5 MB, free: 6.867 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.01661, allocations: 68.45 kB / 251.6 MB, free: 6.801 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.01821, allocations: 231.3 kB / 251.8 MB, free: 6.547 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.335e-05/0.01825, allocations: 63.84 kB / 251.9 MB, free: 6.465 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.513e-05/0.01834, allocations: 28.89 kB / 251.9 MB, free: 6.438 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.01844, allocations: 91.33 kB / 252 MB, free: 6.348 MB / 250.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01844, allocations: 0 / 252 MB, free: 6.348 MB / 250.7 MB Notification: Performance of Templates: time 0.004144/0.02259, allocations: 2.975 MB / 254.9 MB, free: 3.418 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.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.503385780379176]