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.001298/0.001298, allocations: 109.3 kB / 17.73 MB, free: 5.32 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.001348/0.001348, allocations: 188.2 kB / 18.66 MB, free: 4.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.46/1.46, allocations: 205.1 MB / 224.5 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.00123/0.00123, allocations: 43.94 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09957/0.1008, allocations: 46.62 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.2481/0.349, allocations: 7.759 MB / 382.9 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008496/0.3499, allocations: 0.622 MB / 383.5 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.485e-05/0.3499, allocations: 4.719 kB / 383.5 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.3503, allocations: 24.47 kB / 383.5 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.3519, allocations: 0.5785 MB / 384.1 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.3522, allocations: 89.11 kB / 384.2 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.3525, allocations: 180.7 kB / 384.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.055e-05/0.3525, allocations: 5.734 kB / 384.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.3538, allocations: 0.6214 MB / 385 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.994e-05/0.3539, allocations: 47.12 kB / 385 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.354, allocations: 4.594 kB / 385 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.3555, allocations: 0.8573 MB / 385.9 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.3556, allocations: 17.64 kB / 385.9 MB, free: 8.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.807e-05/0.3556, allocations: 48.41 kB / 386 MB, free: 8.539 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004846/0.3561, allocations: 239.1 kB / 386.2 MB, free: 8.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3561, allocations: 1.406 kB / 386.2 MB, free: 8.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3561, allocations: 0 / 386.2 MB, free: 8.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.3562, allocations: 0 / 386.2 MB, free: 8.492 MB / 318.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.0005035/0.3567, allocations: 418.4 kB / 386.6 MB, free: 8.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3567, allocations: 9.625 kB / 386.6 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004083/0.3571, allocations: 35.25 kB / 386.7 MB, free: 8.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.3574, allocations: 192.7 kB / 386.8 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.3575, allocations: 6.969 kB / 386.9 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.3575, allocations: 17.88 kB / 386.9 MB, free: 7.891 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.3578, allocations: 149.5 kB / 387 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.3578, allocations: 0 / 387 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.3578, allocations: 2.25 kB / 387 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.3579, allocations: 2.031 kB / 387 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.3581, allocations: 111.1 kB / 387.1 MB, free: 7.809 MB / 318.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.0006729/0.3588, allocations: 0.6687 MB / 387.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.359, allocations: 88.47 kB / 387.9 MB, free: 7.184 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.369e-05/0.359, allocations: 45.52 kB / 387.9 MB, free: 7.172 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004872/0.3595, allocations: 0.8078 MB / 388.7 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.3596, allocations: 33.08 kB / 388.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.3596, allocations: 0 / 388.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003311/0.3599, allocations: 132 kB / 388.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.36, allocations: 52.56 kB / 388.9 MB, free: 6.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.3601, allocations: 122.5 kB / 389.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.3601, allocations: 30.52 kB / 389.1 MB, free: 5.949 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.3602, allocations: 97.19 kB / 389.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.3602, allocations: 43.48 kB / 389.2 MB, free: 5.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.3603, allocations: 36.81 kB / 389.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.521e-05/0.3603, allocations: 318.3 kB / 389.6 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.607e-05/0.3604, allocations: 31.2 kB / 389.6 MB, free: 5.496 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.411e-05/0.3605, allocations: 65.02 kB / 389.7 MB, free: 5.449 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.3606, allocations: 118.4 kB / 389.8 MB, free: 5.363 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3606, allocations: 1.188 kB / 389.8 MB, free: 5.363 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002223/0.3609, allocations: 131.8 kB / 389.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3609, allocations: 6.188 kB / 389.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.3609, allocations: 1.25 kB / 389.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.3609, allocations: 3.312 kB / 389.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.3611, allocations: 35.23 kB / 390 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3611, allocations: 10.89 kB / 390 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.216e-05/0.3612, allocations: 16.69 kB / 390 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.3612, allocations: 7.703 kB / 390 MB, free: 5.273 MB / 318.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.474e-05/0.3613, allocations: 118.8 kB / 390.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.3613, allocations: 12.67 kB / 390.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.3616, allocations: 145.6 kB / 390.3 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3616, allocations: 6.891 kB / 390.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3616, allocations: 7.875 kB / 390.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3616, allocations: 1.625 kB / 390.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004133/0.3621, allocations: 390.9 kB / 390.7 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3621, allocations: 0.6094 kB / 390.7 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.084e-05/0.3622, allocations: 21.2 kB / 390.7 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3622, allocations: 8.531 kB / 390.7 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3622, allocations: 7.031 kB / 390.7 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3622, allocations: 0 / 390.7 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3622, allocations: 5.188 kB / 390.7 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.3624, allocations: 198.5 kB / 390.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.3624, allocations: 99.91 kB / 391 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.3625, allocations: 13.75 kB / 391 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.417e-05/0.3626, allocations: 2.094 kB / 391 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.3626, allocations: 7.969 kB / 391 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.3626, allocations: 10.06 kB / 391 MB, free: 4.414 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.227e-05/0.3627, allocations: 94.75 kB / 391.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3627, allocations: 0 / 391.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003574/0.363, allocations: 53.55 kB / 391.2 MB, free: 4.324 MB / 318.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.0002669/0.3633, allocations: 166.6 kB / 391.3 MB, free: 4.207 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.3635, allocations: 83.78 kB / 391.4 MB, free: 4.184 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3635, allocations: 0 / 391.4 MB, free: 4.184 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.387e-05/0.3636, allocations: 40.56 kB / 391.5 MB, free: 4.172 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.364, allocations: 40.03 kB / 391.5 MB, free: 4.164 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004242/0.3645, allocations: 231.3 kB / 391.7 MB, free: 4 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.3646, allocations: 0.6925 MB / 392.4 MB, free: 3.305 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000121/0.3647, allocations: 36.02 kB / 392.5 MB, free: 3.289 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.3648, allocations: 26.62 kB / 392.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3648, allocations: 0 / 392.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of Templates: time 0.006725/0.3715, allocations: 2.425 MB / 394.9 MB, free: 3.004 MB / 318.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","/var/lib/jenkins/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