Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001005, allocations: 106.6 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009876/0.0009876, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009743/0.0009743, allocations: 51.56 kB / 300.6 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08164/0.08263, allocations: 49.44 MB / 350 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006432/0.08909, allocations: 4.854 MB / 354.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008369/0.08996, allocations: 0.6192 MB / 355.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.226e-05/0.09002, allocations: 0 / 355.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.09026, allocations: 31.77 kB / 355.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.09156, allocations: 0.58 MB / 356.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.09178, allocations: 100.8 kB / 356.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.09198, allocations: 179.2 kB / 356.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.17e-05/0.09202, allocations: 4 kB / 356.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008982/0.09293, allocations: 0.6158 MB / 357 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.642e-05/0.09302, allocations: 51.83 kB / 357.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.09304, allocations: 4 kB / 357.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.09428, allocations: 0.85 MB / 357.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.53e-05/0.09433, allocations: 19.92 kB / 357.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.247e-05/0.09441, allocations: 47.84 kB / 358 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.0948, allocations: 239.4 kB / 358.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.09482, allocations: 3.984 kB / 358.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09482, allocations: 0 / 358.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.09484, allocations: 0 / 358.2 MB, free: 12.2 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.0004842/0.09533, allocations: 429.7 kB / 358.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.09537, allocations: 15.97 kB / 358.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003715/0.09575, allocations: 32.81 kB / 358.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.09593, allocations: 188.3 kB / 358.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.09595, allocations: 12.31 kB / 358.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.09597, allocations: 7.938 kB / 358.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.0962, allocations: 137.1 kB / 359 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.09621, allocations: 0 / 359 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.09624, allocations: 8 kB / 359 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.09625, allocations: 0 / 359 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.09641, allocations: 107.8 kB / 359.1 MB, free: 11.18 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.0006529/0.09707, allocations: 0.6682 MB / 359.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.09722, allocations: 86.55 kB / 359.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.628e-05/0.09728, allocations: 37.09 kB / 359.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005754/0.09787, allocations: 0.8115 MB / 360.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.0979, allocations: 38.56 kB / 360.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.09791, allocations: 4 kB / 360.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002651/0.09818, allocations: 129.7 kB / 360.9 MB, free: 9.121 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.09822, allocations: 55.34 kB / 361 MB, free: 9.055 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.097e-05/0.09831, allocations: 117.8 kB / 361.1 MB, free: 8.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.09833, allocations: 29.7 kB / 361.1 MB, free: 8.895 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.09838, allocations: 99.78 kB / 361.2 MB, free: 8.793 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.09842, allocations: 47.39 kB / 361.3 MB, free: 8.746 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.09847, allocations: 37.61 kB / 361.3 MB, free: 8.703 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.178e-05/0.09857, allocations: 323.2 kB / 361.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.656e-05/0.09862, allocations: 23.98 kB / 361.6 MB, free: 8.355 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.999e-05/0.0987, allocations: 73.06 kB / 361.7 MB, free: 8.266 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.09883, allocations: 109.1 kB / 361.8 MB, free: 8.141 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.09884, allocations: 3.938 kB / 361.8 MB, free: 8.137 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001939/0.09904, allocations: 132.7 kB / 361.9 MB, free: 8.004 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.09906, allocations: 8 kB / 362 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.09907, allocations: 0 / 362 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.09909, allocations: 8.094 kB / 362 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.09921, allocations: 39.92 kB / 362 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.09923, allocations: 3.984 kB / 362 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.482e-05/0.09929, allocations: 19.78 kB / 362 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.09931, allocations: 12 kB / 362 MB, free: 7.914 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 7.281e-05/0.09939, allocations: 113.8 kB / 362.1 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.09943, allocations: 7.906 kB / 362.2 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.09971, allocations: 150 kB / 362.3 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.09972, allocations: 0 / 362.3 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.09973, allocations: 0 / 362.3 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.09974, allocations: 4 kB / 362.3 MB, free: 7.629 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003975/0.1001, allocations: 394.3 kB / 362.7 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1002, allocations: 0 / 362.7 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.582e-05/0.1002, allocations: 23.98 kB / 362.7 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1002, allocations: 0 / 362.7 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1003, allocations: 8 kB / 362.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1003, allocations: 0 / 362.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1003, allocations: 4 kB / 362.7 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.1005, allocations: 203.3 kB / 362.9 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.1005, allocations: 96.98 kB / 363 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.1006, allocations: 11.98 kB / 363 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.221e-05/0.1007, allocations: 0 / 363 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.468e-05/0.1007, allocations: 7.984 kB / 363 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.1007, allocations: 12 kB / 363 MB, free: 6.793 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.302e-05/0.1008, allocations: 91.27 kB / 363.1 MB, free: 6.703 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1008, allocations: 0 / 363.1 MB, free: 6.703 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003062/0.1011, allocations: 55.94 kB / 363.2 MB, free: 6.648 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.0002755/0.1014, allocations: 167.9 kB / 363.4 MB, free: 6.477 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.1016, allocations: 95.78 kB / 363.4 MB, free: 6.387 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1016, allocations: 8 kB / 363.5 MB, free: 6.379 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.632e-05/0.1016, allocations: 39.92 kB / 363.5 MB, free: 6.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.1021, allocations: 47.89 kB / 363.5 MB, free: 6.293 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.1024, allocations: 243.5 kB / 363.8 MB, free: 6.027 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.1027, allocations: 0.6967 MB / 364.5 MB, free: 5.305 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001306/0.1028, allocations: 24.81 kB / 364.5 MB, free: 5.281 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.1029, allocations: 27.42 kB / 364.5 MB, free: 5.254 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1029, allocations: 0 / 364.5 MB, free: 5.254 MB / 302.1 MB Notification: Performance of Templates: time 0.005073/0.1079, allocations: 2.458 MB / 367 MB, free: 2.824 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches