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.0007271/0.000727, allocations: 94.27 kB / 17.3 MB, free: 6.34 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.0008237/0.0008237, allocations: 178.9 kB / 18.21 MB, free: 5.527 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.537/1.537, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004676/0.0004677, allocations: 8 kB / 281.5 MB, free: 3.328 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1016, allocations: 47.58 MB / 329 MB, free: 3.672 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.009992/0.1116, allocations: 7.485 MB / 336.5 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1127, allocations: 0.631 MB / 337.2 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.85e-05/0.1128, allocations: 0 / 337.2 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.1131, allocations: 27.89 kB / 337.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001794/0.1149, allocations: 0.5179 MB / 337.7 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.1152, allocations: 91.81 kB / 337.8 MB, free: 10.87 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.1155, allocations: 219.2 kB / 338 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.038e-05/0.1156, allocations: 7.984 kB / 338 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.1168, allocations: 0.7017 MB / 338.7 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.117, allocations: 47.83 kB / 338.8 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.117, allocations: 4 kB / 338.8 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/0.1186, allocations: 0.9473 MB / 339.7 MB, free: 8.945 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.987e-05/0.1187, allocations: 19.91 kB / 339.7 MB, free: 8.926 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.323e-05/0.1188, allocations: 81.48 kB / 339.8 MB, free: 8.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005931/0.1194, allocations: 231.5 kB / 340 MB, free: 8.613 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1194, allocations: 0 / 340 MB, free: 8.613 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1194, allocations: 0 / 340 MB, free: 8.613 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.1194, allocations: 0 / 340 MB, free: 8.613 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.0005426/0.1199, allocations: 403.2 kB / 340.4 MB, free: 8.172 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.12, allocations: 8.031 kB / 340.4 MB, free: 8.164 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.414e-05/0.1201, allocations: 46.73 kB / 340.5 MB, free: 8.109 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004055/0.1205, allocations: 28.83 kB / 340.5 MB, free: 8.082 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.1207, allocations: 200.2 kB / 340.7 MB, free: 7.848 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1207, allocations: 8.375 kB / 340.7 MB, free: 7.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.1208, allocations: 12.12 kB / 340.7 MB, free: 7.828 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.121, allocations: 133 kB / 340.9 MB, free: 7.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1211, allocations: 3.938 kB / 340.9 MB, free: 7.676 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.1211, allocations: 8 kB / 340.9 MB, free: 7.668 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1211, allocations: 4 kB / 340.9 MB, free: 7.664 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.1213, allocations: 110.6 kB / 341 MB, free: 7.559 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.0007811/0.1221, allocations: 0.6683 MB / 341.7 MB, free: 6.816 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.1222, allocations: 82.55 kB / 341.7 MB, free: 6.727 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.668e-05/0.1223, allocations: 48.78 kB / 341.8 MB, free: 6.676 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007109/0.123, allocations: 0.8037 MB / 342.6 MB, free: 5.688 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.1231, allocations: 38.56 kB / 342.6 MB, free: 5.641 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.1231, allocations: 0 / 342.6 MB, free: 5.641 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003024/0.1234, allocations: 126.3 kB / 342.8 MB, free: 5.512 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.1235, allocations: 55.34 kB / 342.8 MB, free: 5.445 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.1236, allocations: 125.8 kB / 342.9 MB, free: 5.312 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1236, allocations: 25.7 kB / 343 MB, free: 5.281 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.432e-05/0.1237, allocations: 103.9 kB / 343.1 MB, free: 5.176 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.1237, allocations: 43.3 kB / 343.1 MB, free: 5.133 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.1238, allocations: 21.72 kB / 343.1 MB, free: 5.105 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1239, allocations: 322.8 kB / 343.4 MB, free: 4.781 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.221e-05/0.124, allocations: 23.98 kB / 343.5 MB, free: 4.758 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.841e-05/0.1241, allocations: 69.14 kB / 343.5 MB, free: 4.672 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.1242, allocations: 105.2 kB / 343.6 MB, free: 4.551 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1242, allocations: 3.938 kB / 343.6 MB, free: 4.547 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002284/0.1245, allocations: 145.4 kB / 343.8 MB, free: 4.398 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1245, allocations: 8 kB / 343.8 MB, free: 4.391 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1245, allocations: 0 / 343.8 MB, free: 4.391 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1245, allocations: 4 kB / 343.8 MB, free: 4.387 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.1246, allocations: 35.86 kB / 343.8 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.1247, allocations: 4 kB / 343.8 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.389e-05/0.1247, allocations: 11.84 kB / 343.8 MB, free: 4.336 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.1248, allocations: 8 kB / 343.8 MB, free: 4.328 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 0.000105/0.1249, allocations: 121.9 kB / 344 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.1249, allocations: 15.91 kB / 344 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/0.1252, allocations: 130.4 kB / 344.1 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.1252, allocations: 3.938 kB / 344.1 MB, free: 4.051 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.1253, allocations: 4 kB / 344.1 MB, free: 4.047 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1253, allocations: 3.984 kB / 344.1 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.1257, allocations: 394.3 kB / 344.5 MB, free: 3.602 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1257, allocations: 3.938 kB / 344.5 MB, free: 3.598 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.33e-05/0.1258, allocations: 27.98 kB / 344.5 MB, free: 3.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1258, allocations: 3.938 kB / 344.5 MB, free: 3.566 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.1259, allocations: 0 / 344.5 MB, free: 3.566 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1259, allocations: 4 kB / 344.5 MB, free: 3.562 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1259, allocations: 0 / 344.5 MB, free: 3.562 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.1261, allocations: 207.7 kB / 344.7 MB, free: 3.344 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.716e-05/0.1262, allocations: 96.94 kB / 344.8 MB, free: 3.23 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.1262, allocations: 4 kB / 344.8 MB, free: 3.227 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.152e-05/0.1263, allocations: 0 / 344.8 MB, free: 3.227 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.1264, allocations: 11.98 kB / 344.9 MB, free: 3.215 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.1264, allocations: 8 kB / 344.9 MB, free: 3.207 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.29e-05/0.1264, allocations: 91.27 kB / 344.9 MB, free: 3.117 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1264, allocations: 0 / 344.9 MB, free: 3.117 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003492/0.1268, allocations: 63.92 kB / 345 MB, free: 3.055 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.0007046/0.1275, allocations: 0.806 MB / 345.8 MB, free: 2.219 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.1277, allocations: 79.91 kB / 345.9 MB, free: 2.141 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1277, allocations: 320 / 345.9 MB, free: 2.141 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.224e-05/0.1278, allocations: 43.92 kB / 345.9 MB, free: 2.098 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.1282, allocations: 35.97 kB / 346 MB, free: 2.062 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.1298, allocations: 1.609 MB / 347.6 MB, free: 356 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.1301, allocations: 0.6969 MB / 348.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001541/0.1303, allocations: 40.67 kB / 348.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.246e-05/0.1304, allocations: 35.41 kB / 348.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1304, allocations: 0 / 348.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0148/0.1452, allocations: 3.608 MB / 352 MB, free: 11.95 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002987/0.1455, allocations: 209.2 kB / 352.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/1.787, allocations: 0 / 352.2 MB, free: 11.68 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