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.001501/0.001501, allocations: 107.3 kB / 17.74 MB, free: 5.359 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.001651/0.001651, allocations: 180.1 kB / 18.66 MB, free: 4.449 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.336/1.336, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009794/0.0009795, allocations: 47.92 kB / 351.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2329, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006837/0.2398, allocations: 4.847 MB / 406.2 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000803/0.2406, allocations: 0.6191 MB / 406.9 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.2407, allocations: 4 kB / 406.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002305/0.2409, allocations: 31.77 kB / 406.9 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001471/0.2424, allocations: 0.5761 MB / 407.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.2427, allocations: 90.55 kB / 407.6 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.2429, allocations: 179.3 kB / 407.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.243, allocations: 4 kB / 407.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009706/0.244, allocations: 0.6236 MB / 408.4 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.947e-05/0.2441, allocations: 47.78 kB / 408.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.2441, allocations: 4 kB / 408.4 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.2454, allocations: 0.8514 MB / 409.3 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/0.2454, allocations: 27.89 kB / 409.3 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.954e-05/0.2455, allocations: 39.88 kB / 409.3 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004036/0.2459, allocations: 235.3 kB / 409.6 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2459, allocations: 0 / 409.6 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.566e-06/0.2459, allocations: 0 / 409.6 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.246, allocations: 3.938 kB / 409.6 MB, free: 0.6914 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.0005153/0.2465, allocations: 423.2 kB / 410 MB, free: 236 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.2465, allocations: 12.03 kB / 410 MB, free: 224 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004347/0.247, allocations: 40.81 kB / 410 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.2473, allocations: 196.1 kB / 410.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.2473, allocations: 12.33 kB / 410.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.2473, allocations: 7.938 kB / 410.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.2476, allocations: 137 kB / 410.4 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2476, allocations: 0 / 410.4 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.2476, allocations: 4 kB / 410.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.2476, allocations: 8 kB / 410.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.2478, allocations: 107.8 kB / 410.5 MB, free: 15.66 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.0006828/0.2485, allocations: 0.6606 MB / 411.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.2486, allocations: 90.48 kB / 411.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.743e-05/0.2487, allocations: 44.83 kB / 411.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005672/0.2493, allocations: 0.7998 MB / 412.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.2493, allocations: 38.56 kB / 412.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.2493, allocations: 0 / 412.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002748/0.2496, allocations: 127.9 kB / 412.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.2497, allocations: 63.34 kB / 412.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.298e-05/0.2498, allocations: 117.8 kB / 412.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.2498, allocations: 25.7 kB / 412.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.2498, allocations: 103.9 kB / 412.5 MB, free: 13.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.2499, allocations: 43.36 kB / 412.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.2499, allocations: 33.7 kB / 412.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.2501, allocations: 322.8 kB / 412.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-05/0.2501, allocations: 27.98 kB / 413 MB, free: 12.85 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.489e-05/0.2502, allocations: 65.14 kB / 413 MB, free: 12.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.2503, allocations: 105 kB / 413.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2503, allocations: 4 kB / 413.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001966/0.2505, allocations: 139.3 kB / 413.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2506, allocations: 4 kB / 413.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2506, allocations: 0 / 413.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.2506, allocations: 12.25 kB / 413.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.2507, allocations: 31.98 kB / 413.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.2507, allocations: 7.984 kB / 413.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.798e-05/0.2508, allocations: 15.84 kB / 413.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.2508, allocations: 16.09 kB / 413.4 MB, free: 12.41 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 8.86e-05/0.2509, allocations: 125.8 kB / 413.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.251, allocations: 7.906 kB / 413.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.2513, allocations: 145.9 kB / 413.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2513, allocations: 4 kB / 413.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2513, allocations: 0 / 413.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2513, allocations: 0 / 413.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.2517, allocations: 394.3 kB / 414 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.2517, allocations: 0 / 414 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.424e-05/0.2518, allocations: 23.94 kB / 414 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2518, allocations: 0 / 414 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.2518, allocations: 7.984 kB / 414 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2518, allocations: 0 / 414 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2518, allocations: 0 / 414 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.252, allocations: 203.4 kB / 414.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.677e-05/0.2521, allocations: 104.9 kB / 414.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.2521, allocations: 0 / 414.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.404e-05/0.2522, allocations: 4 kB / 414.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.362e-05/0.2523, allocations: 11.98 kB / 414.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.2523, allocations: 7.984 kB / 414.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.653e-05/0.2523, allocations: 87.28 kB / 414.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2523, allocations: 3.938 kB / 414.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003234/0.2527, allocations: 63.98 kB / 414.5 MB, free: 11.14 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.0002593/0.2529, allocations: 159.8 kB / 414.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.2531, allocations: 79.91 kB / 414.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.2531, allocations: 4.312 kB / 414.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.998e-05/0.2532, allocations: 39.92 kB / 414.8 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.2536, allocations: 52.11 kB / 414.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.2541, allocations: 261.2 kB / 415.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.2544, allocations: 0.6928 MB / 415.8 MB, free: 9.793 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.553e-05/0.2544, allocations: 23.44 kB / 415.8 MB, free: 9.77 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2544, allocations: 0 / 415.8 MB, free: 9.77 MB / 334.1 MB Notification: Performance of Templates: time 0.003727/0.2582, allocations: 2.143 MB / 418 MB, free: 7.645 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/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