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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 108.3 kB / 17.06 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001326, allocations: 191 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009113/0.0009113, allocations: 51.92 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2281, allocations: 49.43 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006123/0.2343, allocations: 4.854 MB / 405.6 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007853/0.2351, allocations: 0.6192 MB / 406.2 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.2351, allocations: 4 kB / 406.2 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.2353, allocations: 31.77 kB / 406.2 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.2366, allocations: 0.5722 MB / 406.8 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.2368, allocations: 91.8 kB / 406.9 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.237, allocations: 179.3 kB / 407.1 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.2371, allocations: 11.98 kB / 407.1 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009555/0.238, allocations: 0.6158 MB / 407.7 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.845e-05/0.2381, allocations: 47.77 kB / 407.7 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.2381, allocations: 4 kB / 407.7 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.2393, allocations: 0.8578 MB / 408.6 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.932e-05/0.2394, allocations: 19.91 kB / 408.6 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.2395, allocations: 43.86 kB / 408.6 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.2398, allocations: 232.7 kB / 408.9 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2398, allocations: 3.984 kB / 408.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2399, allocations: 0 / 408.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.2399, allocations: 4 kB / 408.9 MB, free: 0.6641 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.0004459/0.2403, allocations: 430.3 kB / 409.3 MB, free: 204 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.2404, allocations: 8.031 kB / 409.3 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004155/0.2408, allocations: 40.81 kB / 409.4 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.241, allocations: 192.2 kB / 409.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.241, allocations: 8.328 kB / 409.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.241, allocations: 11.94 kB / 409.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.2413, allocations: 141 kB / 409.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.2413, allocations: 0 / 409.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.2413, allocations: 4 kB / 409.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2413, allocations: 0 / 409.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.2415, allocations: 111.8 kB / 409.8 MB, free: 15.64 MB / 334.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.0006482/0.2422, allocations: 0.6684 MB / 410.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.2423, allocations: 86.44 kB / 410.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.982e-05/0.2424, allocations: 40.84 kB / 410.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005542/0.2429, allocations: 0.8037 MB / 411.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.243, allocations: 34.56 kB / 411.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.243, allocations: 0 / 411.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.00028/0.2433, allocations: 135.8 kB / 411.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.2433, allocations: 59.34 kB / 411.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.925e-05/0.2434, allocations: 113.8 kB / 411.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.2434, allocations: 25.7 kB / 411.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.2435, allocations: 103.9 kB / 411.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.2435, allocations: 47.34 kB / 411.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.699e-05/0.2436, allocations: 37.7 kB / 412 MB, free: 13.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.2437, allocations: 318.8 kB / 412.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.179e-05/0.2437, allocations: 27.98 kB / 412.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.066e-05/0.2438, allocations: 65.12 kB / 412.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.244, allocations: 109 kB / 412.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.244, allocations: 4 kB / 412.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002016/0.2442, allocations: 131.8 kB / 412.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.2442, allocations: 7.938 kB / 412.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.2442, allocations: 4.156 kB / 412.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2442, allocations: 7.938 kB / 412.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.2444, allocations: 35.92 kB / 412.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2444, allocations: 3.984 kB / 412.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.81e-05/0.2444, allocations: 15.84 kB / 412.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.2445, allocations: 11.94 kB / 412.7 MB, free: 12.39 MB / 334.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 7.878e-05/0.2445, allocations: 117.8 kB / 412.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.2446, allocations: 7.906 kB / 412.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.2449, allocations: 153.9 kB / 413 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2449, allocations: 0 / 413 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2449, allocations: 4 kB / 413 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2449, allocations: 0 / 413 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004547/0.2454, allocations: 394.2 kB / 413.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2454, allocations: 0 / 413.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.925e-05/0.2455, allocations: 27.92 kB / 413.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2455, allocations: 0 / 413.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.2455, allocations: 8 kB / 413.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2455, allocations: 0 / 413.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2455, allocations: 0 / 413.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.2457, allocations: 203.4 kB / 413.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.2458, allocations: 100.9 kB / 413.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.2458, allocations: 0 / 413.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-05/0.2459, allocations: 8 kB / 413.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.2459, allocations: 7.984 kB / 413.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.2459, allocations: 8 kB / 413.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.571e-05/0.246, allocations: 95.2 kB / 413.8 MB, free: 11.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.246, allocations: 0 / 413.8 MB, free: 11.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003141/0.2463, allocations: 60 kB / 413.8 MB, free: 11.11 MB / 334.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.0002369/0.2466, allocations: 167.8 kB / 414 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.2467, allocations: 75.91 kB / 414.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2468, allocations: 0 / 414.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.03e-05/0.2468, allocations: 47.91 kB / 414.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.2472, allocations: 46.77 kB / 414.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.2476, allocations: 235.5 kB / 414.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.2479, allocations: 0.6928 MB / 415.1 MB, free: 9.801 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.248, allocations: 36.8 kB / 415.1 MB, free: 9.766 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.248, allocations: 15.44 kB / 415.2 MB, free: 9.75 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.248, allocations: 4 kB / 415.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of Templates: time 0.005226/0.2533, allocations: 2.387 MB / 417.5 MB, free: 7.379 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches