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.001211/0.001212, allocations: 101.5 kB / 17.72 MB, free: 5.371 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.002002/0.002002, allocations: 192 kB / 18.66 MB, free: 4.445 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.493/1.493, 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.001302/0.001302, allocations: 55.94 kB / 328.5 MB, free: 3.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1111, allocations: 46.62 MB / 375.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.2525/0.3637, allocations: 7.758 MB / 382.9 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3649, allocations: 0.6174 MB / 383.5 MB, free: 9.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/0.365, allocations: 8.938 kB / 383.5 MB, free: 9.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003279/0.3654, allocations: 28.08 kB / 383.5 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002222/0.3676, allocations: 0.58 MB / 384.1 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.3679, allocations: 95.33 kB / 384.2 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003538/0.3682, allocations: 177.5 kB / 384.4 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.365e-05/0.3683, allocations: 4.531 kB / 384.4 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.3697, allocations: 0.6196 MB / 385 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.3698, allocations: 48.7 kB / 385 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.3698, allocations: 5.094 kB / 385.1 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.3716, allocations: 0.8539 MB / 385.9 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.3717, allocations: 21.25 kB / 385.9 MB, free: 8.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.734e-05/0.3718, allocations: 48.39 kB / 386 MB, free: 8.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005459/0.3723, allocations: 233.5 kB / 386.2 MB, free: 8.535 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3724, allocations: 7.875 kB / 386.2 MB, free: 8.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.3724, allocations: 0.8438 kB / 386.2 MB, free: 8.527 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.3724, allocations: 0 / 386.2 MB, free: 8.527 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.0005604/0.3729, allocations: 418 kB / 386.6 MB, free: 8.141 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.373, allocations: 10 kB / 386.6 MB, free: 8.141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004525/0.3735, allocations: 31.39 kB / 386.7 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.3737, allocations: 198.5 kB / 386.9 MB, free: 7.934 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.3738, allocations: 4.25 kB / 386.9 MB, free: 7.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.3738, allocations: 8.938 kB / 386.9 MB, free: 7.934 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.374, allocations: 152 kB / 387 MB, free: 7.852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.3741, allocations: 0 / 387 MB, free: 7.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.3741, allocations: 6.672 kB / 387 MB, free: 7.852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3741, allocations: 2.938 kB / 387 MB, free: 7.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.3743, allocations: 107.8 kB / 387.1 MB, free: 7.848 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.0006182/0.3749, allocations: 0.664 MB / 387.8 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.3751, allocations: 91.92 kB / 387.9 MB, free: 7.223 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.333e-05/0.3751, allocations: 37.75 kB / 387.9 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004313/0.3756, allocations: 0.8018 MB / 388.7 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.3756, allocations: 44.03 kB / 388.8 MB, free: 6.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.3756, allocations: 4 kB / 388.8 MB, free: 6.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003197/0.3759, allocations: 130.6 kB / 388.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.376, allocations: 53.17 kB / 388.9 MB, free: 6.125 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.002e-05/0.3761, allocations: 124.2 kB / 389.1 MB, free: 6.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.3761, allocations: 26.64 kB / 389.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.3762, allocations: 100.2 kB / 389.2 MB, free: 5.895 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.3762, allocations: 46.23 kB / 389.2 MB, free: 5.863 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/0.3763, allocations: 34.83 kB / 389.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.845e-05/0.3763, allocations: 322.6 kB / 389.6 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.647e-05/0.3764, allocations: 27.14 kB / 389.6 MB, free: 5.531 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.383e-05/0.3765, allocations: 67.16 kB / 389.7 MB, free: 5.484 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.3766, allocations: 113.3 kB / 389.8 MB, free: 5.402 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.3766, allocations: 1.125 kB / 389.8 MB, free: 5.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00022/0.3769, allocations: 137.2 kB / 389.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3769, allocations: 8.906 kB / 389.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3769, allocations: 1.094 kB / 389.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.3769, allocations: 2.312 kB / 389.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.377, allocations: 34.52 kB / 390 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.3771, allocations: 3.125 kB / 390 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.633e-05/0.3771, allocations: 19.94 kB / 390 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.3771, allocations: 7.062 kB / 390 MB, free: 5.312 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.682e-05/0.3772, allocations: 124.3 kB / 390.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.3773, allocations: 7.891 kB / 390.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.3775, allocations: 154.9 kB / 390.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.3775, allocations: 2.281 kB / 390.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3776, allocations: 3.938 kB / 390.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3776, allocations: 1.266 kB / 390.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.3779, allocations: 385.8 kB / 390.7 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.378, allocations: 0 / 390.7 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.441e-05/0.3781, allocations: 25.06 kB / 390.7 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3781, allocations: 5.5 kB / 390.7 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.3781, allocations: 2.703 kB / 390.7 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3781, allocations: 5.031 kB / 390.7 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3781, allocations: 4.656 kB / 390.7 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.3783, allocations: 201.3 kB / 390.9 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.644e-05/0.3784, allocations: 100.5 kB / 391 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.3784, allocations: 5.25 kB / 391 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.369e-05/0.3785, allocations: 5.672 kB / 391 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.3785, allocations: 8.422 kB / 391 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.3786, allocations: 6.953 kB / 391 MB, free: 4.461 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.084e-05/0.3786, allocations: 97.42 kB / 391.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3786, allocations: 0.9688 kB / 391.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003314/0.3789, allocations: 57.83 kB / 391.2 MB, free: 4.363 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.0002763/0.3792, allocations: 170.2 kB / 391.3 MB, free: 4.246 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.3794, allocations: 78.28 kB / 391.4 MB, free: 4.227 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3795, allocations: 0 / 391.4 MB, free: 4.227 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.486e-05/0.3795, allocations: 42.8 kB / 391.5 MB, free: 4.215 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.38, allocations: 48.22 kB / 391.5 MB, free: 4.199 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004597/0.3804, allocations: 225.6 kB / 391.7 MB, free: 4.043 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.3806, allocations: 0.6929 MB / 392.4 MB, free: 3.348 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.3807, allocations: 33.75 kB / 392.5 MB, free: 3.332 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.3808, allocations: 24.61 kB / 392.5 MB, free: 3.32 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3808, allocations: 0 / 392.5 MB, free: 3.32 MB / 318.1 MB Notification: Performance of Templates: time 0.00636/0.3871, allocations: 2.445 MB / 394.9 MB, free: 3.035 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