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.001455/0.001455, allocations: 107.5 kB / 16.92 MB, free: 6.145 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.001632/0.001632, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.2/1.2, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008792/0.0008792, allocations: 39.44 kB / 300.7 MB, free: 5.781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0729/0.0738, allocations: 49.44 MB / 350.1 MB, free: 4.332 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.005607/0.07943, allocations: 4.857 MB / 355 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007035/0.08015, allocations: 0.6231 MB / 355.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.672e-05/0.0802, allocations: 0 / 355.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.08037, allocations: 23.84 kB / 355.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.08145, allocations: 0.5839 MB / 356.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.08165, allocations: 90.72 kB / 356.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.08184, allocations: 179.2 kB / 356.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.617e-05/0.08188, allocations: 7.984 kB / 356.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008182/0.0827, allocations: 0.6158 MB / 357.1 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.365e-05/0.08278, allocations: 47.78 kB / 357.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.0828, allocations: 4 kB / 357.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.08388, allocations: 0.8582 MB / 358 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.09e-05/0.08393, allocations: 27.84 kB / 358.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.264e-05/0.08399, allocations: 39.86 kB / 358.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.08433, allocations: 243.5 kB / 358.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.08434, allocations: 0 / 358.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.08435, allocations: 0 / 358.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.08436, allocations: 0 / 358.3 MB, free: 12.1 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.0003947/0.08475, allocations: 423.1 kB / 358.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.08479, allocations: 19.95 kB / 358.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.047e-05/0.08484, allocations: 42.75 kB / 358.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003588/0.0852, allocations: 36.81 kB / 358.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.08537, allocations: 188.3 kB / 359 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.08539, allocations: 12.12 kB / 359 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.0854, allocations: 4 kB / 359 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.08561, allocations: 141 kB / 359.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.08562, allocations: 0 / 359.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.08565, allocations: 8 kB / 359.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.08566, allocations: 0 / 359.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.08581, allocations: 107.8 kB / 359.3 MB, free: 11.02 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.0005783/0.08639, allocations: 0.6643 MB / 360 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.08653, allocations: 90.48 kB / 360.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.376e-05/0.08659, allocations: 36.84 kB / 360.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005137/0.08711, allocations: 0.8076 MB / 360.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.08715, allocations: 34.56 kB / 360.9 MB, free: 9.113 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.08715, allocations: 0 / 360.9 MB, free: 9.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002468/0.08741, allocations: 140.9 kB / 361.1 MB, free: 8.973 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.08744, allocations: 51.41 kB / 361.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.585e-05/0.08752, allocations: 125.7 kB / 361.2 MB, free: 8.777 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.08754, allocations: 29.7 kB / 361.3 MB, free: 8.742 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.08759, allocations: 99.78 kB / 361.4 MB, free: 8.641 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.08763, allocations: 47.39 kB / 361.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.08768, allocations: 33.62 kB / 361.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.948e-05/0.08776, allocations: 322.8 kB / 361.8 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.495e-05/0.08782, allocations: 27.98 kB / 361.8 MB, free: 8.203 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.629e-05/0.08789, allocations: 69.12 kB / 361.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.08801, allocations: 101.1 kB / 362 MB, free: 8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.08802, allocations: 0 / 362 MB, free: 8 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001846/0.08821, allocations: 137.4 kB / 362.1 MB, free: 7.859 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.08823, allocations: 8 kB / 362.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.08824, allocations: 0 / 362.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.08826, allocations: 7.938 kB / 362.1 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.08837, allocations: 40.08 kB / 362.1 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.08838, allocations: 3.938 kB / 362.1 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.22e-05/0.08844, allocations: 11.84 kB / 362.2 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.08847, allocations: 15.98 kB / 362.2 MB, free: 7.773 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 7.018e-05/0.08854, allocations: 117.8 kB / 362.3 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.08858, allocations: 11.89 kB / 362.3 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.08885, allocations: 146 kB / 362.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.08886, allocations: 0 / 362.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.08887, allocations: 4 kB / 362.4 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.08888, allocations: 4 kB / 362.4 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.08927, allocations: 398.3 kB / 362.8 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.08928, allocations: 0 / 362.8 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.385e-05/0.08936, allocations: 23.98 kB / 362.9 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.08937, allocations: 0 / 362.9 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.08938, allocations: 4 kB / 362.9 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.08939, allocations: 4 kB / 362.9 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.0894, allocations: 7.938 kB / 362.9 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.08957, allocations: 195.4 kB / 363.1 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.08963, allocations: 93 kB / 363.2 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.08965, allocations: 11.98 kB / 363.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-05/0.08975, allocations: 0 / 363.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.08977, allocations: 4 kB / 363.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.08979, allocations: 11.98 kB / 363.2 MB, free: 6.656 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.006e-05/0.08983, allocations: 95.22 kB / 363.3 MB, free: 6.562 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08984, allocations: 0 / 363.3 MB, free: 6.562 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002929/0.09014, allocations: 59.98 kB / 363.3 MB, free: 6.504 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.0005351/0.09068, allocations: 0.8214 MB / 364.2 MB, free: 5.656 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.09085, allocations: 91.22 kB / 364.2 MB, free: 5.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.09086, allocations: 0 / 364.2 MB, free: 5.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.964e-05/0.09092, allocations: 35.98 kB / 364.3 MB, free: 5.535 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.09134, allocations: 44.19 kB / 364.3 MB, free: 5.492 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.09258, allocations: 1.559 MB / 365.9 MB, free: 3.824 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.09282, allocations: 0.6967 MB / 366.6 MB, free: 3.102 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.09297, allocations: 41.14 kB / 366.6 MB, free: 3.062 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.744e-05/0.09303, allocations: 27.42 kB / 366.6 MB, free: 3.035 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09303, allocations: 0 / 366.6 MB, free: 3.035 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.089/1.182, allocations: 3.811 MB / 370.5 MB, free: 25.82 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.907/11.09, allocations: 4.156 kB / 370.5 MB, free: 25.82 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