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.001851/0.001851, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002261/0.002261, allocations: 216.9 kB / 23.73 MB, free: 4.156 MB / 14.72 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 1.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001581/0.001581, allocations: 51.86 kB / 378.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.221, allocations: 53.36 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007215/0.2282, allocations: 4.642 MB / 436.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009033/0.2292, allocations: 0.5725 MB / 436.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.889e-05/0.2292, allocations: 0 / 436.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.2294, allocations: 27.83 kB / 436.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.2308, allocations: 0.6112 MB / 437.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.2311, allocations: 106.7 kB / 437.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000256/0.2313, allocations: 179.3 kB / 437.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.54e-05/0.2314, allocations: 0 / 437.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.2325, allocations: 0.635 MB / 438.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.621e-05/0.2326, allocations: 47.77 kB / 438.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.2326, allocations: 4 kB / 438.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.2341, allocations: 0.9008 MB / 439.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.2341, allocations: 27.91 kB / 439.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.209e-05/0.2342, allocations: 39.86 kB / 439.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000415/0.2346, allocations: 241.8 kB / 439.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2346, allocations: 4 kB / 439.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2346, allocations: 0 / 439.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.2346, allocations: 0 / 439.6 MB, free: 14.68 MB / 350.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.0005297/0.2351, allocations: 353.6 kB / 439.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.2352, allocations: 11.97 kB / 439.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000395/0.2356, allocations: 36.86 kB / 440 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.2358, allocations: 130.5 kB / 440.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.2358, allocations: 4.375 kB / 440.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.2358, allocations: 19.92 kB / 440.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.2361, allocations: 218.1 kB / 440.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.2361, allocations: 0 / 440.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.2362, allocations: 8 kB / 440.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2362, allocations: 3.984 kB / 440.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.2364, allocations: 107.9 kB / 440.5 MB, free: 13.71 MB / 350.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.0007064/0.2371, allocations: 0.5399 MB / 441 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.2372, allocations: 78.48 kB / 441.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.738e-05/0.2373, allocations: 36.84 kB / 441.1 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002526/0.2375, allocations: 55.95 kB / 441.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.2376, allocations: 34.56 kB / 441.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.2376, allocations: 0 / 441.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002991/0.2379, allocations: 137 kB / 441.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.2379, allocations: 59.28 kB / 441.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.238, allocations: 125.7 kB / 441.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.2381, allocations: 29.7 kB / 441.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.657e-05/0.2381, allocations: 96.03 kB / 441.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.2382, allocations: 47.55 kB / 441.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.2382, allocations: 37.7 kB / 441.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.2384, allocations: 318.8 kB / 442 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.101e-05/0.2384, allocations: 27.98 kB / 442.1 MB, free: 12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.871e-05/0.2385, allocations: 71.33 kB / 442.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.2387, allocations: 101.1 kB / 442.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2387, allocations: 7.938 kB / 442.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00023/0.2389, allocations: 141.6 kB / 442.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2389, allocations: 11.97 kB / 442.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2389, allocations: 4 kB / 442.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.2389, allocations: 0 / 442.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.2391, allocations: 31.98 kB / 442.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.2391, allocations: 3.938 kB / 442.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/0.2391, allocations: 15.89 kB / 442.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.2392, allocations: 8 kB / 442.4 MB, free: 11.57 MB / 350.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.2393, allocations: 121.8 kB / 442.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.2393, allocations: 7.953 kB / 442.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.2396, allocations: 146.4 kB / 442.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2396, allocations: 3.938 kB / 442.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2396, allocations: 3.938 kB / 442.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.2396, allocations: 4 kB / 442.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.2401, allocations: 324.2 kB / 443 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2401, allocations: 4 kB / 443 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.742e-05/0.2401, allocations: 23.92 kB / 443.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.2401, allocations: 3.938 kB / 443.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.2402, allocations: 8 kB / 443.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2402, allocations: 4 kB / 443.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2402, allocations: 0 / 443.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.2404, allocations: 199.5 kB / 443.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.2404, allocations: 19.94 kB / 443.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.2405, allocations: 3.938 kB / 443.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.2406, allocations: 4 kB / 443.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/0.2406, allocations: 15.97 kB / 443.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.2406, allocations: 8 kB / 443.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.375e-05/0.2407, allocations: 95.2 kB / 443.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2407, allocations: 0 / 443.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003319/0.241, allocations: 63.81 kB / 443.5 MB, free: 10.46 MB / 350.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.0002676/0.2413, allocations: 167 kB / 443.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.2415, allocations: 74.45 kB / 443.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2415, allocations: 8 kB / 443.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.869e-05/0.2415, allocations: 35.92 kB / 443.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.242, allocations: 43.94 kB / 443.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/0.2424, allocations: 248.2 kB / 444 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.872e-05/0.2425, allocations: 75.77 kB / 444.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.2426, allocations: 33.11 kB / 444.2 MB, free: 9.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.2426, allocations: 23.44 kB / 444.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2426, allocations: 0 / 444.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of Templates: time 0.006326/0.249, allocations: 2.609 MB / 446.8 MB, free: 7.148 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.4673740062862635]