Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.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.0009954/0.0009954, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001559/0.001559, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9055/0.9055, allocations: 177.2 MB / 205 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 273 MB, free: 1.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.604e-05, allocations: 2.312 kB / 273 MB, free: 1.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.005468/0.005494, allocations: 4.954 MB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007095/0.006204, allocations: 0.6425 MB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.79e-05/0.006272, allocations: 4 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.006556, allocations: 23.78 kB / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.007918, allocations: 0.6263 MB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.008104, allocations: 87.84 kB / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.00833, allocations: 195.1 kB / 279.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.008369, allocations: 7.938 kB / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008272/0.009196, allocations: 0.647 MB / 280.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.787e-05/0.009274, allocations: 43.89 kB / 280.2 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.009295, allocations: 8 kB / 280.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.01035, allocations: 0.9007 MB / 281.1 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.53e-05/0.01041, allocations: 27.92 kB / 281.1 MB, free: 9.211 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/0.01045, allocations: 35.91 kB / 281.2 MB, free: 9.176 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.01082, allocations: 251.1 kB / 281.4 MB, free: 8.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.01083, allocations: 4 kB / 281.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01083, allocations: 0 / 281.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.01083, allocations: 0 / 281.4 MB, free: 8.926 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.0004341/0.01127, allocations: 447.9 kB / 281.8 MB, free: 8.453 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.01131, allocations: 12.03 kB / 281.9 MB, free: 8.441 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003021/0.01161, allocations: 60.61 kB / 281.9 MB, free: 8.383 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.01179, allocations: 136.5 kB / 282 MB, free: 8.223 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.0118, allocations: 12.31 kB / 282.1 MB, free: 8.211 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.01182, allocations: 12.38 kB / 282.1 MB, free: 8.199 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.01203, allocations: 201.8 kB / 282.3 MB, free: 7.961 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.01204, allocations: 4 kB / 282.3 MB, free: 7.957 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.01205, allocations: 8 kB / 282.3 MB, free: 7.949 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.01206, allocations: 0 / 282.3 MB, free: 7.949 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.01217, allocations: 75.86 kB / 282.3 MB, free: 7.875 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.01276, allocations: 0.7306 MB / 283.1 MB, free: 7.094 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.01289, allocations: 79.03 kB / 283.2 MB, free: 7.004 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.274e-05/0.01293, allocations: 31.67 kB / 283.2 MB, free: 6.969 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.01312, allocations: 55.95 kB / 283.2 MB, free: 6.914 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.01315, allocations: 41.38 kB / 283.3 MB, free: 6.863 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.124e-06/0.01315, allocations: 0 / 283.3 MB, free: 6.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002281/0.01338, allocations: 117.8 kB / 283.4 MB, free: 6.742 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.01341, allocations: 51.41 kB / 283.4 MB, free: 6.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.217e-05/0.01349, allocations: 177.9 kB / 283.6 MB, free: 6.488 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.0135, allocations: 29.7 kB / 283.7 MB, free: 6.453 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.01356, allocations: 150.6 kB / 283.8 MB, free: 6.301 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.01359, allocations: 55.58 kB / 283.9 MB, free: 6.246 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.01364, allocations: 39.36 kB / 283.9 MB, free: 6.199 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.01375, allocations: 0.4922 MB / 284.4 MB, free: 5.695 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.755e-05/0.01379, allocations: 19.98 kB / 284.4 MB, free: 5.676 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.518e-05/0.01385, allocations: 78.03 kB / 284.5 MB, free: 5.574 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.01396, allocations: 102.1 kB / 284.6 MB, free: 5.449 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01396, allocations: 4 kB / 284.6 MB, free: 5.445 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001592/0.01412, allocations: 136.1 kB / 284.7 MB, free: 5.309 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.01413, allocations: 10.81 kB / 284.7 MB, free: 5.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01414, allocations: 0 / 284.7 MB, free: 5.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.01416, allocations: 4 kB / 284.7 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.914e-05/0.01424, allocations: 31.92 kB / 284.8 MB, free: 5.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.01425, allocations: 4 kB / 284.8 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.343e-05/0.01428, allocations: 11.89 kB / 284.8 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.0143, allocations: 12.14 kB / 284.8 MB, free: 5.238 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.91e-05/0.01437, allocations: 176.4 kB / 285 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.01439, allocations: 15.95 kB / 285 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001905/0.01458, allocations: 126.3 kB / 285.1 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01459, allocations: 0 / 285.1 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.01459, allocations: 0 / 285.1 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01459, allocations: 4 kB / 285.1 MB, free: 4.906 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.01489, allocations: 373.2 kB / 285.5 MB, free: 4.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.01489, allocations: 4 kB / 285.5 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.01493, allocations: 27.98 kB / 285.5 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.01494, allocations: 7.984 kB / 285.5 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.01494, allocations: 0 / 285.5 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.01495, allocations: 0 / 285.5 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.01495, allocations: 3.938 kB / 285.5 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.01509, allocations: 255.7 kB / 285.8 MB, free: 4.191 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.69e-05/0.01512, allocations: 19.94 kB / 285.8 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.01513, allocations: 0 / 285.8 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.536e-05/0.01519, allocations: 7.984 kB / 285.8 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.01521, allocations: 11.92 kB / 285.8 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.01522, allocations: 8 kB / 285.8 MB, free: 4.145 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.179e-05/0.01526, allocations: 139.1 kB / 285.9 MB, free: 4.008 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01526, allocations: 0 / 285.9 MB, free: 4.008 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002378/0.0155, allocations: 67.83 kB / 286 MB, free: 3.941 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.0002201/0.01572, allocations: 163.1 kB / 286.2 MB, free: 3.773 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.01586, allocations: 83.47 kB / 286.3 MB, free: 3.688 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01586, allocations: 0 / 286.3 MB, free: 3.688 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.364e-05/0.01589, allocations: 43.59 kB / 286.3 MB, free: 3.641 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.01617, allocations: 52.19 kB / 286.3 MB, free: 3.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006301/0.0168, allocations: 214.5 kB / 286.6 MB, free: 3.352 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.794e-05/0.01683, allocations: 67.84 kB / 286.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.961e-05/0.01692, allocations: 33.17 kB / 286.7 MB, free: 3.234 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.01696, allocations: 24.48 kB / 286.7 MB, free: 3.211 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01696, allocations: 0 / 286.7 MB, free: 3.211 MB / 266.7 MB Notification: Performance of Templates: time 0.004505/0.02147, allocations: 2.942 MB / 289.6 MB, free: 336 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.684077126905322]