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.0009535/0.0009535, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0009074/0.0009074, allocations: 138.6 kB / 24.97 MB, free: 9.309 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.9171/0.9171, allocations: 173.3 MB / 201.5 MB, free: 9.277 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.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.082e-06/1.082e-06, allocations: 0 / 268 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222e-05/1.33e-05, allocations: 2.312 kB / 268 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.004421/0.004434, allocations: 4.893 MB / 272.9 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005184/0.004952, allocations: 0.6347 MB / 273.6 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.004996, allocations: 0 / 273.6 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001901/0.005186, allocations: 27.77 kB / 273.6 MB, free: 1.105 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008842/0.00607, allocations: 0.6185 MB / 274.2 MB, free: 496 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.00621, allocations: 91.84 kB / 274.3 MB, free: 404 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.006375, allocations: 179.2 kB / 274.5 MB, free: 224 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.144e-05/0.006406, allocations: 4 kB / 274.5 MB, free: 220 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007074/0.007113, allocations: 0.6587 MB / 275.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.26e-05/0.007166, allocations: 47.77 kB / 275.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.007182, allocations: 8 kB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007847/0.007967, allocations: 0.8811 MB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.07e-05/0.008008, allocations: 19.92 kB / 276.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.105e-05/0.008049, allocations: 39.91 kB / 276.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005079/0.008557, allocations: 239.2 kB / 276.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.008559, allocations: 0 / 276.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.008559, allocations: 0 / 276.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.008563, allocations: 0 / 276.4 MB, free: 14.32 MB / 266.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.0003627/0.008925, allocations: 440 kB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.008957, allocations: 12.92 kB / 276.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002856/0.009243, allocations: 64.62 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.009382, allocations: 144.5 kB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.009393, allocations: 4.375 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.009408, allocations: 12.38 kB / 277 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.009588, allocations: 209.7 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.009595, allocations: 0 / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.009608, allocations: 4 kB / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.009615, allocations: 0 / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.009717, allocations: 75.86 kB / 277.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.01017, allocations: 0.7345 MB / 278.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.01027, allocations: 74.89 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/0.01031, allocations: 34.67 kB / 278.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.01047, allocations: 55.95 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.01049, allocations: 41.39 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.01049, allocations: 0 / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001905/0.01068, allocations: 113.8 kB / 278.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.01071, allocations: 55.39 kB / 278.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.597e-05/0.01078, allocations: 181.9 kB / 278.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.0108, allocations: 25.7 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.01085, allocations: 158.5 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.01087, allocations: 51.58 kB / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.01091, allocations: 39.36 kB / 278.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.374e-05/0.01101, allocations: 0.4961 MB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.754e-05/0.01103, allocations: 19.98 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-05/0.01109, allocations: 76.77 kB / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.85e-05/0.01117, allocations: 114 kB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.01118, allocations: 0 / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001331/0.01131, allocations: 132.8 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.01132, allocations: 8 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.01133, allocations: 3.984 kB / 279.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.01134, allocations: 0 / 279.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.296e-05/0.01141, allocations: 35.92 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.01141, allocations: 4.156 kB / 279.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.229e-05/0.01145, allocations: 11.95 kB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.01146, allocations: 8 kB / 279.8 MB, free: 10.63 MB / 266.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 6.067e-05/0.01152, allocations: 168.5 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.01154, allocations: 19.95 kB / 280 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.01172, allocations: 126.3 kB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.01172, allocations: 0 / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.01172, allocations: 0 / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.01172, allocations: 4 kB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.01199, allocations: 377.3 kB / 280.4 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01199, allocations: 4 kB / 280.4 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.015e-05/0.01203, allocations: 23.98 kB / 280.5 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.01204, allocations: 0 / 280.5 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.01204, allocations: 4 kB / 280.5 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.01205, allocations: 0 / 280.5 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01205, allocations: 3.938 kB / 280.5 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.01217, allocations: 255.8 kB / 280.7 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.395e-05/0.0122, allocations: 19.88 kB / 280.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.01221, allocations: 8 kB / 280.8 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.007e-05/0.01226, allocations: 4 kB / 280.8 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.01228, allocations: 11.92 kB / 280.8 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.01229, allocations: 8 kB / 280.8 MB, free: 9.535 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.458e-05/0.01232, allocations: 131.2 kB / 280.9 MB, free: 9.406 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01232, allocations: 0 / 280.9 MB, free: 9.406 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002037/0.01253, allocations: 67.8 kB / 281 MB, free: 9.34 MB / 266.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.000169/0.0127, allocations: 159.1 kB / 281.1 MB, free: 9.176 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.01282, allocations: 79.28 kB / 281.2 MB, free: 9.098 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01282, allocations: 0 / 281.2 MB, free: 9.098 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.341e-05/0.01285, allocations: 43.66 kB / 281.3 MB, free: 9.051 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.01311, allocations: 52.25 kB / 281.3 MB, free: 9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005483/0.01366, allocations: 226.3 kB / 281.5 MB, free: 8.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.974e-05/0.0137, allocations: 63.84 kB / 281.6 MB, free: 8.668 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.905e-05/0.01378, allocations: 37.09 kB / 281.6 MB, free: 8.633 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.01381, allocations: 20.5 kB / 281.6 MB, free: 8.613 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01381, allocations: 0 / 281.6 MB, free: 8.613 MB / 266.7 MB Notification: Performance of Templates: time 0.003747/0.01756, allocations: 2.538 MB / 284.2 MB, free: 6.129 MB / 266.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 -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.72454973612912]