Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001508/0.001508, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001055/0.001055, allocations: 159.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9036/0.9036, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 274.1 MB, free: 4.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159e-05/1.279e-05, allocations: 2.312 kB / 274.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.00454/0.004553, allocations: 4.915 MB / 279 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005088/0.005061, allocations: 0.6285 MB / 279.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.662e-05/0.005098, allocations: 0 / 279.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.005266, allocations: 31.83 kB / 279.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000857/0.006123, allocations: 0.6185 MB / 280.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.006247, allocations: 95.84 kB / 280.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.006411, allocations: 187.2 kB / 280.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.956e-05/0.006441, allocations: 7.922 kB / 280.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007364/0.007177, allocations: 0.6509 MB / 281.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.492e-05/0.007232, allocations: 47.83 kB / 281.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.007246, allocations: 8 kB / 281.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000777/0.008023, allocations: 0.9045 MB / 282.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.042e-05/0.008063, allocations: 27.91 kB / 282.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.008099, allocations: 35.92 kB / 282.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.008367, allocations: 243.2 kB / 282.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.008369, allocations: 0 / 282.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.008369, allocations: 0 / 282.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.956e-06/0.008372, allocations: 0 / 282.5 MB, free: 11.9 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.0003387/0.008711, allocations: 463.8 kB / 282.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.606e-05/0.008737, allocations: 8.031 kB / 282.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/0.008979, allocations: 60.67 kB / 283 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.009097, allocations: 132.5 kB / 283.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.009108, allocations: 12.38 kB / 283.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.009121, allocations: 12.38 kB / 283.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.009266, allocations: 197.7 kB / 283.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.009274, allocations: 4 kB / 283.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.009285, allocations: 4 kB / 283.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.009291, allocations: 0 / 283.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.699e-05/0.009368, allocations: 67.86 kB / 283.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.009765, allocations: 0.7117 MB / 284.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.858e-05/0.009843, allocations: 78.81 kB / 284.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.603e-05/0.009869, allocations: 31.67 kB / 284.2 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.01, allocations: 59.94 kB / 284.3 MB, free: 9.922 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.01002, allocations: 37.39 kB / 284.3 MB, free: 9.875 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 9.41e-07/0.01002, allocations: 0 / 284.3 MB, free: 9.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000155/0.01018, allocations: 109.8 kB / 284.4 MB, free: 9.762 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.0102, allocations: 55.41 kB / 284.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.75e-05/0.01027, allocations: 177.8 kB / 284.7 MB, free: 9.504 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.01028, allocations: 29.7 kB / 284.7 MB, free: 9.469 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.01032, allocations: 146.7 kB / 284.8 MB, free: 9.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.01035, allocations: 51.56 kB / 284.9 MB, free: 9.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.01038, allocations: 39.36 kB / 284.9 MB, free: 9.223 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.01049, allocations: 0.4922 MB / 285.4 MB, free: 8.719 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.01051, allocations: 11.98 kB / 285.4 MB, free: 8.707 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.651e-05/0.01055, allocations: 84.27 kB / 285.5 MB, free: 8.602 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.305e-05/0.01063, allocations: 101.3 kB / 285.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01063, allocations: 0 / 285.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001101/0.01074, allocations: 125.5 kB / 285.7 MB, free: 8.352 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.01075, allocations: 4 kB / 285.7 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.01075, allocations: 0 / 285.7 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.134e-06/0.01076, allocations: 4 kB / 285.7 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.01082, allocations: 31.98 kB / 285.8 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.01083, allocations: 7.938 kB / 285.8 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.369e-05/0.01086, allocations: 15.88 kB / 285.8 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.01088, allocations: 8 kB / 285.8 MB, free: 8.281 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.242e-05/0.01094, allocations: 168.7 kB / 286 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.01096, allocations: 11.95 kB / 286 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.01111, allocations: 122.3 kB / 286.1 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.01111, allocations: 0 / 286.1 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.01111, allocations: 4 kB / 286.1 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.01112, allocations: 0 / 286.1 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.01136, allocations: 353.9 kB / 286.4 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.01136, allocations: 0 / 286.4 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.851e-05/0.0114, allocations: 23.94 kB / 286.5 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.0114, allocations: 0 / 286.5 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.01141, allocations: 15.98 kB / 286.5 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.01141, allocations: 0 / 286.5 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01141, allocations: 0 / 286.5 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.01153, allocations: 247.5 kB / 286.7 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.01155, allocations: 23.88 kB / 286.8 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.01156, allocations: 4 kB / 286.8 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.762e-05/0.01161, allocations: 0 / 286.8 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.01162, allocations: 11.92 kB / 286.8 MB, free: 7.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.01163, allocations: 11.98 kB / 286.8 MB, free: 7.238 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.378e-05/0.01167, allocations: 131.2 kB / 286.9 MB, free: 7.109 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01167, allocations: 0 / 286.9 MB, free: 7.109 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002112/0.01188, allocations: 67.8 kB / 287 MB, free: 7.043 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.0001671/0.01204, allocations: 163.1 kB / 287.1 MB, free: 6.875 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001/0.01214, allocations: 71.56 kB / 287.2 MB, free: 6.801 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.01215, allocations: 0 / 287.2 MB, free: 6.801 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.749e-05/0.01217, allocations: 35.61 kB / 287.2 MB, free: 6.762 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.01242, allocations: 60.41 kB / 287.3 MB, free: 6.703 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.01287, allocations: 226.2 kB / 287.5 MB, free: 6.449 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.233e-05/0.01291, allocations: 67.84 kB / 287.6 MB, free: 6.363 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.121e-05/0.01298, allocations: 20.91 kB / 287.6 MB, free: 6.344 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.01308, allocations: 122.1 kB / 287.7 MB, free: 6.223 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01308, allocations: 0 / 287.7 MB, free: 6.223 MB / 266.7 MB Notification: Performance of Templates: time 0.003922/0.017, allocations: 3.006 MB / 290.7 MB, free: 3.281 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.6359273050911725]