Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001562/0.001562, allocations: 109.1 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001994/0.001995, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001224, allocations: 63.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2426, allocations: 50.54 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007406/0.25, allocations: 4.914 MB / 414.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009056/0.2509, allocations: 0.6192 MB / 415.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.928e-05/0.251, allocations: 4 kB / 415.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.2513, allocations: 31.77 kB / 415.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.253, allocations: 0.5839 MB / 416.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.2532, allocations: 99.47 kB / 416.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.2535, allocations: 183.2 kB / 416.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.2535, allocations: 4 kB / 416.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.2547, allocations: 0.6158 MB / 417 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.654e-05/0.2548, allocations: 43.84 kB / 417 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.2548, allocations: 8 kB / 417 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.2563, allocations: 0.8851 MB / 417.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.604e-05/0.2564, allocations: 19.92 kB / 417.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.834e-05/0.2564, allocations: 55.72 kB / 418 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004936/0.2569, allocations: 232.8 kB / 418.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.257, allocations: 0 / 418.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.257, allocations: 3.938 kB / 418.2 MB, free: 9.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.257, allocations: 0 / 418.2 MB, free: 9.297 MB / 334.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.0005166/0.2575, allocations: 423.3 kB / 418.6 MB, free: 8.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2575, allocations: 8.031 kB / 418.6 MB, free: 8.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004353/0.258, allocations: 36.81 kB / 418.6 MB, free: 8.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.2582, allocations: 200.1 kB / 418.8 MB, free: 8.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.2583, allocations: 4.375 kB / 418.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.2583, allocations: 11.94 kB / 418.9 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.2585, allocations: 135.5 kB / 419 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2586, allocations: 4 kB / 419 MB, free: 8.391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.2586, allocations: 4 kB / 419 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2586, allocations: 0 / 419 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.2588, allocations: 115.8 kB / 419.1 MB, free: 8.273 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.000727/0.2595, allocations: 0.6646 MB / 419.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.2597, allocations: 82.55 kB / 419.9 MB, free: 7.445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.248e-05/0.2597, allocations: 40.84 kB / 419.9 MB, free: 7.402 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006259/0.2604, allocations: 0.8153 MB / 420.7 MB, free: 6.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.2604, allocations: 30.56 kB / 420.7 MB, free: 6.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.2604, allocations: 3.938 kB / 420.7 MB, free: 6.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002894/0.2607, allocations: 133.8 kB / 420.9 MB, free: 6.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.2608, allocations: 55.34 kB / 420.9 MB, free: 6.156 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/0.2609, allocations: 113.8 kB / 421 MB, free: 6.035 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.2609, allocations: 33.7 kB / 421.1 MB, free: 5.996 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/0.261, allocations: 99.88 kB / 421.2 MB, free: 5.895 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.261, allocations: 39.38 kB / 421.2 MB, free: 5.855 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.2611, allocations: 37.7 kB / 421.2 MB, free: 5.812 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2612, allocations: 318.8 kB / 421.6 MB, free: 5.492 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.529e-05/0.2613, allocations: 23.98 kB / 421.6 MB, free: 5.469 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.995e-05/0.2614, allocations: 76.98 kB / 421.7 MB, free: 5.375 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.2615, allocations: 101.1 kB / 421.8 MB, free: 5.258 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2616, allocations: 0 / 421.8 MB, free: 5.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002336/0.2618, allocations: 145.2 kB / 421.9 MB, free: 5.113 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2618, allocations: 8 kB / 421.9 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2618, allocations: 0 / 421.9 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2619, allocations: 7.938 kB / 421.9 MB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.262, allocations: 31.92 kB / 421.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.262, allocations: 0 / 421.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.437e-05/0.2621, allocations: 15.84 kB / 422 MB, free: 5.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.2621, allocations: 8 kB / 422 MB, free: 5.043 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 0.0001026/0.2622, allocations: 129.9 kB / 422.1 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.2623, allocations: 7.906 kB / 422.1 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.2626, allocations: 150.2 kB / 422.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-06/0.2626, allocations: 0 / 422.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2626, allocations: 0 / 422.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2626, allocations: 4 kB / 422.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.2631, allocations: 394.4 kB / 422.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2631, allocations: 0 / 422.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.353e-05/0.2632, allocations: 28 kB / 422.7 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.2632, allocations: 0 / 422.7 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.2632, allocations: 7.922 kB / 422.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2632, allocations: 0 / 422.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2632, allocations: 0 / 422.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.2634, allocations: 207.3 kB / 422.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-05/0.2635, allocations: 96.94 kB / 423 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.2635, allocations: 11.94 kB / 423 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.722e-05/0.2636, allocations: 0 / 423 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.2637, allocations: 11.98 kB / 423 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.2637, allocations: 7.984 kB / 423 MB, free: 3.895 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.094e-05/0.2637, allocations: 87.28 kB / 423.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2638, allocations: 0 / 423.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003524/0.2641, allocations: 67.98 kB / 423.2 MB, free: 3.742 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.000302/0.2644, allocations: 159.1 kB / 423.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.2646, allocations: 91.47 kB / 423.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2646, allocations: 0 / 423.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.447e-05/0.2647, allocations: 36.3 kB / 423.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.2651, allocations: 43.88 kB / 423.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/0.2656, allocations: 269.4 kB / 423.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.266, allocations: 0.6928 MB / 424.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.208e-05/0.266, allocations: 23.44 kB / 424.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.266, allocations: 3.938 kB / 424.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of Templates: time 0.004116/0.2702, allocations: 2.213 MB / 426.7 MB, free: 176 kB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches