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.001042/0.001042, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001151, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 63.89 kB / 306.3 MB, free: 1.055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07771/0.07887, allocations: 50.53 MB / 356.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006358/0.08526, allocations: 5.036 MB / 361.8 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.08683, allocations: 0.6388 MB / 362.5 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.08697, allocations: 3.938 kB / 362.5 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.08725, allocations: 27.83 kB / 362.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.08907, allocations: 0.5297 MB / 363 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.08942, allocations: 83.38 kB / 363.1 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003455/0.08978, allocations: 223.2 kB / 363.3 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.08983, allocations: 4 kB / 363.3 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.09148, allocations: 0.7093 MB / 364 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.09161, allocations: 47.72 kB / 364.1 MB, free: 7.199 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.09165, allocations: 4 kB / 364.1 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/0.09391, allocations: 0.9866 MB / 365.1 MB, free: 6.207 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.335e-05/0.09399, allocations: 19.92 kB / 365.1 MB, free: 6.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.055e-05/0.09409, allocations: 43.73 kB / 365.1 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005793/0.09468, allocations: 251.5 kB / 365.4 MB, free: 5.898 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.0947, allocations: 0 / 365.4 MB, free: 5.898 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.09472, allocations: 0 / 365.4 MB, free: 5.898 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.09473, allocations: 0 / 365.4 MB, free: 5.898 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.0006071/0.09535, allocations: 429.8 kB / 365.8 MB, free: 5.434 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.0954, allocations: 8.031 kB / 365.8 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006717/0.09608, allocations: 36.81 kB / 365.8 MB, free: 5.391 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.09633, allocations: 192.2 kB / 366 MB, free: 5.164 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.09636, allocations: 4.375 kB / 366 MB, free: 5.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.0964, allocations: 11.94 kB / 366 MB, free: 5.148 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.09674, allocations: 133.1 kB / 366.2 MB, free: 5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.09677, allocations: 4 kB / 366.2 MB, free: 4.996 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.09681, allocations: 4 kB / 366.2 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.09683, allocations: 0 / 366.2 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.0971, allocations: 111.9 kB / 366.3 MB, free: 4.883 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.0009565/0.09807, allocations: 0.6722 MB / 367 MB, free: 4.137 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.0983, allocations: 86.48 kB / 367 MB, free: 4.043 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.09842, allocations: 40.84 kB / 367.1 MB, free: 4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008346/0.09926, allocations: 0.8076 MB / 367.9 MB, free: 3.008 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.09932, allocations: 34.5 kB / 367.9 MB, free: 2.965 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/0.09933, allocations: 0 / 367.9 MB, free: 2.965 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004249/0.09976, allocations: 130 kB / 368.1 MB, free: 2.832 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.09982, allocations: 59.34 kB / 368.1 MB, free: 2.762 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.09995, allocations: 121.8 kB / 368.2 MB, free: 2.633 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.09998, allocations: 25.7 kB / 368.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.919e-05/0.1001, allocations: 103.8 kB / 368.4 MB, free: 2.496 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.1001, allocations: 39.39 kB / 368.4 MB, free: 2.457 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.663e-05/0.1002, allocations: 45.61 kB / 368.4 MB, free: 2.406 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1004, allocations: 318.8 kB / 368.8 MB, free: 2.086 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.263e-05/0.1005, allocations: 27.98 kB / 368.8 MB, free: 2.059 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.1006, allocations: 69.08 kB / 368.8 MB, free: 1.973 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.1008, allocations: 108.3 kB / 369 MB, free: 1.852 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1008, allocations: 0 / 369 MB, free: 1.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003334/0.1012, allocations: 141.4 kB / 369.1 MB, free: 1.707 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1012, allocations: 4 kB / 369.1 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.1012, allocations: 0 / 369.1 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1012, allocations: 7.938 kB / 369.1 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.1015, allocations: 31.92 kB / 369.1 MB, free: 1.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.629e-06/0.1015, allocations: 8.156 kB / 369.1 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.1016, allocations: 11.91 kB / 369.2 MB, free: 1.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.1016, allocations: 8 kB / 369.2 MB, free: 1.637 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 0.0001167/0.1018, allocations: 129.7 kB / 369.3 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.607e-05/0.1018, allocations: 11.89 kB / 369.3 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004365/0.1023, allocations: 138.4 kB / 369.4 MB, free: 1.348 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1023, allocations: 8 kB / 369.4 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1023, allocations: 0 / 369.4 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1023, allocations: 3.984 kB / 369.4 MB, free: 1.336 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006415/0.103, allocations: 386.3 kB / 369.8 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.103, allocations: 7.938 kB / 369.8 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.1031, allocations: 23.98 kB / 369.9 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1032, allocations: 0 / 369.9 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.1032, allocations: 8 kB / 369.9 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1032, allocations: 3.984 kB / 369.9 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1032, allocations: 4 kB / 369.9 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.1035, allocations: 214.7 kB / 370.1 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.562e-05/0.1036, allocations: 96.94 kB / 370.2 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.1037, allocations: 0 / 370.2 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.1038, allocations: 8 kB / 370.2 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.1039, allocations: 7.984 kB / 370.2 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.1039, allocations: 4 kB / 370.2 MB, free: 0.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.451e-05/0.104, allocations: 99.2 kB / 370.3 MB, free: 412 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.104, allocations: 0 / 370.3 MB, free: 412 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.000578/0.1046, allocations: 59.98 kB / 370.4 MB, free: 352 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.0004164/0.105, allocations: 167.1 kB / 370.5 MB, free: 172 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.1053, allocations: 87.83 kB / 370.6 MB, free: 84 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1053, allocations: 320 / 370.6 MB, free: 84 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.801e-05/0.1054, allocations: 39.98 kB / 370.6 MB, free: 44 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007469/0.1062, allocations: 48.91 kB / 370.7 MB, free: 0 / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1501/0.2563, allocations: 256.1 kB / 370.9 MB, free: 20.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.2565, allocations: 0.6953 MB / 371.6 MB, free: 20.24 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.2566, allocations: 33.3 kB / 371.7 MB, free: 20.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.279e-05/0.2567, allocations: 18.62 kB / 371.7 MB, free: 20.22 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2567, allocations: 0.8125 kB / 371.7 MB, free: 20.22 MB / 302.1 MB Notification: Performance of Templates: time 0.005756/0.2625, allocations: 2.481 MB / 374.2 MB, free: 20.1 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