Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001422/0.001422, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001538/0.001538, allocations: 186.9 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 51.92 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07837/0.07956, allocations: 46.63 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.009583/0.08918, allocations: 7.761 MB / 336.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008529/0.09007, allocations: 0.6269 MB / 337.1 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.562e-05/0.09014, allocations: 4 kB / 337.1 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.09042, allocations: 23.84 kB / 337.1 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001327/0.09176, allocations: 0.5761 MB / 337.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.092, allocations: 91.84 kB / 337.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.09223, allocations: 183.2 kB / 338 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.857e-05/0.09228, allocations: 11.98 kB / 338 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.09336, allocations: 0.6119 MB / 338.6 MB, free: 9.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.33e-05/0.09346, allocations: 51.83 kB / 338.6 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.09348, allocations: 4 kB / 338.6 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.09493, allocations: 0.854 MB / 339.5 MB, free: 8.91 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.1e-05/0.095, allocations: 27.91 kB / 339.5 MB, free: 8.883 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.094e-05/0.09506, allocations: 43.86 kB / 339.6 MB, free: 8.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.09544, allocations: 235.4 kB / 339.8 MB, free: 8.609 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.09545, allocations: 0 / 339.8 MB, free: 8.609 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09546, allocations: 0 / 339.8 MB, free: 8.609 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.09547, allocations: 0 / 339.8 MB, free: 8.609 MB / 286.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.0004649/0.09594, allocations: 419.1 kB / 340.2 MB, free: 8.152 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.09598, allocations: 16.02 kB / 340.2 MB, free: 8.137 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004007/0.09639, allocations: 28.83 kB / 340.3 MB, free: 8.109 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.09664, allocations: 200.3 kB / 340.5 MB, free: 7.875 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.09666, allocations: 4.375 kB / 340.5 MB, free: 7.871 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.09669, allocations: 8.375 kB / 340.5 MB, free: 7.863 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.09692, allocations: 141.1 kB / 340.6 MB, free: 7.707 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.09693, allocations: 0 / 340.6 MB, free: 7.707 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.09696, allocations: 0 / 340.6 MB, free: 7.707 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.09697, allocations: 4 kB / 340.6 MB, free: 7.703 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.09716, allocations: 115.9 kB / 340.7 MB, free: 7.59 MB / 286.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.0007174/0.09789, allocations: 0.6721 MB / 341.4 MB, free: 6.844 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.09803, allocations: 82.55 kB / 341.5 MB, free: 6.754 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.761e-05/0.09811, allocations: 40.84 kB / 341.5 MB, free: 6.711 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006334/0.09875, allocations: 0.8076 MB / 342.3 MB, free: 5.719 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.09879, allocations: 34.56 kB / 342.4 MB, free: 5.676 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.0988, allocations: 0 / 342.4 MB, free: 5.676 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002846/0.09909, allocations: 129.9 kB / 342.5 MB, free: 5.543 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.09914, allocations: 59.41 kB / 342.5 MB, free: 5.473 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.265e-05/0.09922, allocations: 113.8 kB / 342.6 MB, free: 5.352 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.09925, allocations: 33.7 kB / 342.7 MB, free: 5.312 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.09931, allocations: 99.88 kB / 342.8 MB, free: 5.211 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.09935, allocations: 47.3 kB / 342.8 MB, free: 5.164 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.09941, allocations: 33.62 kB / 342.9 MB, free: 5.125 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.09952, allocations: 322.8 kB / 343.2 MB, free: 4.801 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.049e-05/0.09958, allocations: 27.98 kB / 343.2 MB, free: 4.773 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.686e-05/0.09966, allocations: 69.14 kB / 343.3 MB, free: 4.688 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.09987, allocations: 101 kB / 343.4 MB, free: 4.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.09988, allocations: 3.938 kB / 343.4 MB, free: 4.566 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002109/0.1001, allocations: 145.4 kB / 343.5 MB, free: 4.418 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1001, allocations: 4 kB / 343.5 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1001, allocations: 0 / 343.5 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1001, allocations: 4.375 kB / 343.5 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1003, allocations: 31.98 kB / 343.6 MB, free: 4.379 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.1003, allocations: 11.88 kB / 343.6 MB, free: 4.367 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.523e-05/0.1004, allocations: 11.84 kB / 343.6 MB, free: 4.355 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.1004, allocations: 15.94 kB / 343.6 MB, free: 4.34 MB / 286.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.295e-05/0.1005, allocations: 122 kB / 343.7 MB, free: 4.211 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.1005, allocations: 4 kB / 343.7 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.1008, allocations: 146.5 kB / 343.9 MB, free: 4.062 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1009, allocations: 4 kB / 343.9 MB, free: 4.059 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.1009, allocations: 3.938 kB / 343.9 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1009, allocations: 0 / 343.9 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004536/0.1013, allocations: 394.4 kB / 344.2 MB, free: 3.613 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1014, allocations: 0 / 344.2 MB, free: 3.613 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.857e-05/0.1014, allocations: 27.92 kB / 344.3 MB, free: 3.586 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1015, allocations: 3.938 kB / 344.3 MB, free: 3.582 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1015, allocations: 8 kB / 344.3 MB, free: 3.574 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1015, allocations: 0 / 344.3 MB, free: 3.574 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1015, allocations: 0 / 344.3 MB, free: 3.574 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.1017, allocations: 191.5 kB / 344.5 MB, free: 3.371 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/0.1018, allocations: 108.9 kB / 344.6 MB, free: 3.246 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.1018, allocations: 3.984 kB / 344.6 MB, free: 3.242 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.903e-05/0.1019, allocations: 4 kB / 344.6 MB, free: 3.238 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.1019, allocations: 15.94 kB / 344.6 MB, free: 3.223 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.1019, allocations: 7.984 kB / 344.6 MB, free: 3.215 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.655e-05/0.102, allocations: 95.2 kB / 344.7 MB, free: 3.121 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.102, allocations: 0 / 344.7 MB, free: 3.121 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003271/0.1023, allocations: 59.94 kB / 344.8 MB, free: 3.062 MB / 286.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.0002543/0.1026, allocations: 155.2 kB / 344.9 MB, free: 2.898 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.1028, allocations: 87.91 kB / 345 MB, free: 2.812 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1028, allocations: 320 / 345 MB, free: 2.812 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.516e-05/0.1029, allocations: 43.92 kB / 345 MB, free: 2.77 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.1033, allocations: 43.06 kB / 345.1 MB, free: 2.73 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005254/0.1038, allocations: 243.4 kB / 345.3 MB, free: 2.465 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.1042, allocations: 0.6967 MB / 346 MB, free: 1.742 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.1044, allocations: 33.02 kB / 346.1 MB, free: 1.707 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.1044, allocations: 19.44 kB / 346.1 MB, free: 1.688 MB / 286.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1044, allocations: 0 / 346.1 MB, free: 1.688 MB / 286.1 MB Notification: Performance of Templates: time 0.005272/0.1097, allocations: 2.407 MB / 348.5 MB, free: 15.28 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches