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: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_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.0009685/0.0009686, allocations: 103.8 kB / 17.16 MB, free: 6.316 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.0009825/0.0009826, allocations: 190 kB / 18.07 MB, free: 5.414 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.393/1.393, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001261/0.001261, allocations: 47.92 kB / 280.1 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0911/0.09237, allocations: 46.62 MB / 326.7 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.00865/0.1011, allocations: 7.925 MB / 334.6 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007433/0.1018, allocations: 0.6427 MB / 335.3 MB, free: 12.17 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.1019, allocations: 0 / 335.3 MB, free: 12.17 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.1021, allocations: 15.91 kB / 335.3 MB, free: 12.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.1032, allocations: 0.5219 MB / 335.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.1035, allocations: 91.77 kB / 335.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.1037, allocations: 215.3 kB / 336.1 MB, free: 11.33 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.1037, allocations: 7.984 kB / 336.1 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.1048, allocations: 0.7095 MB / 336.8 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.959e-05/0.1049, allocations: 47.77 kB / 336.9 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.1049, allocations: 4 kB / 336.9 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.1062, allocations: 0.9552 MB / 337.8 MB, free: 9.605 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.1063, allocations: 19.91 kB / 337.8 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.1064, allocations: 55.72 kB / 337.9 MB, free: 9.531 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.1067, allocations: 231.5 kB / 338.1 MB, free: 9.305 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1067, allocations: 0 / 338.1 MB, free: 9.305 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.61e-07/0.1067, allocations: 0 / 338.1 MB, free: 9.305 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1067, allocations: 0 / 338.1 MB, free: 9.305 MB / 286.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.0004588/0.1072, allocations: 431.1 kB / 338.5 MB, free: 8.836 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1073, allocations: 12.03 kB / 338.6 MB, free: 8.824 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.626e-05/0.1073, allocations: 42.73 kB / 338.6 MB, free: 8.773 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003646/0.1077, allocations: 32.81 kB / 338.6 MB, free: 8.742 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.1079, allocations: 184.4 kB / 338.8 MB, free: 8.523 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1079, allocations: 8.375 kB / 338.8 MB, free: 8.516 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.1079, allocations: 12.38 kB / 338.8 MB, free: 8.504 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.1081, allocations: 144.9 kB / 339 MB, free: 8.344 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1082, allocations: 0 / 339 MB, free: 8.344 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.1082, allocations: 4 kB / 339 MB, free: 8.34 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1082, allocations: 4 kB / 339 MB, free: 8.336 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.1084, allocations: 107.9 kB / 339.1 MB, free: 8.23 MB / 286.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.0006394/0.109, allocations: 0.6684 MB / 339.8 MB, free: 7.488 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.1091, allocations: 86.48 kB / 339.8 MB, free: 7.395 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.104e-05/0.1092, allocations: 40.84 kB / 339.9 MB, free: 7.352 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005526/0.1098, allocations: 0.8076 MB / 340.7 MB, free: 6.359 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.1098, allocations: 34.56 kB / 340.7 MB, free: 6.316 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.1098, allocations: 4 kB / 340.7 MB, free: 6.312 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002712/0.1101, allocations: 129.9 kB / 340.8 MB, free: 6.18 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.1101, allocations: 59.34 kB / 340.9 MB, free: 6.109 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.902e-05/0.1102, allocations: 121.7 kB / 341 MB, free: 5.98 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.1103, allocations: 25.7 kB / 341 MB, free: 5.949 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.1103, allocations: 107.8 kB / 341.2 MB, free: 5.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.1104, allocations: 39.39 kB / 341.2 MB, free: 5.801 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.1104, allocations: 41.62 kB / 341.2 MB, free: 5.754 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.639e-05/0.1105, allocations: 322.8 kB / 341.5 MB, free: 5.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.84e-05/0.1106, allocations: 27.98 kB / 341.6 MB, free: 5.402 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.708e-05/0.1106, allocations: 68.56 kB / 341.6 MB, free: 5.32 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.1108, allocations: 105 kB / 341.7 MB, free: 5.199 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1108, allocations: 0 / 341.7 MB, free: 5.199 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001882/0.111, allocations: 141.4 kB / 341.9 MB, free: 5.055 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.111, allocations: 4 kB / 341.9 MB, free: 5.051 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.111, allocations: 0 / 341.9 MB, free: 5.051 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.111, allocations: 8.156 kB / 341.9 MB, free: 5.043 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1111, allocations: 27.98 kB / 341.9 MB, free: 5.016 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.1112, allocations: 7.938 kB / 341.9 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.828e-05/0.1112, allocations: 15.84 kB / 341.9 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.1113, allocations: 11.98 kB / 342 MB, free: 4.98 MB / 286.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.526e-05/0.1113, allocations: 121.8 kB / 342.1 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.1114, allocations: 7.906 kB / 342.1 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.1116, allocations: 147 kB / 342.2 MB, free: 4.699 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1117, allocations: 7.938 kB / 342.2 MB, free: 4.691 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1117, allocations: 0 / 342.2 MB, free: 4.691 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1117, allocations: 0 / 342.2 MB, free: 4.691 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.1121, allocations: 394.5 kB / 342.6 MB, free: 4.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1121, allocations: 4 kB / 342.6 MB, free: 4.246 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.462e-05/0.1122, allocations: 27.86 kB / 342.7 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1122, allocations: 0 / 342.7 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1122, allocations: 8 kB / 342.7 MB, free: 4.211 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1122, allocations: 3.938 kB / 342.7 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1122, allocations: 0 / 342.7 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.1124, allocations: 199.4 kB / 342.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.1124, allocations: 101 kB / 343 MB, free: 3.879 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.1125, allocations: 0 / 343 MB, free: 3.879 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.254e-05/0.1126, allocations: 8 kB / 343 MB, free: 3.871 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.1126, allocations: 7.984 kB / 343 MB, free: 3.863 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.1126, allocations: 12 kB / 343 MB, free: 3.852 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.598e-05/0.1127, allocations: 95.2 kB / 343.1 MB, free: 3.758 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1127, allocations: 0 / 343.1 MB, free: 3.758 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003029/0.113, allocations: 67.84 kB / 343.1 MB, free: 3.691 MB / 286.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.0006035/0.1136, allocations: 0.7905 MB / 343.9 MB, free: 2.871 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.1138, allocations: 83.84 kB / 344 MB, free: 2.789 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1138, allocations: 0 / 344 MB, free: 2.789 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.987e-05/0.1138, allocations: 35.98 kB / 344.1 MB, free: 2.754 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.1143, allocations: 48.2 kB / 344.1 MB, free: 2.707 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.1157, allocations: 1.598 MB / 345.7 MB, free: 1 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.1159, allocations: 0.6973 MB / 346.4 MB, free: 284 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001419/0.1161, allocations: 28.75 kB / 346.4 MB, free: 256 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.471e-05/0.1161, allocations: 31.41 kB / 346.5 MB, free: 224 kB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1161, allocations: 0 / 346.5 MB, free: 224 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01347/0.1296, allocations: 3.672 MB / 350.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.1298, allocations: 209.8 kB / 350.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/1.824, allocations: 0 / 350.3 MB, free: 12.25 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > 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","../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches