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.0009815/0.0009816, allocations: 103.8 kB / 17.63 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001034/0.001034, allocations: 206.4 kB / 18.58 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 59.72 kB / 306.9 MB, free: 0.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08141/0.08256, allocations: 50.53 MB / 357.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006291/0.08889, allocations: 4.919 MB / 362.4 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008054/0.08972, allocations: 0.6231 MB / 363 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.074e-05/0.08977, allocations: 0 / 363 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.09, allocations: 35.77 kB / 363 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.09125, allocations: 0.5917 MB / 363.6 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.09146, allocations: 79.62 kB / 363.7 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.09169, allocations: 191.2 kB / 363.9 MB, free: 7.633 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.273e-05/0.09173, allocations: 4 kB / 363.9 MB, free: 7.629 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009661/0.09271, allocations: 0.6236 MB / 364.5 MB, free: 7.004 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.54e-05/0.09279, allocations: 43.83 kB / 364.6 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.09282, allocations: 8 kB / 364.6 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.09408, allocations: 0.8738 MB / 365.4 MB, free: 6.078 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.09414, allocations: 27.89 kB / 365.5 MB, free: 6.051 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.961e-05/0.0942, allocations: 47.75 kB / 365.5 MB, free: 6.004 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003895/0.0946, allocations: 243.5 kB / 365.7 MB, free: 5.766 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.09461, allocations: 0 / 365.7 MB, free: 5.766 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.09462, allocations: 0 / 365.7 MB, free: 5.766 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.09463, allocations: 0 / 365.7 MB, free: 5.766 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.0004588/0.09509, allocations: 431.2 kB / 366.2 MB, free: 5.297 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.09513, allocations: 8.031 kB / 366.2 MB, free: 5.289 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003806/0.09552, allocations: 40.81 kB / 366.2 MB, free: 5.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.0957, allocations: 188.2 kB / 366.4 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.09572, allocations: 8.375 kB / 366.4 MB, free: 5.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.09574, allocations: 11.94 kB / 366.4 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.09598, allocations: 131.5 kB / 366.6 MB, free: 4.863 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.09599, allocations: 0 / 366.6 MB, free: 4.863 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.09602, allocations: 12 kB / 366.6 MB, free: 4.852 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.09603, allocations: 0 / 366.6 MB, free: 4.852 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.09621, allocations: 115.8 kB / 366.7 MB, free: 4.738 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.0006684/0.09689, allocations: 0.6644 MB / 367.3 MB, free: 4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.09705, allocations: 86.55 kB / 367.4 MB, free: 3.906 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.986e-05/0.09712, allocations: 36.84 kB / 367.5 MB, free: 3.867 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005908/0.09771, allocations: 0.8115 MB / 368.3 MB, free: 2.871 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.09775, allocations: 34.5 kB / 368.3 MB, free: 2.828 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.09775, allocations: 0 / 368.3 MB, free: 2.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002785/0.09804, allocations: 130 kB / 368.4 MB, free: 2.695 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.09808, allocations: 63.34 kB / 368.5 MB, free: 2.621 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.731e-05/0.09817, allocations: 113.8 kB / 368.6 MB, free: 2.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.0982, allocations: 29.7 kB / 368.6 MB, free: 2.465 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.09826, allocations: 111.8 kB / 368.7 MB, free: 2.352 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.09831, allocations: 43.39 kB / 368.8 MB, free: 2.309 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.09836, allocations: 37.62 kB / 368.8 MB, free: 2.266 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.09847, allocations: 314.8 kB / 369.1 MB, free: 1.949 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.234e-05/0.09853, allocations: 27.98 kB / 369.2 MB, free: 1.922 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.15e-05/0.09861, allocations: 79.88 kB / 369.2 MB, free: 1.828 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.09875, allocations: 100.7 kB / 369.3 MB, free: 1.715 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.09876, allocations: 4 kB / 369.3 MB, free: 1.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002121/0.09898, allocations: 137.4 kB / 369.5 MB, free: 1.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.099, allocations: 4 kB / 369.5 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.09901, allocations: 4 kB / 369.5 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.09903, allocations: 3.938 kB / 369.5 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.09915, allocations: 31.92 kB / 369.5 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.09916, allocations: 4 kB / 369.5 MB, free: 1.523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.666e-05/0.09923, allocations: 16.06 kB / 369.5 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.09925, allocations: 11.98 kB / 369.5 MB, free: 1.496 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 9.154e-05/0.09935, allocations: 125.7 kB / 369.7 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.09939, allocations: 11.91 kB / 369.7 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.09968, allocations: 146.4 kB / 369.8 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.09969, allocations: 0 / 369.8 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.0997, allocations: 4 kB / 369.8 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.09971, allocations: 0 / 369.8 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.1002, allocations: 402.3 kB / 370.2 MB, free: 0.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1002, allocations: 0 / 370.2 MB, free: 0.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.557e-05/0.1003, allocations: 19.98 kB / 370.2 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1003, allocations: 0 / 370.2 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1003, allocations: 8 kB / 370.2 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1003, allocations: 3.938 kB / 370.3 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1003, allocations: 0 / 370.3 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.1005, allocations: 210.9 kB / 370.5 MB, free: 0.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.11e-05/0.1006, allocations: 93 kB / 370.5 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.1006, allocations: 11.92 kB / 370.6 MB, free: 388 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.472e-05/0.1007, allocations: 4 kB / 370.6 MB, free: 384 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/0.1007, allocations: 8 kB / 370.6 MB, free: 376 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.1008, allocations: 7.984 kB / 370.6 MB, free: 368 kB / 302.1 MB Notification: Performance of sorting global known variables: time 4.334e-05/0.1008, allocations: 87.28 kB / 370.7 MB, free: 280 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1008, allocations: 4 kB / 370.7 MB, free: 276 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003284/0.1011, allocations: 63.98 kB / 370.7 MB, free: 212 kB / 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.0002726/0.1014, allocations: 167.1 kB / 370.9 MB, free: 32 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1259/0.2273, allocations: 85.84 kB / 371 MB, free: 21.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2274, allocations: 0 / 371 MB, free: 21.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.417e-05/0.2275, allocations: 42.05 kB / 371 MB, free: 21.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/0.228, allocations: 41.06 kB / 371.1 MB, free: 21.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/0.2284, allocations: 232.7 kB / 371.3 MB, free: 20.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.2286, allocations: 0.6944 MB / 372 MB, free: 20.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001475/0.2287, allocations: 34.33 kB / 372 MB, free: 20.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.2288, allocations: 16.98 kB / 372 MB, free: 20.18 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2288, allocations: 0.6562 kB / 372 MB, free: 20.18 MB / 302.1 MB Notification: Performance of Templates: time 0.005953/0.2347, allocations: 2.556 MB / 374.6 MB, free: 20.04 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