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.001366/0.001366, allocations: 113.1 kB / 16.51 MB, free: 6.66 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.001508/0.001508, allocations: 201 kB / 17.43 MB, free: 6.035 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.237/1.237, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008889/0.0008889, allocations: 43.53 kB / 300.1 MB, free: 6.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07089/0.07179, allocations: 49.43 MB / 349.5 MB, free: 4.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.005738/0.07756, allocations: 4.97 MB / 354.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007392/0.07832, allocations: 0.6465 MB / 355.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.246e-05/0.07838, allocations: 0 / 355.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.07859, allocations: 23.83 kB / 355.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.07966, allocations: 0.5258 MB / 355.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.07987, allocations: 93.44 kB / 355.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.0801, allocations: 223.2 kB / 356 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.18e-05/0.08014, allocations: 4 kB / 356 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.08116, allocations: 0.7132 MB / 356.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.413e-05/0.08124, allocations: 47.83 kB / 356.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.08127, allocations: 4 kB / 356.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.08254, allocations: 0.9476 MB / 357.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.401e-05/0.08259, allocations: 23.86 kB / 357.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.487e-05/0.08265, allocations: 43.84 kB / 357.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.08303, allocations: 239.5 kB / 358 MB, free: 12.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.08304, allocations: 0 / 358 MB, free: 12.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.011e-06/0.08305, allocations: 0 / 358 MB, free: 12.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.08305, allocations: 4 kB / 358 MB, free: 12.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.0004094/0.08347, allocations: 427.2 kB / 358.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.08351, allocations: 15.95 kB / 358.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/0.08355, allocations: 38.75 kB / 358.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000366/0.08392, allocations: 36.81 kB / 358.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.08408, allocations: 184.3 kB / 358.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.0841, allocations: 12.12 kB / 358.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.08412, allocations: 8 kB / 358.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.08433, allocations: 137 kB / 358.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.08434, allocations: 0 / 358.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.08437, allocations: 4 kB / 358.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.08438, allocations: 4 kB / 358.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.08453, allocations: 111.8 kB / 358.9 MB, free: 11.17 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.0005878/0.08513, allocations: 0.6606 MB / 359.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.08527, allocations: 94.42 kB / 359.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.08533, allocations: 32.84 kB / 359.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005034/0.08584, allocations: 0.8115 MB / 360.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.08587, allocations: 34.81 kB / 360.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.08587, allocations: 0 / 360.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002531/0.08613, allocations: 137.7 kB / 360.7 MB, free: 9.117 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.08617, allocations: 55.34 kB / 360.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.342e-05/0.08625, allocations: 109.8 kB / 360.9 MB, free: 8.934 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.08627, allocations: 33.7 kB / 360.9 MB, free: 8.895 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.08632, allocations: 99.78 kB / 361 MB, free: 8.793 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.08635, allocations: 47.39 kB / 361 MB, free: 8.746 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.08641, allocations: 41.62 kB / 361.1 MB, free: 8.699 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.773e-05/0.08649, allocations: 314.8 kB / 361.4 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.877e-05/0.08655, allocations: 27.98 kB / 361.4 MB, free: 8.355 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.65e-05/0.08662, allocations: 69.12 kB / 361.5 MB, free: 8.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.08674, allocations: 101.1 kB / 361.6 MB, free: 8.152 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.08675, allocations: 0 / 361.6 MB, free: 8.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001923/0.08695, allocations: 141.4 kB / 361.7 MB, free: 8.008 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.08696, allocations: 4.156 kB / 361.7 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.08698, allocations: 8 kB / 361.7 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.08699, allocations: 3.938 kB / 361.7 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.08711, allocations: 39.92 kB / 361.8 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.08712, allocations: 3.938 kB / 361.8 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.862e-05/0.08718, allocations: 15.84 kB / 361.8 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.0872, allocations: 12.36 kB / 361.8 MB, free: 7.922 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 6.973e-05/0.08728, allocations: 117.8 kB / 361.9 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.08732, allocations: 7.906 kB / 361.9 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.08758, allocations: 152.2 kB / 362.1 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.0876, allocations: 0 / 362.1 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.0876, allocations: 0 / 362.1 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.08761, allocations: 3.938 kB / 362.1 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.08799, allocations: 398.3 kB / 362.5 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.088, allocations: 0 / 362.5 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.23e-05/0.08808, allocations: 19.98 kB / 362.5 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.08809, allocations: 11.94 kB / 362.5 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.0881, allocations: 4 kB / 362.5 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.08811, allocations: 0 / 362.5 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.08812, allocations: 0 / 362.5 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.08829, allocations: 207.2 kB / 362.7 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.08835, allocations: 93 kB / 362.8 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.08838, allocations: 8 kB / 362.8 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.156e-05/0.08848, allocations: 7.984 kB / 362.8 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.0885, allocations: 8 kB / 362.8 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.08852, allocations: 7.984 kB / 362.8 MB, free: 6.797 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.983e-05/0.08856, allocations: 87.28 kB / 362.9 MB, free: 6.711 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.08857, allocations: 0 / 362.9 MB, free: 6.711 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002956/0.08887, allocations: 55.98 kB / 363 MB, free: 6.656 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.0005328/0.08941, allocations: 0.8175 MB / 363.8 MB, free: 5.812 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.08956, allocations: 79.91 kB / 363.9 MB, free: 5.734 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.08957, allocations: 4 kB / 363.9 MB, free: 5.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.844e-05/0.08963, allocations: 39.92 kB / 363.9 MB, free: 5.691 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.09003, allocations: 44.55 kB / 364 MB, free: 5.648 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.09128, allocations: 1.584 MB / 365.5 MB, free: 3.953 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.09148, allocations: 0.6931 MB / 366.2 MB, free: 3.234 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.09163, allocations: 36.91 kB / 366.3 MB, free: 3.199 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.912e-05/0.09169, allocations: 39.36 kB / 366.3 MB, free: 3.16 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.0917, allocations: 0 / 366.3 MB, free: 3.16 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.008/1.099, allocations: 3.624 MB / 369.9 MB, free: 25.79 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/1.1, allocations: 203.9 kB / 370.1 MB, free: 25.54 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.913/4.013, allocations: 0 / 370.1 MB, free: 25.54 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