Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001625/0.001625, allocations: 82.5 kB / 21.99 MB, free: 4.754 MB / 14.72 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.00206/0.00206, allocations: 153.8 kB / 25.24 MB, free: 2.746 MB / 14.72 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 1.408/1.408, allocations: 158.6 MB / 187 MB, free: 6.359 MB / 174.1 MB " [Timeout remaining time 178] 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.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 59.92 kB / 299.3 MB, free: 6.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2221, allocations: 49.15 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01037/0.2325, allocations: 7.161 MB / 355.7 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008761/0.2333, allocations: 0.5803 MB / 356.2 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.288e-05/0.2334, allocations: 0 / 356.2 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.2336, allocations: 35.78 kB / 356.3 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.2351, allocations: 0.5956 MB / 356.9 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.2353, allocations: 99.8 kB / 357 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.2355, allocations: 183.3 kB / 357.1 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.463e-05/0.2356, allocations: 4 kB / 357.1 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.2366, allocations: 0.6389 MB / 357.8 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/0.2367, allocations: 55.75 kB / 357.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.2367, allocations: 4 kB / 357.8 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.2382, allocations: 0.8619 MB / 358.7 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.2382, allocations: 31.84 kB / 358.7 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.459e-05/0.2383, allocations: 35.86 kB / 358.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003811/0.2387, allocations: 245.7 kB / 359 MB, free: 4.977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.2387, allocations: 0 / 359 MB, free: 4.977 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2387, allocations: 0 / 359 MB, free: 4.977 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.2387, allocations: 4 kB / 359 MB, free: 4.973 MB / 318.1 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.000414/0.2391, allocations: 337.7 kB / 359.3 MB, free: 4.613 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.2391, allocations: 11.98 kB / 359.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003819/0.2395, allocations: 36.86 kB / 359.4 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.2397, allocations: 146.3 kB / 359.5 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.2397, allocations: 8.359 kB / 359.5 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.2397, allocations: 8.375 kB / 359.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.24, allocations: 222.2 kB / 359.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.24, allocations: 0 / 359.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.24, allocations: 7.984 kB / 359.8 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2401, allocations: 4 kB / 359.8 MB, free: 4.117 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.2402, allocations: 103.9 kB / 359.9 MB, free: 4.016 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006429/0.2409, allocations: 0.5515 MB / 360.4 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.241, allocations: 86.28 kB / 360.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.824e-05/0.2411, allocations: 36.84 kB / 360.6 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002594/0.2413, allocations: 55.95 kB / 360.6 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.2413, allocations: 34.56 kB / 360.6 MB, free: 3.191 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.2413, allocations: 0 / 360.6 MB, free: 3.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002592/0.2416, allocations: 129.9 kB / 360.8 MB, free: 3.059 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.2416, allocations: 51.41 kB / 360.8 MB, free: 2.996 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.469e-05/0.2417, allocations: 117.8 kB / 360.9 MB, free: 2.871 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.2418, allocations: 29.7 kB / 361 MB, free: 2.836 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.2418, allocations: 107.9 kB / 361.1 MB, free: 2.727 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.2419, allocations: 55.58 kB / 361.1 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.2419, allocations: 33.7 kB / 361.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.242, allocations: 322.8 kB / 361.5 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.937e-05/0.2421, allocations: 23.98 kB / 361.5 MB, free: 2.285 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.907e-05/0.2422, allocations: 69.12 kB / 361.6 MB, free: 2.199 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.2423, allocations: 105.6 kB / 361.7 MB, free: 2.078 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.2423, allocations: 8 kB / 361.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000219/0.2425, allocations: 133.5 kB / 361.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.2425, allocations: 4.312 kB / 361.8 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2426, allocations: 4 kB / 361.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2426, allocations: 0 / 361.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.2427, allocations: 39.92 kB / 361.9 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2427, allocations: 0 / 361.9 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.927e-05/0.2428, allocations: 15.88 kB / 361.9 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.2428, allocations: 8.156 kB / 361.9 MB, free: 1.863 MB / 318.1 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 9.79e-05/0.2429, allocations: 129.7 kB / 362 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.2429, allocations: 11.94 kB / 362 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.2432, allocations: 138.4 kB / 362.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2432, allocations: 0 / 362.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.2432, allocations: 0 / 362.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2432, allocations: 3.938 kB / 362.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.2436, allocations: 330 kB / 362.5 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2436, allocations: 11.88 kB / 362.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.241e-05/0.2437, allocations: 27.98 kB / 362.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2437, allocations: 0 / 362.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.2437, allocations: 8 kB / 362.5 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.2437, allocations: 3.938 kB / 362.5 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2437, allocations: 0 / 362.5 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.2439, allocations: 203.4 kB / 362.7 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.244, allocations: 19.92 kB / 362.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.244, allocations: 4 kB / 362.7 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.876e-05/0.2441, allocations: 7.938 kB / 362.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.2441, allocations: 7.984 kB / 362.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.2441, allocations: 12 kB / 362.8 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.662e-05/0.2442, allocations: 91.27 kB / 362.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2442, allocations: 0 / 362.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003445/0.2445, allocations: 59.86 kB / 362.9 MB, free: 0.7461 MB / 318.1 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.00024/0.2448, allocations: 159 kB / 363.1 MB, free: 0.582 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.2449, allocations: 76.41 kB / 363.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2449, allocations: 0 / 363.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.781e-05/0.245, allocations: 39.92 kB / 363.2 MB, free: 480 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.2454, allocations: 44.41 kB / 363.2 MB, free: 436 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/0.2458, allocations: 244.7 kB / 363.5 MB, free: 164 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.057e-05/0.2459, allocations: 75.83 kB / 363.5 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.246, allocations: 32.88 kB / 363.6 MB, free: 32 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.2461, allocations: 28.42 kB / 363.6 MB, free: 4 kB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2461, allocations: 0 / 363.6 MB, free: 4 kB / 318.1 MB Notification: Performance of Templates: time 0.005916/0.252, allocations: 2.455 MB / 366.1 MB, free: 13.54 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.579380988958292]