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.001767/0.001767, allocations: 112.4 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.002233/0.002234, allocations: 213.9 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.948/1.948, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3066, allocations: 50.54 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007968/0.3146, allocations: 4.911 MB / 414.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009919/0.3157, allocations: 0.6269 MB / 415.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.008e-05/0.3158, allocations: 0 / 415.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.3161, allocations: 23.84 kB / 415.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.3179, allocations: 0.5877 MB / 416.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.3182, allocations: 99.34 kB / 416.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.3186, allocations: 179.3 kB / 416.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.3186, allocations: 4 kB / 416.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.3198, allocations: 0.6196 MB / 417 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.32, allocations: 39.84 kB / 417 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.32, allocations: 4 kB / 417 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.3216, allocations: 0.889 MB / 417.9 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.971e-05/0.3217, allocations: 27.91 kB / 417.9 MB, free: 9.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.469e-05/0.3218, allocations: 43.8 kB / 418 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005877/0.3224, allocations: 236.8 kB / 418.2 MB, free: 9.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3224, allocations: 8 kB / 418.2 MB, free: 9.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3224, allocations: 0 / 418.2 MB, free: 9.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.3224, allocations: 0 / 418.2 MB, free: 9.262 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.000617/0.3231, allocations: 423.2 kB / 418.6 MB, free: 8.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.3231, allocations: 12.03 kB / 418.6 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004784/0.3236, allocations: 36.81 kB / 418.7 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.324, allocations: 192.2 kB / 418.8 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.324, allocations: 4.375 kB / 418.8 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.324, allocations: 15.94 kB / 418.9 MB, free: 8.508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.3243, allocations: 139.4 kB / 419 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3243, allocations: 3.938 kB / 419 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.3244, allocations: 4 kB / 419 MB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3244, allocations: 0 / 419 MB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.3246, allocations: 111.8 kB / 419.1 MB, free: 8.238 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.0008477/0.3255, allocations: 0.6607 MB / 419.8 MB, free: 7.504 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.3256, allocations: 86.55 kB / 419.9 MB, free: 7.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.234e-05/0.3257, allocations: 36.84 kB / 419.9 MB, free: 7.371 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006781/0.3264, allocations: 0.8115 MB / 420.7 MB, free: 6.375 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.3264, allocations: 34.56 kB / 420.7 MB, free: 6.332 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.883e-06/0.3264, allocations: 0 / 420.7 MB, free: 6.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003217/0.3268, allocations: 133.8 kB / 420.9 MB, free: 6.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.3268, allocations: 55.34 kB / 420.9 MB, free: 6.129 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/0.3269, allocations: 113.8 kB / 421 MB, free: 6.008 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.327, allocations: 33.64 kB / 421.1 MB, free: 5.969 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.327, allocations: 99.88 kB / 421.2 MB, free: 5.867 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.3271, allocations: 51.34 kB / 421.2 MB, free: 5.816 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.3271, allocations: 33.72 kB / 421.3 MB, free: 5.777 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3273, allocations: 318.8 kB / 421.6 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.303e-05/0.3273, allocations: 27.98 kB / 421.6 MB, free: 5.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.625e-05/0.3274, allocations: 67.86 kB / 421.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.3276, allocations: 113 kB / 421.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3276, allocations: 0 / 421.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002343/0.3278, allocations: 141.3 kB / 421.9 MB, free: 5.078 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3279, allocations: 4 kB / 421.9 MB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3279, allocations: 4 kB / 421.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3279, allocations: 3.938 kB / 421.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.328, allocations: 31.98 kB / 421.9 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3281, allocations: 3.938 kB / 422 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.987e-05/0.3281, allocations: 15.84 kB / 422 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.3282, allocations: 8.375 kB / 422 MB, free: 5.008 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.0001196/0.3283, allocations: 125.8 kB / 422.1 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.3283, allocations: 11.94 kB / 422.1 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.3287, allocations: 157.8 kB / 422.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3287, allocations: 0 / 422.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3287, allocations: 0 / 422.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3287, allocations: 3.938 kB / 422.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004835/0.3292, allocations: 382.5 kB / 422.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3292, allocations: 0 / 422.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.487e-05/0.3293, allocations: 27.94 kB / 422.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.3293, allocations: 4 kB / 422.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3293, allocations: 3.984 kB / 422.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3293, allocations: 0 / 422.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3293, allocations: 0 / 422.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.3296, allocations: 203.4 kB / 422.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.183e-05/0.3296, allocations: 96.94 kB / 423 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.3297, allocations: 0 / 423 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3298, allocations: 12 kB / 423 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.3298, allocations: 15.86 kB / 423 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.3298, allocations: 7.984 kB / 423 MB, free: 3.863 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.932e-05/0.3299, allocations: 87.28 kB / 423.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3299, allocations: 0 / 423.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000367/0.3303, allocations: 67.98 kB / 423.2 MB, free: 3.711 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.0003249/0.3306, allocations: 163.1 kB / 423.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.3308, allocations: 79.91 kB / 423.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3308, allocations: 0 / 423.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.313e-05/0.3309, allocations: 47.55 kB / 423.4 MB, free: 3.422 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.3314, allocations: 56.41 kB / 423.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005195/0.3319, allocations: 261.1 kB / 423.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.3322, allocations: 0.6928 MB / 424.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/0.3323, allocations: 23.44 kB / 424.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3323, allocations: 0 / 424.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of Templates: time 0.005297/0.3376, allocations: 2.207 MB / 426.7 MB, free: 140 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