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.001623/0.001623, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.001862/0.001862, allocations: 190.9 kB / 19.28 MB, free: 3.766 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.416/1.416, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001267/0.001267, allocations: 47.94 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08015/0.08143, allocations: 46.63 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01014/0.09161, allocations: 7.773 MB / 336.5 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000827/0.09247, allocations: 0.6192 MB / 337.1 MB, free: 11.31 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.09253, allocations: 0 / 337.1 MB, free: 11.31 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.0928, allocations: 23.84 kB / 337.1 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.09412, allocations: 0.5761 MB / 337.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.09435, allocations: 95.84 kB / 337.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.09459, allocations: 183.2 kB / 338 MB, free: 10.44 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.403e-05/0.09463, allocations: 8 kB / 338 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000942/0.09558, allocations: 0.6119 MB / 338.6 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.222e-05/0.09566, allocations: 47.83 kB / 338.6 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.09569, allocations: 4 kB / 338.6 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.09689, allocations: 0.8618 MB / 339.5 MB, free: 8.902 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.09695, allocations: 15.92 kB / 339.5 MB, free: 8.887 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.687e-05/0.09701, allocations: 47.78 kB / 339.6 MB, free: 8.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000354/0.09737, allocations: 235.4 kB / 339.8 MB, free: 8.609 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.09739, allocations: 0 / 339.8 MB, free: 8.609 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.0974, allocations: 4 kB / 339.8 MB, free: 8.605 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.0974, allocations: 0 / 339.8 MB, free: 8.605 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.0004544/0.09787, allocations: 427.1 kB / 340.2 MB, free: 8.141 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.09791, allocations: 8.031 kB / 340.2 MB, free: 8.133 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004027/0.09831, allocations: 36.81 kB / 340.3 MB, free: 8.098 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.09855, allocations: 184.3 kB / 340.4 MB, free: 7.879 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.09857, allocations: 12.31 kB / 340.5 MB, free: 7.867 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.09859, allocations: 8.375 kB / 340.5 MB, free: 7.859 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.09881, allocations: 137.2 kB / 340.6 MB, free: 7.707 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.09883, allocations: 0 / 340.6 MB, free: 7.707 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.09885, allocations: 8 kB / 340.6 MB, free: 7.699 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.09886, allocations: 0 / 340.6 MB, free: 7.699 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.09903, allocations: 111.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.0006621/0.0997, allocations: 0.6759 MB / 341.4 MB, free: 6.84 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.09985, allocations: 82.55 kB / 341.5 MB, free: 6.75 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.976e-05/0.09992, allocations: 40.84 kB / 341.5 MB, free: 6.707 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005538/0.1005, allocations: 0.8037 MB / 342.3 MB, free: 5.719 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.1005, allocations: 42.56 kB / 342.4 MB, free: 5.668 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.1005, allocations: 0 / 342.4 MB, free: 5.668 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002735/0.1008, allocations: 129.9 kB / 342.5 MB, free: 5.535 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.1008, allocations: 51.41 kB / 342.5 MB, free: 5.473 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.551e-05/0.1009, allocations: 121.8 kB / 342.7 MB, free: 5.344 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.101, allocations: 29.7 kB / 342.7 MB, free: 5.309 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.101, allocations: 95.89 kB / 342.8 MB, free: 5.211 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.1011, allocations: 51.3 kB / 342.8 MB, free: 5.16 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.1011, allocations: 41.61 kB / 342.9 MB, free: 5.113 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.558e-05/0.1012, allocations: 319.2 kB / 343.2 MB, free: 4.793 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.922e-05/0.1013, allocations: 27.98 kB / 343.2 MB, free: 4.766 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.258e-05/0.1014, allocations: 61.14 kB / 343.3 MB, free: 4.688 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.1015, allocations: 113 kB / 343.4 MB, free: 4.559 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1015, allocations: 7.875 kB / 343.4 MB, free: 4.551 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000205/0.1017, allocations: 137.4 kB / 343.5 MB, free: 4.41 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1017, allocations: 8.156 kB / 343.5 MB, free: 4.402 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1017, allocations: 4 kB / 343.5 MB, free: 4.398 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1018, allocations: 0 / 343.5 MB, free: 4.398 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1019, allocations: 39.92 kB / 343.6 MB, free: 4.359 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1019, allocations: 3.938 kB / 343.6 MB, free: 4.355 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.702e-05/0.102, allocations: 11.84 kB / 343.6 MB, free: 4.344 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.102, allocations: 8 kB / 343.6 MB, free: 4.336 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.088e-05/0.1021, allocations: 117.8 kB / 343.7 MB, free: 4.211 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.1021, allocations: 7.984 kB / 343.7 MB, free: 4.203 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.1024, allocations: 142.6 kB / 343.9 MB, free: 4.062 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1024, allocations: 0 / 343.9 MB, free: 4.062 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1024, allocations: 7.922 kB / 343.9 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1024, allocations: 0 / 343.9 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.1028, allocations: 402.5 kB / 344.3 MB, free: 3.605 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1028, allocations: 0 / 344.3 MB, free: 3.605 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.521e-05/0.1029, allocations: 16 kB / 344.3 MB, free: 3.59 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.1029, allocations: 15.92 kB / 344.3 MB, free: 3.574 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.103, allocations: 7.984 kB / 344.3 MB, free: 3.566 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.103, allocations: 0 / 344.3 MB, free: 3.566 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.103, allocations: 0 / 344.3 MB, free: 3.566 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.1032, allocations: 195.5 kB / 344.5 MB, free: 3.359 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.792e-05/0.1032, allocations: 100.9 kB / 344.6 MB, free: 3.242 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.1033, allocations: 4 kB / 344.6 MB, free: 3.238 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.449e-05/0.1034, allocations: 4 kB / 344.6 MB, free: 3.234 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.1034, allocations: 11.98 kB / 344.6 MB, free: 3.223 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.1034, allocations: 11.98 kB / 344.6 MB, free: 3.211 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.57e-05/0.1035, allocations: 91.22 kB / 344.7 MB, free: 3.121 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1035, allocations: 0 / 344.7 MB, free: 3.121 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003141/0.1038, allocations: 59.92 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.0002237/0.104, allocations: 163.2 kB / 344.9 MB, free: 2.891 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.1042, allocations: 79.91 kB / 345 MB, free: 2.812 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1042, allocations: 7.938 kB / 345 MB, free: 2.805 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.251e-05/0.1043, allocations: 35.98 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.0003976/0.1047, allocations: 51.53 kB / 345.1 MB, free: 2.723 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.1051, allocations: 235.4 kB / 345.3 MB, free: 2.465 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.1053, allocations: 0.6967 MB / 346 MB, free: 1.742 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.1054, allocations: 33.02 kB / 346 MB, free: 1.707 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.1055, allocations: 27.42 kB / 346.1 MB, free: 1.68 MB / 286.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1055, allocations: 0 / 346.1 MB, free: 1.68 MB / 286.1 MB Notification: Performance of Templates: time 0.00515/0.1106, allocations: 2.403 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 cvode -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