Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadModel(Modelica): time 1.742/1.742, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003547, allocations: 8 kB / 233.8 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0818/0.08218, allocations: 38.79 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007741/0.08998, allocations: 4.33 MB / 277 MB, free: 7.172 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.09115, allocations: 0.5224 MB / 277.5 MB, free: 6.648 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.09122, allocations: 4 kB / 277.5 MB, free: 6.645 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.09149, allocations: 23.89 kB / 277.5 MB, free: 6.621 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.09313, allocations: 0.4909 MB / 278 MB, free: 6.129 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.09353, allocations: 79.88 kB / 278.1 MB, free: 6.051 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.09379, allocations: 115.8 kB / 278.2 MB, free: 5.938 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.036e-05/0.09385, allocations: 7.984 kB / 278.2 MB, free: 5.93 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/0.09548, allocations: 0.5852 MB / 278.8 MB, free: 5.344 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.924e-05/0.09559, allocations: 39.83 kB / 278.8 MB, free: 5.305 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.09563, allocations: 4 kB / 278.8 MB, free: 5.301 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002206/0.09784, allocations: 0.8114 MB / 279.6 MB, free: 4.488 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.09793, allocations: 27.91 kB / 279.7 MB, free: 4.461 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.547e-05/0.09799, allocations: 37.64 kB / 279.7 MB, free: 4.418 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000504/0.09851, allocations: 171.9 kB / 279.9 MB, free: 4.25 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.09852, allocations: 0 / 279.9 MB, free: 4.25 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.09854, allocations: 0 / 279.9 MB, free: 4.25 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.09855, allocations: 4 kB / 279.9 MB, free: 4.246 MB / 234.7 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.000563/0.09912, allocations: 391 kB / 280.3 MB, free: 3.816 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.09919, allocations: 12.03 kB / 280.3 MB, free: 3.805 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004256/0.09962, allocations: 27.88 kB / 280.3 MB, free: 3.777 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.09989, allocations: 194.9 kB / 280.5 MB, free: 3.547 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.09992, allocations: 4 kB / 280.5 MB, free: 3.543 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.09995, allocations: 12 kB / 280.5 MB, free: 3.531 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.1003, allocations: 133.1 kB / 280.6 MB, free: 3.383 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1003, allocations: 0 / 280.6 MB, free: 3.383 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.1004, allocations: 7.984 kB / 280.6 MB, free: 3.375 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.1004, allocations: 3.953 kB / 280.6 MB, free: 3.371 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/0.1007, allocations: 111.8 kB / 280.8 MB, free: 3.262 MB / 234.7 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.0009841/0.1017, allocations: 0.6761 MB / 281.4 MB, free: 2.512 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.1019, allocations: 90.5 kB / 281.5 MB, free: 2.414 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008814/0.1028, allocations: 0.8076 MB / 282.3 MB, free: 1.422 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.1028, allocations: 34.56 kB / 282.4 MB, free: 1.379 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/0.1029, allocations: 0 / 282.4 MB, free: 1.379 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004154/0.1033, allocations: 129.7 kB / 282.5 MB, free: 1.246 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.1033, allocations: 55.34 kB / 282.5 MB, free: 1.18 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1035, allocations: 114 kB / 282.7 MB, free: 1.059 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.1035, allocations: 29.7 kB / 282.7 MB, free: 1.023 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.702e-05/0.1036, allocations: 99.88 kB / 282.8 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.1037, allocations: 43.38 kB / 282.8 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/0.1037, allocations: 0 / 282.8 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1038, allocations: 318.8 kB / 283.1 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.1039, allocations: 31.98 kB / 283.2 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.104, allocations: 70.16 kB / 283.2 MB, free: 452 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.1041, allocations: 32.25 kB / 283.3 MB, free: 420 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.1042, allocations: 4 kB / 283.3 MB, free: 416 kB / 234.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003211/0.1045, allocations: 141.4 kB / 283.4 MB, free: 268 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1045, allocations: 4 kB / 283.4 MB, free: 264 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1045, allocations: 0 / 283.4 MB, free: 264 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.1046, allocations: 4 kB / 283.4 MB, free: 260 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.1048, allocations: 39.86 kB / 283.5 MB, free: 220 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.1048, allocations: 4 kB / 283.5 MB, free: 216 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.1049, allocations: 11.84 kB / 283.5 MB, free: 204 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.105, allocations: 16.14 kB / 283.5 MB, free: 188 kB / 234.7 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 0.0001106/0.1051, allocations: 120.6 kB / 283.6 MB, free: 60 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.1051, allocations: 11.86 kB / 283.6 MB, free: 48 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004702/0.1056, allocations: 147 kB / 283.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1056, allocations: 0 / 283.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1057, allocations: 0 / 283.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.922e-05/0.1058, allocations: 109 kB / 283.9 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.1058, allocations: 4 kB / 283.9 MB, free: 15.76 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.106, allocations: 4 kB / 283.9 MB, free: 15.76 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.106, allocations: 15.97 kB / 283.9 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002867/0.1063, allocations: 181 kB / 284.1 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003227/0.1066, allocations: 290.6 kB / 284.3 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.172e-05/0.1067, allocations: 31.97 kB / 284.4 MB, free: 15.23 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.561e-05/0.1068, allocations: 87.28 kB / 284.5 MB, free: 15.14 MB / 250.7 MB Notification: Performance of Backend: time 8.31e-07/0.1068, allocations: 0 / 284.5 MB, free: 15.14 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008408/0.1077, allocations: 236.4 kB / 284.7 MB, free: 14.91 MB / 250.7 MB Notification: Performance of SimCode: time 0.0007909/0.1085, allocations: 0.7418 MB / 285.4 MB, free: 14.11 MB / 250.7 MB Notification: Performance of Templates: time 0.008744/0.1173, allocations: 2.645 MB / 288.1 MB, free: 11.48 MB / 250.7 MB "" Variables in the reference:time,medium.T,eta,lambda,s,cv,u,h,d Variables in the result:cv,d,eta,h,lambda,medium.T,medium.T_start,medium.preferredMediumStates,medium.standardOrderComponents,s,time,u