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.001567/0.001567, allocations: 103.6 kB / 18.39 MB, free: 4.641 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.001658/0.001658, allocations: 187 kB / 19.33 MB, free: 3.715 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.547/1.547, allocations: 205.1 MB / 225.2 MB, free: 12.2 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.001224/0.001224, allocations: 48.36 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08769/0.08892, allocations: 46.62 MB / 375.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.1833/0.2722, allocations: 7.761 MB / 383.6 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008178/0.2731, allocations: 0.6263 MB / 384.2 MB, free: 9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.512e-05/0.2732, allocations: 0.5 kB / 384.2 MB, free: 9 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.2735, allocations: 31.58 kB / 384.2 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.2752, allocations: 0.5751 MB / 384.8 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.2755, allocations: 93.73 kB / 384.9 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000298/0.2758, allocations: 178.1 kB / 385.1 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.2759, allocations: 9.125 kB / 385.1 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.2771, allocations: 0.6163 MB / 385.7 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.565e-05/0.2772, allocations: 50.77 kB / 385.7 MB, free: 8.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.2772, allocations: 5.438 kB / 385.7 MB, free: 8.664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.2787, allocations: 0.8544 MB / 386.6 MB, free: 8.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.2788, allocations: 24.92 kB / 386.6 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.777e-05/0.2789, allocations: 47.52 kB / 386.7 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004704/0.2794, allocations: 232.2 kB / 386.9 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2794, allocations: 0 / 386.9 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.604e-06/0.2794, allocations: 1.906 kB / 386.9 MB, free: 8.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2794, allocations: 0 / 386.9 MB, free: 8.516 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.0004459/0.2799, allocations: 418.1 kB / 387.3 MB, free: 8.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.2799, allocations: 9.062 kB / 387.3 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004014/0.2803, allocations: 31.89 kB / 387.3 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.2806, allocations: 199.3 kB / 387.5 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.2806, allocations: 7.438 kB / 387.5 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.2806, allocations: 9.719 kB / 387.5 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.2809, allocations: 146.3 kB / 387.7 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2809, allocations: 0 / 387.7 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.2809, allocations: 5.781 kB / 387.7 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.2809, allocations: 2.562 kB / 387.7 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.2811, allocations: 115.2 kB / 387.8 MB, free: 7.828 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.0006269/0.2818, allocations: 0.6651 MB / 388.5 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.2819, allocations: 88.84 kB / 388.6 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.811e-05/0.282, allocations: 38.92 kB / 388.6 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000432/0.2824, allocations: 0.8114 MB / 389.4 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.2825, allocations: 31.69 kB / 389.4 MB, free: 6.215 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.744e-06/0.2825, allocations: 7.938 kB / 389.4 MB, free: 6.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002981/0.2828, allocations: 125.4 kB / 389.6 MB, free: 6.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.2828, allocations: 54.33 kB / 389.6 MB, free: 6.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.2829, allocations: 123.1 kB / 389.7 MB, free: 6.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.2829, allocations: 30.77 kB / 389.8 MB, free: 5.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.283, allocations: 101.2 kB / 389.9 MB, free: 5.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.283, allocations: 40.16 kB / 389.9 MB, free: 5.852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/0.2831, allocations: 36.73 kB / 389.9 MB, free: 5.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.155e-05/0.2831, allocations: 323.8 kB / 390.3 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.263e-05/0.2832, allocations: 25.73 kB / 390.3 MB, free: 5.516 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.082e-05/0.2833, allocations: 64.41 kB / 390.4 MB, free: 5.461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.2834, allocations: 115.4 kB / 390.5 MB, free: 5.371 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2834, allocations: 0 / 390.5 MB, free: 5.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001964/0.2836, allocations: 133.8 kB / 390.6 MB, free: 5.305 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.2836, allocations: 6.625 kB / 390.6 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2836, allocations: 1.922 kB / 390.6 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2837, allocations: 6.562 kB / 390.6 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.2838, allocations: 35.53 kB / 390.6 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.2838, allocations: 3.062 kB / 390.6 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.975e-05/0.2839, allocations: 20.53 kB / 390.7 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.2839, allocations: 6.609 kB / 390.7 MB, free: 5.281 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 6.552e-05/0.284, allocations: 122.9 kB / 390.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.284, allocations: 10.38 kB / 390.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.2843, allocations: 150.2 kB / 391 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2843, allocations: 1.125 kB / 391 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2843, allocations: 3.938 kB / 391 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2843, allocations: 2.344 kB / 391 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.2847, allocations: 395.6 kB / 391.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2847, allocations: 0 / 391.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.656e-05/0.2848, allocations: 21.52 kB / 391.4 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2848, allocations: 5.031 kB / 391.4 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.2848, allocations: 1.25 kB / 391.4 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2848, allocations: 6.047 kB / 391.4 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2849, allocations: 0 / 391.4 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.285, allocations: 205.8 kB / 391.6 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.2851, allocations: 99.59 kB / 391.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.2851, allocations: 5.672 kB / 391.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.274e-05/0.2852, allocations: 5.688 kB / 391.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.2852, allocations: 11.62 kB / 391.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.2853, allocations: 10.89 kB / 391.7 MB, free: 4.422 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.424e-05/0.2853, allocations: 89.92 kB / 391.8 MB, free: 4.344 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2853, allocations: 1.031 kB / 391.8 MB, free: 4.344 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003667/0.2857, allocations: 56.48 kB / 391.9 MB, free: 4.332 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.0002484/0.2859, allocations: 166.9 kB / 392 MB, free: 4.215 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.2861, allocations: 80.11 kB / 392.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2861, allocations: 3.938 kB / 392.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.543e-05/0.2862, allocations: 45.39 kB / 392.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.2866, allocations: 49.55 kB / 392.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.287, allocations: 254.8 kB / 392.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.2872, allocations: 0.6924 MB / 393.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.2872, allocations: 29.12 kB / 393.2 MB, free: 3.258 MB / 318.1 MB Notification: Performance of SimCode: time 1.91e-07/0.2872, allocations: 3.938 kB / 393.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of Templates: time 0.004762/0.292, allocations: 2.182 MB / 395.3 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/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