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.0007425/0.0007427, allocations: 96.91 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008439/0.0008439, allocations: 201.3 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002058/0.0002058, allocations: 4 kB / 307.7 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08235/0.08257, allocations: 51.52 MB / 359.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.005443/0.08804, allocations: 4.643 MB / 363.9 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008076/0.08888, allocations: 0.6272 MB / 364.5 MB, free: 8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.669e-05/0.08893, allocations: 4 kB / 364.5 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.08913, allocations: 19.89 kB / 364.5 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.09026, allocations: 0.5258 MB / 365.1 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.09048, allocations: 95.33 kB / 365.1 MB, free: 7.359 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.09073, allocations: 219.2 kB / 365.4 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.09078, allocations: 7.938 kB / 365.4 MB, free: 7.137 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.09186, allocations: 0.6975 MB / 366.1 MB, free: 6.438 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.703e-05/0.09196, allocations: 51.77 kB / 366.1 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.09198, allocations: 7.984 kB / 366.1 MB, free: 6.379 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.09334, allocations: 0.975 MB / 367.1 MB, free: 5.402 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.0934, allocations: 23.91 kB / 367.1 MB, free: 5.379 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.544e-05/0.09347, allocations: 65.5 kB / 367.2 MB, free: 5.309 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.09387, allocations: 247.5 kB / 367.4 MB, free: 5.066 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.09388, allocations: 0 / 367.4 MB, free: 5.066 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.09389, allocations: 0 / 367.4 MB, free: 5.066 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.0939, allocations: 0 / 367.4 MB, free: 5.066 MB / 302.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.000422/0.09433, allocations: 403.2 kB / 367.8 MB, free: 4.625 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.09437, allocations: 15.97 kB / 367.8 MB, free: 4.609 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003926/0.09477, allocations: 40.81 kB / 367.9 MB, free: 4.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.09494, allocations: 192.3 kB / 368.1 MB, free: 4.344 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.09497, allocations: 4.375 kB / 368.1 MB, free: 4.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.09499, allocations: 11.94 kB / 368.1 MB, free: 4.328 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.09523, allocations: 139.6 kB / 368.2 MB, free: 4.176 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.09525, allocations: 0 / 368.2 MB, free: 4.176 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.09527, allocations: 0 / 368.2 MB, free: 4.176 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.09528, allocations: 4 kB / 368.2 MB, free: 4.172 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.09547, allocations: 115.8 kB / 368.3 MB, free: 4.059 MB / 302.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.000651/0.09613, allocations: 0.6566 MB / 369 MB, free: 3.328 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.09628, allocations: 90.48 kB / 369.1 MB, free: 3.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.086e-05/0.09635, allocations: 40.84 kB / 369.1 MB, free: 3.188 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005622/0.09691, allocations: 0.8076 MB / 369.9 MB, free: 2.195 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.09695, allocations: 34.56 kB / 370 MB, free: 2.152 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.09696, allocations: 0 / 370 MB, free: 2.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002668/0.09723, allocations: 130 kB / 370.1 MB, free: 2.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.09727, allocations: 63.28 kB / 370.2 MB, free: 1.945 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.914e-05/0.09736, allocations: 117.8 kB / 370.3 MB, free: 1.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.09739, allocations: 29.7 kB / 370.3 MB, free: 1.785 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.09745, allocations: 115.7 kB / 370.4 MB, free: 1.668 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.09749, allocations: 39.39 kB / 370.4 MB, free: 1.629 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.09752, allocations: 17.72 kB / 370.5 MB, free: 1.605 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.859e-05/0.09762, allocations: 322.8 kB / 370.8 MB, free: 1.281 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.705e-05/0.09767, allocations: 23.98 kB / 370.8 MB, free: 1.258 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.158e-05/0.09775, allocations: 69.14 kB / 370.9 MB, free: 1.172 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.09788, allocations: 101.1 kB / 371 MB, free: 1.055 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.09789, allocations: 0 / 371 MB, free: 1.055 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002014/0.09809, allocations: 144.7 kB / 371.1 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.09812, allocations: 11.94 kB / 371.1 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.09813, allocations: 0 / 371.1 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.09814, allocations: 7.938 kB / 371.1 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.09827, allocations: 31.98 kB / 371.2 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.09828, allocations: 4 kB / 371.2 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.018e-05/0.09835, allocations: 7.906 kB / 371.2 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.09837, allocations: 8 kB / 371.2 MB, free: 0.8398 MB / 302.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.43e-05/0.09846, allocations: 129.8 kB / 371.3 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.09851, allocations: 11.91 kB / 371.3 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.09879, allocations: 138.4 kB / 371.5 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.09881, allocations: 4 kB / 371.5 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.09882, allocations: 3.938 kB / 371.5 MB, free: 0.543 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.09882, allocations: 3.984 kB / 371.5 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003996/0.09923, allocations: 386.4 kB / 371.8 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.09924, allocations: 0 / 371.8 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.369e-05/0.09933, allocations: 31.92 kB / 371.9 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.09934, allocations: 0 / 371.9 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.09936, allocations: 4 kB / 371.9 MB, free: 72 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.09936, allocations: 4 kB / 371.9 MB, free: 68 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.09937, allocations: 0 / 371.9 MB, free: 68 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1528/0.2522, allocations: 200.7 kB / 372.1 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.2523, allocations: 99.06 kB / 372.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.2523, allocations: 1.781 kB / 372.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.2524, allocations: 5.438 kB / 372.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.2525, allocations: 9.672 kB / 372.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.2525, allocations: 11.72 kB / 372.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.233e-05/0.2526, allocations: 93.66 kB / 372.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2526, allocations: 0 / 372.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003779/0.2529, allocations: 63.67 kB / 372.4 MB, free: 19.72 MB / 302.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.000291/0.2532, allocations: 167.7 kB / 372.5 MB, free: 19.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.2534, allocations: 81.2 kB / 372.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2535, allocations: 0 / 372.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.474e-05/0.2535, allocations: 43.44 kB / 372.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.254, allocations: 46.17 kB / 372.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/0.2544, allocations: 292.9 kB / 373 MB, free: 19.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.2545, allocations: 0.6934 MB / 373.7 MB, free: 18.76 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.2547, allocations: 33.44 kB / 373.7 MB, free: 18.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.2547, allocations: 27.88 kB / 373.7 MB, free: 18.74 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2547, allocations: 0 / 373.7 MB, free: 18.74 MB / 302.1 MB Notification: Performance of Templates: time 0.005771/0.2605, allocations: 2.474 MB / 376.2 MB, free: 18.57 MB / 302.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/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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches