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.001184/0.001184, allocations: 94.53 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001572/0.001572, allocations: 199.9 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002119/0.0002119, allocations: 4 kB / 306.6 MB, free: 1.648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08866/0.08889, allocations: 51.49 MB / 358 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.004126/0.09305, allocations: 3.566 MB / 361.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006992/0.09377, allocations: 0.5223 MB / 362.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.718e-05/0.09382, allocations: 0 / 362.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.09401, allocations: 31.81 kB / 362.2 MB, free: 10 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001052/0.09507, allocations: 0.5027 MB / 362.7 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.09528, allocations: 83.44 kB / 362.8 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.09545, allocations: 111.8 kB / 362.9 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.0955, allocations: 11.97 kB / 362.9 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.09659, allocations: 0.6398 MB / 363.5 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.702e-05/0.09667, allocations: 39.86 kB / 363.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.09669, allocations: 4 kB / 363.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.09813, allocations: 0.8934 MB / 364.4 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.417e-05/0.09819, allocations: 19.97 kB / 364.5 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.09823, allocations: 41.64 kB / 364.5 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.09853, allocations: 179.9 kB / 364.7 MB, free: 7.477 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.09854, allocations: 0 / 364.7 MB, free: 7.477 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.09855, allocations: 0 / 364.7 MB, free: 7.477 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.09855, allocations: 0 / 364.7 MB, free: 7.477 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.0004134/0.09897, allocations: 411 kB / 365.1 MB, free: 7.027 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.09901, allocations: 8.031 kB / 365.1 MB, free: 7.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003856/0.0994, allocations: 35.88 kB / 365.1 MB, free: 6.984 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.09958, allocations: 190.9 kB / 365.3 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.0996, allocations: 7.953 kB / 365.3 MB, free: 6.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.09962, allocations: 12 kB / 365.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.09985, allocations: 136.2 kB / 365.5 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.09987, allocations: 4 kB / 365.5 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.09989, allocations: 0 / 365.5 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.09991, allocations: 7.938 kB / 365.5 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.1001, allocations: 107.9 kB / 365.6 MB, free: 6.473 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.000665/0.1008, allocations: 0.6801 MB / 366.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.1009, allocations: 86.55 kB / 366.3 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006048/0.1015, allocations: 0.8037 MB / 367.2 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.1015, allocations: 42.45 kB / 367.2 MB, free: 4.586 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.1016, allocations: 4 kB / 367.2 MB, free: 4.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002597/0.1018, allocations: 117.6 kB / 367.3 MB, free: 4.461 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.1019, allocations: 55.39 kB / 367.4 MB, free: 4.395 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.557e-05/0.102, allocations: 118 kB / 367.5 MB, free: 4.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.102, allocations: 25.7 kB / 367.5 MB, free: 4.238 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.102, allocations: 99.94 kB / 367.6 MB, free: 4.137 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.1021, allocations: 47.3 kB / 367.7 MB, free: 4.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-06/0.1021, allocations: 4 kB / 367.7 MB, free: 4.086 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1022, allocations: 318.8 kB / 368 MB, free: 3.766 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.667e-05/0.1022, allocations: 23.98 kB / 368 MB, free: 3.742 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.975e-05/0.1023, allocations: 77.06 kB / 368.1 MB, free: 3.648 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.692e-05/0.1024, allocations: 28.25 kB / 368.1 MB, free: 3.621 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1024, allocations: 0 / 368.1 MB, free: 3.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002023/0.1026, allocations: 141.5 kB / 368.2 MB, free: 3.477 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1026, allocations: 10.34 kB / 368.2 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1026, allocations: 3.953 kB / 368.2 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1026, allocations: 4 kB / 368.2 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.1028, allocations: 32.3 kB / 368.3 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.1028, allocations: 4 kB / 368.3 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.29e-05/0.1029, allocations: 19.78 kB / 368.3 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.1029, allocations: 4 kB / 368.3 MB, free: 3.402 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.454e-05/0.103, allocations: 133.9 kB / 368.4 MB, free: 3.262 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.103, allocations: 11.84 kB / 368.4 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.1033, allocations: 145.8 kB / 368.6 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.1033, allocations: 7.953 kB / 368.6 MB, free: 3.098 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1033, allocations: 0 / 368.6 MB, free: 3.098 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1033, allocations: 0 / 368.6 MB, free: 3.098 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004135/0.1038, allocations: 394.4 kB / 369 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1038, allocations: 0 / 369 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.697e-05/0.1039, allocations: 23.98 kB / 369 MB, free: 2.633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1039, allocations: 3.953 kB / 369 MB, free: 2.629 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1039, allocations: 4 kB / 369 MB, free: 2.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1039, allocations: 4 kB / 369 MB, free: 2.621 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1039, allocations: 0 / 369 MB, free: 2.621 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.1041, allocations: 203.4 kB / 369.2 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.277e-05/0.1042, allocations: 101 kB / 369.3 MB, free: 2.289 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.1042, allocations: 7.953 kB / 369.3 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.663e-05/0.1043, allocations: 4 kB / 369.3 MB, free: 2.277 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.985e-05/0.1043, allocations: 7.984 kB / 369.3 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.1043, allocations: 8 kB / 369.3 MB, free: 2.262 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.232e-05/0.1044, allocations: 91.27 kB / 369.4 MB, free: 2.172 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1044, allocations: 0 / 369.4 MB, free: 2.172 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003264/0.1047, allocations: 59.92 kB / 369.5 MB, free: 2.113 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002798/0.105, allocations: 171.4 kB / 369.7 MB, free: 1.934 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.1052, allocations: 83.83 kB / 369.7 MB, free: 1.852 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1052, allocations: 3.938 kB / 369.7 MB, free: 1.848 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.092e-05/0.1053, allocations: 35.98 kB / 369.8 MB, free: 1.812 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.1056, allocations: 44.2 kB / 369.8 MB, free: 1.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/0.106, allocations: 302.4 kB / 370.1 MB, free: 1.449 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.1063, allocations: 0.7006 MB / 370.8 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.1064, allocations: 32.8 kB / 370.9 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.1064, allocations: 23.36 kB / 370.9 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1065, allocations: 0 / 370.9 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of Templates: time 0.1385/0.2449, allocations: 2.339 MB / 373.2 MB, free: 19.68 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","../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches