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.001358/0.001358, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001298/0.001298, allocations: 183.1 kB / 18.66 MB, free: 4.414 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.456/1.456, allocations: 205.1 MB / 224.5 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.001685/0.001685, allocations: 47.94 kB / 328.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1109, allocations: 46.62 MB / 375.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.2661/0.377, allocations: 7.761 MB / 382.9 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.3781, allocations: 0.625 MB / 383.5 MB, free: 9.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.862e-05/0.3782, allocations: 0.5625 kB / 383.5 MB, free: 9.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.3786, allocations: 22.36 kB / 383.5 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.3803, allocations: 0.5845 MB / 384.1 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.3805, allocations: 92.69 kB / 384.2 MB, free: 8.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.3808, allocations: 178.3 kB / 384.4 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.74e-05/0.3809, allocations: 6.047 kB / 384.4 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.382, allocations: 0.6219 MB / 385 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.315e-05/0.3822, allocations: 45.17 kB / 385.1 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.3822, allocations: 4.375 kB / 385.1 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.3838, allocations: 0.854 MB / 385.9 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.299e-05/0.3839, allocations: 19.88 kB / 385.9 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.438e-05/0.384, allocations: 47.14 kB / 386 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005631/0.3845, allocations: 237.2 kB / 386.2 MB, free: 8.527 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.3846, allocations: 0 / 386.2 MB, free: 8.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3846, allocations: 5.344 kB / 386.2 MB, free: 8.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3846, allocations: 0 / 386.2 MB, free: 8.523 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.0005909/0.3852, allocations: 430.2 kB / 386.6 MB, free: 8.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3852, allocations: 9.562 kB / 386.6 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000426/0.3857, allocations: 32.08 kB / 386.7 MB, free: 8.121 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.3859, allocations: 196 kB / 386.9 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.3859, allocations: 8.391 kB / 386.9 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.386, allocations: 6.031 kB / 386.9 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.3862, allocations: 146 kB / 387 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3862, allocations: 1.156 kB / 387 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.3863, allocations: 4.719 kB / 387 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3863, allocations: 2.281 kB / 387 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.3865, allocations: 108.2 kB / 387.1 MB, free: 7.836 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.0006383/0.3871, allocations: 0.6759 MB / 387.8 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.3873, allocations: 80.77 kB / 387.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.801e-05/0.3874, allocations: 39.67 kB / 387.9 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004411/0.3878, allocations: 0.8067 MB / 388.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.3878, allocations: 33.41 kB / 388.8 MB, free: 6.223 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.3878, allocations: 3.938 kB / 388.8 MB, free: 6.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003145/0.3882, allocations: 136.3 kB / 388.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.3882, allocations: 52.75 kB / 389 MB, free: 6.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.2e-05/0.3883, allocations: 120.1 kB / 389.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.3883, allocations: 26.7 kB / 389.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.3884, allocations: 100.5 kB / 389.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.3884, allocations: 52.38 kB / 389.2 MB, free: 5.848 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/0.3885, allocations: 37.25 kB / 389.3 MB, free: 5.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.846e-05/0.3885, allocations: 319.5 kB / 389.6 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.259e-05/0.3886, allocations: 27.48 kB / 389.6 MB, free: 5.516 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.681e-05/0.3887, allocations: 66.64 kB / 389.7 MB, free: 5.465 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.3888, allocations: 108.2 kB / 389.8 MB, free: 5.383 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3889, allocations: 0 / 389.8 MB, free: 5.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002258/0.3891, allocations: 137.9 kB / 389.9 MB, free: 5.312 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.3891, allocations: 5.875 kB / 389.9 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3891, allocations: 1.641 kB / 389.9 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3892, allocations: 3.25 kB / 389.9 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.3893, allocations: 39.64 kB / 390 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.3893, allocations: 7.047 kB / 390 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.853e-05/0.3894, allocations: 11.55 kB / 390 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.3894, allocations: 15.75 kB / 390 MB, free: 5.289 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 8.836e-05/0.3895, allocations: 119.2 kB / 390.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.3895, allocations: 9.359 kB / 390.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003143/0.3899, allocations: 147.3 kB / 390.3 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3899, allocations: 1.719 kB / 390.3 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3899, allocations: 5.156 kB / 390.3 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3899, allocations: 0.8906 kB / 390.3 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000411/0.3903, allocations: 391.9 kB / 390.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3903, allocations: 0 / 390.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.134e-05/0.3904, allocations: 25.03 kB / 390.7 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3904, allocations: 5.125 kB / 390.7 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3904, allocations: 6.312 kB / 390.7 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3905, allocations: 0.7969 kB / 390.7 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3905, allocations: 9.25 kB / 390.7 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.3906, allocations: 194.6 kB / 390.9 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.3907, allocations: 98.16 kB / 391 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.3907, allocations: 10.94 kB / 391 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.247e-05/0.3908, allocations: 1.672 kB / 391 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.3909, allocations: 14.67 kB / 391 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.3909, allocations: 7.844 kB / 391 MB, free: 4.434 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.599e-05/0.3909, allocations: 94.06 kB / 391.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.391, allocations: 0 / 391.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003201/0.3913, allocations: 57.3 kB / 391.2 MB, free: 4.34 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.0002756/0.3916, allocations: 165.9 kB / 391.3 MB, free: 4.227 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.3918, allocations: 83.11 kB / 391.4 MB, free: 4.203 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3918, allocations: 0 / 391.4 MB, free: 4.203 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.386e-05/0.3918, allocations: 41.77 kB / 391.5 MB, free: 4.191 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.3923, allocations: 45.52 kB / 391.5 MB, free: 4.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.3927, allocations: 232.6 kB / 391.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.3929, allocations: 0.6967 MB / 392.4 MB, free: 3.316 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.393, allocations: 37.36 kB / 392.5 MB, free: 3.301 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.185e-05/0.393, allocations: 17.14 kB / 392.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.393, allocations: 0 / 392.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of Templates: time 0.006816/0.3999, allocations: 2.437 MB / 394.9 MB, free: 3.012 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