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.001732/0.001732, allocations: 115.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001987/0.001987, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.86 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08257/0.08378, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.00691/0.09072, allocations: 4.909 MB / 363.8 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008465/0.0916, allocations: 0.623 MB / 364.4 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.516e-05/0.09166, allocations: 0 / 364.4 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.09192, allocations: 31.77 kB / 364.5 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.0933, allocations: 0.5839 MB / 365.1 MB, free: 7.164 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.09353, allocations: 90.98 kB / 365.1 MB, free: 7.078 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.09376, allocations: 183.3 kB / 365.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.09381, allocations: 8 kB / 365.3 MB, free: 6.891 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009443/0.09476, allocations: 0.6119 MB / 365.9 MB, free: 6.277 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.659e-05/0.09485, allocations: 47.83 kB / 366 MB, free: 6.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.09487, allocations: 8 kB / 366 MB, free: 6.223 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.09615, allocations: 0.8852 MB / 366.9 MB, free: 5.336 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.0962, allocations: 15.92 kB / 366.9 MB, free: 5.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.084e-05/0.09627, allocations: 51.72 kB / 366.9 MB, free: 5.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.09667, allocations: 247.5 kB / 367.2 MB, free: 5.027 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.09668, allocations: 0 / 367.2 MB, free: 5.027 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.09669, allocations: 0 / 367.2 MB, free: 5.027 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.09671, allocations: 4 kB / 367.2 MB, free: 5.023 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.0004535/0.09716, allocations: 419.2 kB / 367.6 MB, free: 4.566 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.0972, allocations: 8.031 kB / 367.6 MB, free: 4.559 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003867/0.09759, allocations: 32.81 kB / 367.6 MB, free: 4.527 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.09784, allocations: 196.2 kB / 367.8 MB, free: 4.297 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.09786, allocations: 8.375 kB / 367.8 MB, free: 4.289 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.09788, allocations: 7.938 kB / 367.8 MB, free: 4.281 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.09813, allocations: 139.4 kB / 368 MB, free: 4.129 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.09815, allocations: 0 / 368 MB, free: 4.129 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.09817, allocations: 15.92 kB / 368 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.09818, allocations: 3.938 kB / 368 MB, free: 4.109 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.09835, allocations: 99.92 kB / 368.1 MB, free: 4.012 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.0006543/0.09901, allocations: 0.6839 MB / 368.8 MB, free: 3.254 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.09915, allocations: 78.55 kB / 368.9 MB, free: 3.168 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.841e-05/0.09921, allocations: 40.84 kB / 368.9 MB, free: 3.125 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005574/0.09978, allocations: 0.8076 MB / 369.7 MB, free: 2.133 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.09982, allocations: 38.5 kB / 369.7 MB, free: 2.086 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.09983, allocations: 0 / 369.7 MB, free: 2.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002727/0.1001, allocations: 126 kB / 369.9 MB, free: 1.957 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.1002, allocations: 55.34 kB / 369.9 MB, free: 1.891 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.085e-05/0.1003, allocations: 121.8 kB / 370 MB, free: 1.762 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1003, allocations: 29.7 kB / 370.1 MB, free: 1.727 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.1003, allocations: 95.8 kB / 370.2 MB, free: 1.629 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.1004, allocations: 47.39 kB / 370.2 MB, free: 1.582 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.1004, allocations: 37.61 kB / 370.2 MB, free: 1.539 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1005, allocations: 322.8 kB / 370.6 MB, free: 1.215 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.411e-05/0.1006, allocations: 23.98 kB / 370.6 MB, free: 1.191 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.947e-05/0.1007, allocations: 73.06 kB / 370.7 MB, free: 1.102 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.1008, allocations: 109.1 kB / 370.8 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1008, allocations: 0 / 370.8 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002039/0.1011, allocations: 136.7 kB / 370.9 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1011, allocations: 11.98 kB / 370.9 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1011, allocations: 160 / 370.9 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1011, allocations: 11.94 kB / 370.9 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1012, allocations: 35.92 kB / 371 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1012, allocations: 4 kB / 371 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.468e-05/0.1013, allocations: 4.281 kB / 371 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.1013, allocations: 12 kB / 371 MB, free: 0.7617 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.695e-05/0.1014, allocations: 125.7 kB / 371.1 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.1015, allocations: 7.906 kB / 371.1 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.1017, allocations: 146 kB / 371.2 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1018, allocations: 0 / 371.2 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1018, allocations: 7.938 kB / 371.3 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1018, allocations: 3.938 kB / 371.3 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.1022, allocations: 394.3 kB / 371.6 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1022, allocations: 0 / 371.6 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1397/0.2419, allocations: 20.81 kB / 371.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.2419, allocations: 1.469 kB / 371.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.2419, allocations: 5.984 kB / 371.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.242, allocations: 1.406 kB / 371.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.242, allocations: 2.625 kB / 371.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.2422, allocations: 200.5 kB / 371.9 MB, free: 20.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-05/0.2423, allocations: 93.53 kB / 372 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.2423, allocations: 5.453 kB / 372 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.2425, allocations: 2.031 kB / 372 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.2425, allocations: 17.36 kB / 372 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.2425, allocations: 5.438 kB / 372 MB, free: 20.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.587e-05/0.2426, allocations: 89.72 kB / 372.1 MB, free: 20.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2426, allocations: 0 / 372.1 MB, free: 20.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003898/0.243, allocations: 64.67 kB / 372.1 MB, free: 20.57 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.0002724/0.2432, allocations: 161.4 kB / 372.3 MB, free: 20.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.2435, allocations: 87.27 kB / 372.4 MB, free: 20.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2435, allocations: 0.8438 kB / 372.4 MB, free: 20.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.119e-05/0.2435, allocations: 39.83 kB / 372.4 MB, free: 20.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.2439, allocations: 46.36 kB / 372.5 MB, free: 20.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/0.2444, allocations: 234.8 kB / 372.7 MB, free: 20.35 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.2445, allocations: 0.6944 MB / 373.4 MB, free: 19.65 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.2446, allocations: 30.47 kB / 373.4 MB, free: 19.65 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.2447, allocations: 19.19 kB / 373.4 MB, free: 19.64 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2447, allocations: 0 / 373.4 MB, free: 19.64 MB / 302.1 MB Notification: Performance of Templates: time 0.005853/0.2505, allocations: 2.459 MB / 375.9 MB, free: 19.5 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 -s cvode -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