Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 89.59 kB / 16.65 MB, free: 6.578 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.001396/0.001396, allocations: 186 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001958/0.0001959, allocations: 6.062 kB / 301.5 MB, free: 5.809 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07396/0.07417, allocations: 50.41 MB / 351.9 MB, free: 3.383 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.004946/0.07914, allocations: 4.576 MB / 356.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007732/0.07994, allocations: 0.635 MB / 357.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.774e-05/0.08001, allocations: 3.938 kB / 357.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.08019, allocations: 23.89 kB / 357.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.08123, allocations: 0.5141 MB / 357.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.08146, allocations: 95.88 kB / 357.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.0817, allocations: 219.2 kB / 358 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.59e-05/0.08174, allocations: 4 kB / 358 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009619/0.08271, allocations: 0.6975 MB / 358.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.995e-05/0.0828, allocations: 51.83 kB / 358.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.08283, allocations: 7.938 kB / 358.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.08403, allocations: 0.9476 MB / 359.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.08409, allocations: 19.92 kB / 359.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.96e-05/0.08416, allocations: 73.48 kB / 359.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.08452, allocations: 239.5 kB / 360 MB, free: 11.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.08454, allocations: 0 / 360 MB, free: 11.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.08455, allocations: 0 / 360 MB, free: 11.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.08455, allocations: 0 / 360 MB, free: 11.24 MB / 302.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.0003999/0.08496, allocations: 399.2 kB / 360.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.085, allocations: 11.97 kB / 360.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.485e-05/0.08505, allocations: 42.73 kB / 360.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003429/0.0854, allocations: 40.81 kB / 360.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.08557, allocations: 184.3 kB / 360.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.08559, allocations: 12.12 kB / 360.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.08561, allocations: 8 kB / 360.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.08586, allocations: 131.8 kB / 360.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.08588, allocations: 3.938 kB / 360.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.0859, allocations: 12 kB / 360.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.08591, allocations: 0 / 360.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.08606, allocations: 103.9 kB / 361 MB, free: 10.2 MB / 302.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.0005962/0.08667, allocations: 0.6683 MB / 361.6 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.0868, allocations: 86.55 kB / 361.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/0.08686, allocations: 36.84 kB / 361.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005342/0.0874, allocations: 0.8115 MB / 362.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.08744, allocations: 34.56 kB / 362.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.08744, allocations: 0 / 362.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002457/0.08769, allocations: 133.5 kB / 362.7 MB, free: 8.152 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.08773, allocations: 59.41 kB / 362.8 MB, free: 8.082 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.397e-05/0.08782, allocations: 117.8 kB / 362.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.08784, allocations: 29.7 kB / 362.9 MB, free: 7.922 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.0879, allocations: 103.8 kB / 363 MB, free: 7.816 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.08793, allocations: 39.39 kB / 363.1 MB, free: 7.777 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.08797, allocations: 21.7 kB / 363.1 MB, free: 7.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.337e-05/0.08807, allocations: 318.8 kB / 363.4 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.393e-05/0.08812, allocations: 27.92 kB / 363.4 MB, free: 7.402 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.511e-05/0.08819, allocations: 71.94 kB / 363.5 MB, free: 7.316 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.08832, allocations: 109.1 kB / 363.6 MB, free: 7.191 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.08833, allocations: 0 / 363.6 MB, free: 7.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001904/0.08852, allocations: 133.5 kB / 363.7 MB, free: 7.055 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.08855, allocations: 8 kB / 363.7 MB, free: 7.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.08856, allocations: 0 / 363.7 MB, free: 7.047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.08858, allocations: 15.91 kB / 363.8 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.08869, allocations: 35.92 kB / 363.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.0887, allocations: 7.938 kB / 363.8 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.385e-05/0.08876, allocations: 12 kB / 363.8 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.08878, allocations: 16 kB / 363.8 MB, free: 6.961 MB / 302.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.347e-05/0.08887, allocations: 117.8 kB / 363.9 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.08891, allocations: 11.91 kB / 364 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.08916, allocations: 138.4 kB / 364.1 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.08917, allocations: 4 kB / 364.1 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.08918, allocations: 4 kB / 364.1 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.08918, allocations: 0 / 364.1 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.08957, allocations: 398 kB / 364.5 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.08958, allocations: 0 / 364.5 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.964e-05/0.08965, allocations: 23.98 kB / 364.5 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.08966, allocations: 0 / 364.5 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.08968, allocations: 4 kB / 364.5 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.08968, allocations: 4 kB / 364.5 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.08969, allocations: 0 / 364.5 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.08986, allocations: 207.3 kB / 364.7 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.08993, allocations: 101 kB / 364.8 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.08995, allocations: 0 / 364.8 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.09004, allocations: 4 kB / 364.8 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.09006, allocations: 7.984 kB / 364.8 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.09008, allocations: 12 kB / 364.8 MB, free: 5.844 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.485e-05/0.09013, allocations: 95.2 kB / 364.9 MB, free: 5.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.09014, allocations: 0 / 364.9 MB, free: 5.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002827/0.09043, allocations: 56 kB / 365 MB, free: 5.695 MB / 302.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.0005644/0.091, allocations: 0.8058 MB / 365.8 MB, free: 4.863 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.09115, allocations: 88.16 kB / 365.9 MB, free: 4.777 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.09116, allocations: 4.062 kB / 365.9 MB, free: 4.773 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.85e-05/0.09121, allocations: 42.92 kB / 365.9 MB, free: 4.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.09162, allocations: 39.95 kB / 366 MB, free: 4.695 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.09291, allocations: 1.612 MB / 367.6 MB, free: 2.969 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.09315, allocations: 0.6931 MB / 368.3 MB, free: 2.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001329/0.09329, allocations: 41.14 kB / 368.3 MB, free: 2.211 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.09335, allocations: 31.44 kB / 368.3 MB, free: 2.18 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.09336, allocations: 0 / 368.3 MB, free: 2.18 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.349/2.442, allocations: 3.553 MB / 371.9 MB, free: 24.5 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/2.442, allocations: 196.8 kB / 372.1 MB, free: 24.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.357/4.8, allocations: 7.297 kB / 372.1 MB, free: 24.25 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches