Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009191/0.0009191, allocations: 175.5 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.4 MB / 222.9 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008271/0.000827, allocations: 94.34 kB / 271.2 MB, free: 8.227 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003315, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2349, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006982/0.2419, allocations: 7.008 MB / 382.1 MB, free: 39.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006393/0.2426, allocations: 0.5787 MB / 382.7 MB, free: 39.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.443e-05/0.2427, allocations: 5.219 kB / 382.7 MB, free: 39.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.2429, allocations: 22.59 kB / 382.7 MB, free: 39.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.2441, allocations: 0.5068 MB / 383.2 MB, free: 39.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.2443, allocations: 88.31 kB / 383.3 MB, free: 38.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.2445, allocations: 194.8 kB / 383.5 MB, free: 38.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.2446, allocations: 3.688 kB / 383.5 MB, free: 38.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.2457, allocations: 0.6645 MB / 384.1 MB, free: 38.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.75e-05/0.2458, allocations: 43.19 kB / 384.2 MB, free: 38.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.2458, allocations: 3.531 kB / 384.2 MB, free: 38.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.2473, allocations: 0.9101 MB / 385.1 MB, free: 38.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.813e-05/0.2474, allocations: 17.27 kB / 385.1 MB, free: 38.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.432e-05/0.2475, allocations: 67.27 kB / 385.2 MB, free: 38.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.2478, allocations: 178.8 kB / 385.4 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/0.2478, allocations: 4 kB / 385.4 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.2478, allocations: 0 / 385.4 MB, free: 38.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2479, allocations: 5.156 kB / 385.4 MB, free: 38.07 MB / 298.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.0004277/0.2483, allocations: 389.8 kB / 385.7 MB, free: 37.67 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.2483, allocations: 9.781 kB / 385.8 MB, free: 37.67 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003785/0.2487, allocations: 31.97 kB / 385.8 MB, free: 37.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.2489, allocations: 200.5 kB / 386 MB, free: 37.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.2489, allocations: 11.56 kB / 386 MB, free: 37.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.249, allocations: 9.844 kB / 386 MB, free: 37.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.2492, allocations: 141.9 kB / 386.1 MB, free: 37.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2492, allocations: 1.094 kB / 386.1 MB, free: 37.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.2492, allocations: 5.375 kB / 386.1 MB, free: 37.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.2493, allocations: 5.984 kB / 386.2 MB, free: 37.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.2494, allocations: 104.3 kB / 386.3 MB, free: 37.25 MB / 298.7 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.0005797/0.25, allocations: 0.6652 MB / 386.9 MB, free: 36.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.2501, allocations: 86.52 kB / 387 MB, free: 36.51 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.786e-05/0.2502, allocations: 35.72 kB / 387 MB, free: 36.49 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004495/0.2507, allocations: 0.8173 MB / 387.9 MB, free: 35.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.2507, allocations: 32.72 kB / 387.9 MB, free: 35.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.2507, allocations: 0 / 387.9 MB, free: 35.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002558/0.251, allocations: 128 kB / 388 MB, free: 35.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.251, allocations: 51.41 kB / 388.1 MB, free: 35.31 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.332e-05/0.2511, allocations: 129.7 kB / 388.2 MB, free: 35.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.2511, allocations: 25.7 kB / 388.2 MB, free: 35.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.2511, allocations: 95.89 kB / 388.3 MB, free: 35.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.2512, allocations: 47.36 kB / 388.4 MB, free: 35 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-06/0.2512, allocations: 4 kB / 388.4 MB, free: 35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.37e-05/0.2512, allocations: 322.8 kB / 388.7 MB, free: 34.67 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.904e-05/0.2513, allocations: 23.98 kB / 388.7 MB, free: 34.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.003e-05/0.2513, allocations: 61.14 kB / 388.8 MB, free: 34.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.2515, allocations: 112.3 kB / 388.9 MB, free: 34.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2515, allocations: 0 / 388.9 MB, free: 34.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001632/0.2516, allocations: 137.4 kB / 389 MB, free: 34.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.2517, allocations: 13.09 kB / 389 MB, free: 34.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2517, allocations: 0 / 389 MB, free: 34.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2517, allocations: 4 kB / 389 MB, free: 34.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.2518, allocations: 31.98 kB / 389 MB, free: 34.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.2518, allocations: 7.938 kB / 389.1 MB, free: 34.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/0.2519, allocations: 15.84 kB / 389.1 MB, free: 34.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.2519, allocations: 4 kB / 389.1 MB, free: 34.23 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.693e-05/0.252, allocations: 129.8 kB / 389.2 MB, free: 34.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.252, allocations: 11.84 kB / 389.2 MB, free: 34.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.2522, allocations: 146.2 kB / 389.4 MB, free: 33.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2523, allocations: 3.984 kB / 389.4 MB, free: 33.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2523, allocations: 7.938 kB / 389.4 MB, free: 33.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2523, allocations: 0 / 389.4 MB, free: 33.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.2526, allocations: 390.5 kB / 389.7 MB, free: 33.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2526, allocations: 4 kB / 389.8 MB, free: 33.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.728e-05/0.2527, allocations: 23.92 kB / 389.8 MB, free: 33.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2527, allocations: 7.938 kB / 389.8 MB, free: 33.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.2527, allocations: 0 / 389.8 MB, free: 33.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2527, allocations: 0 / 389.8 MB, free: 33.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2527, allocations: 0 / 389.8 MB, free: 33.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.2529, allocations: 206.7 kB / 390 MB, free: 33.24 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.2529, allocations: 100.9 kB / 390.1 MB, free: 33.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.2529, allocations: 3.984 kB / 390.1 MB, free: 33.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.081e-05/0.253, allocations: 12 kB / 390.1 MB, free: 33.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.2531, allocations: 4 kB / 390.1 MB, free: 33.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.2531, allocations: 7.984 kB / 390.1 MB, free: 33.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.063e-05/0.2531, allocations: 87.28 kB / 390.2 MB, free: 33.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2531, allocations: 3.938 kB / 390.2 MB, free: 33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002942/0.2534, allocations: 59.98 kB / 390.3 MB, free: 32.95 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002495/0.2537, allocations: 167.4 kB / 390.4 MB, free: 32.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.2538, allocations: 79.91 kB / 390.5 MB, free: 32.69 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2538, allocations: 3.938 kB / 390.5 MB, free: 32.69 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.152e-05/0.2539, allocations: 39.92 kB / 390.5 MB, free: 32.65 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.2543, allocations: 48.2 kB / 390.6 MB, free: 32.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.2546, allocations: 324.4 kB / 390.9 MB, free: 32.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.2548, allocations: 0.6931 MB / 391.6 MB, free: 31.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.2548, allocations: 27.41 kB / 391.6 MB, free: 31.51 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2548, allocations: 0 / 391.6 MB, free: 31.51 MB / 298.7 MB Notification: Performance of Templates: time 0.00319/0.258, allocations: 2.217 MB / 393.8 MB, free: 29.3 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches