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.0008631/0.0008632, allocations: 92.33 kB / 17.3 MB, free: 6.07 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.001054/0.001054, allocations: 180.2 kB / 18.21 MB, free: 5.395 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.422/1.422, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004595/0.0004599, allocations: 8 kB / 281.4 MB, free: 3.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0911/0.09157, allocations: 47.59 MB / 329 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.009527/0.1012, allocations: 7.477 MB / 336.4 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008224/0.102, allocations: 0.6427 MB / 337.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.666e-05/0.1021, allocations: 0 / 337.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.1023, allocations: 23.89 kB / 337.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.1037, allocations: 0.518 MB / 337.6 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.1039, allocations: 95.81 kB / 337.7 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.1042, allocations: 215.2 kB / 337.9 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.1042, allocations: 4 kB / 337.9 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.1054, allocations: 0.7014 MB / 338.6 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.33e-05/0.1055, allocations: 51.83 kB / 338.7 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.1055, allocations: 0 / 338.7 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.1068, allocations: 0.9398 MB / 339.6 MB, free: 9.055 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.947e-05/0.1069, allocations: 23.91 kB / 339.6 MB, free: 9.031 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.776e-05/0.107, allocations: 73.5 kB / 339.7 MB, free: 8.953 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.1073, allocations: 235.5 kB / 339.9 MB, free: 8.723 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1073, allocations: 0 / 339.9 MB, free: 8.723 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1073, allocations: 3.938 kB / 339.9 MB, free: 8.719 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.626e-06/0.1073, allocations: 0 / 339.9 MB, free: 8.719 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.0004553/0.1078, allocations: 403.2 kB / 340.3 MB, free: 8.277 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1078, allocations: 8.031 kB / 340.4 MB, free: 8.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003767/0.1082, allocations: 36.81 kB / 340.4 MB, free: 8.234 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.1084, allocations: 196.2 kB / 340.6 MB, free: 8.004 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1085, allocations: 8.375 kB / 340.6 MB, free: 7.996 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.1085, allocations: 4.375 kB / 340.6 MB, free: 7.992 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.1087, allocations: 137.2 kB / 340.7 MB, free: 7.84 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.1087, allocations: 0 / 340.7 MB, free: 7.84 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.1088, allocations: 8 kB / 340.7 MB, free: 7.832 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1088, allocations: 3.938 kB / 340.7 MB, free: 7.828 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.109, allocations: 107.9 kB / 340.8 MB, free: 7.723 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.0007039/0.1097, allocations: 0.6685 MB / 341.5 MB, free: 6.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.1098, allocations: 82.55 kB / 341.6 MB, free: 6.891 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.057e-05/0.1099, allocations: 44.84 kB / 341.6 MB, free: 6.844 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006226/0.1105, allocations: 0.8076 MB / 342.4 MB, free: 5.852 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.1105, allocations: 38.5 kB / 342.5 MB, free: 5.805 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.1106, allocations: 0 / 342.5 MB, free: 5.805 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002637/0.1108, allocations: 129.6 kB / 342.6 MB, free: 5.672 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.1109, allocations: 55.41 kB / 342.7 MB, free: 5.605 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.408e-05/0.111, allocations: 118.1 kB / 342.8 MB, free: 5.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.111, allocations: 29.7 kB / 342.8 MB, free: 5.445 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/0.111, allocations: 99.88 kB / 342.9 MB, free: 5.344 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.1111, allocations: 47.39 kB / 342.9 MB, free: 5.297 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.1111, allocations: 21.66 kB / 343 MB, free: 5.27 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1112, allocations: 322.8 kB / 343.3 MB, free: 4.945 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.763e-05/0.1113, allocations: 23.98 kB / 343.3 MB, free: 4.922 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.89e-05/0.1114, allocations: 69.08 kB / 343.4 MB, free: 4.836 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.1115, allocations: 109.3 kB / 343.5 MB, free: 4.711 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1115, allocations: 0 / 343.5 MB, free: 4.711 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001893/0.1117, allocations: 137.4 kB / 343.6 MB, free: 4.57 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1117, allocations: 11.94 kB / 343.6 MB, free: 4.559 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1117, allocations: 0 / 343.6 MB, free: 4.559 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1117, allocations: 4 kB / 343.6 MB, free: 4.555 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.1119, allocations: 35.92 kB / 343.7 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1119, allocations: 7.938 kB / 343.7 MB, free: 4.512 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.766e-05/0.1119, allocations: 11.84 kB / 343.7 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.112, allocations: 4 kB / 343.7 MB, free: 4.496 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.553e-05/0.1121, allocations: 129.9 kB / 343.8 MB, free: 4.359 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.1121, allocations: 11.91 kB / 343.8 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.1124, allocations: 138.1 kB / 344 MB, free: 4.211 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.1124, allocations: 4 kB / 344 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1124, allocations: 3.938 kB / 344 MB, free: 4.203 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1124, allocations: 0 / 344 MB, free: 4.203 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.1128, allocations: 395.1 kB / 344.4 MB, free: 3.762 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1128, allocations: 0 / 344.4 MB, free: 3.762 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.024e-05/0.1129, allocations: 20 kB / 344.4 MB, free: 3.742 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1129, allocations: 7.922 kB / 344.4 MB, free: 3.734 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.1129, allocations: 4 kB / 344.4 MB, free: 3.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.113, allocations: 8 kB / 344.4 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.113, allocations: 0 / 344.4 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.1131, allocations: 207.5 kB / 344.6 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.381e-05/0.1132, allocations: 100.9 kB / 344.7 MB, free: 3.387 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.1133, allocations: 7.938 kB / 344.7 MB, free: 3.379 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.098e-05/0.1133, allocations: 3.984 kB / 344.7 MB, free: 3.375 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.1134, allocations: 4 kB / 344.7 MB, free: 3.371 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.1134, allocations: 15.98 kB / 344.7 MB, free: 3.355 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.493e-05/0.1134, allocations: 87.28 kB / 344.8 MB, free: 3.27 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1135, allocations: 0 / 344.8 MB, free: 3.27 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003075/0.1138, allocations: 59.92 kB / 344.9 MB, free: 3.211 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.0002664/0.114, allocations: 171.1 kB / 345 MB, free: 3.031 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.1142, allocations: 83.84 kB / 345.1 MB, free: 2.949 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1142, allocations: 0 / 345.1 MB, free: 2.949 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.278e-05/0.1143, allocations: 39.92 kB / 345.2 MB, free: 2.91 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.1147, allocations: 44.27 kB / 345.2 MB, free: 2.867 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.1151, allocations: 284.8 kB / 345.5 MB, free: 2.566 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.1154, allocations: 0.6931 MB / 346.2 MB, free: 1.848 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001444/0.1156, allocations: 36.95 kB / 346.2 MB, free: 1.809 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.015e-05/0.1156, allocations: 27.42 kB / 346.2 MB, free: 1.781 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1156, allocations: 0 / 346.2 MB, free: 1.781 MB / 286.1 MB Notification: Performance of Templates: time 0.005052/0.1207, allocations: 2.405 MB / 348.6 MB, free: 15.38 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches