Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001063, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001026/0.001026, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.23 kB / 306.3 MB, free: 0.7539 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09377/0.09498, allocations: 50.53 MB / 356.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006786/0.1018, allocations: 5.044 MB / 361.9 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008141/0.1026, allocations: 0.6388 MB / 362.6 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.981e-05/0.1027, allocations: 0 / 362.6 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.1029, allocations: 23.89 kB / 362.6 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.1041, allocations: 0.5297 MB / 363.1 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.1043, allocations: 95.69 kB / 363.2 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.1046, allocations: 215.3 kB / 363.4 MB, free: 7.645 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.824e-05/0.1046, allocations: 4 kB / 363.4 MB, free: 7.641 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.1057, allocations: 0.7053 MB / 364.1 MB, free: 6.934 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.728e-05/0.1058, allocations: 55.77 kB / 364.2 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.1059, allocations: 0 / 364.2 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.1072, allocations: 0.9866 MB / 365.2 MB, free: 5.891 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.442e-05/0.1073, allocations: 19.92 kB / 365.2 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.536e-05/0.1074, allocations: 47.72 kB / 365.2 MB, free: 5.824 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004216/0.1078, allocations: 251.4 kB / 365.5 MB, free: 5.578 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1078, allocations: 0 / 365.5 MB, free: 5.578 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1078, allocations: 0 / 365.5 MB, free: 5.578 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1078, allocations: 0 / 365.5 MB, free: 5.578 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.0004669/0.1083, allocations: 429.4 kB / 365.9 MB, free: 5.113 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1084, allocations: 8.031 kB / 365.9 MB, free: 5.105 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.1084, allocations: 42.75 kB / 365.9 MB, free: 5.055 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003783/0.1088, allocations: 36.81 kB / 366 MB, free: 5.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.109, allocations: 184.4 kB / 366.2 MB, free: 4.801 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.109, allocations: 12.12 kB / 366.2 MB, free: 4.789 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.109, allocations: 7.938 kB / 366.2 MB, free: 4.781 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.1092, allocations: 133.1 kB / 366.3 MB, free: 4.633 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1092, allocations: 0 / 366.3 MB, free: 4.633 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.1093, allocations: 8 kB / 366.3 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1093, allocations: 4 kB / 366.3 MB, free: 4.621 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.1095, allocations: 115.7 kB / 366.4 MB, free: 4.508 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.0006352/0.1101, allocations: 0.6645 MB / 367.1 MB, free: 3.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.1102, allocations: 82.55 kB / 367.2 MB, free: 3.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.92e-05/0.1103, allocations: 40.84 kB / 367.2 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005477/0.1109, allocations: 0.8076 MB / 368 MB, free: 2.645 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.1109, allocations: 34.56 kB / 368.1 MB, free: 2.602 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.1109, allocations: 0 / 368.1 MB, free: 2.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002606/0.1112, allocations: 129.8 kB / 368.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.1112, allocations: 63.41 kB / 368.2 MB, free: 2.395 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.72e-05/0.1113, allocations: 117.8 kB / 368.4 MB, free: 2.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1113, allocations: 29.7 kB / 368.4 MB, free: 2.234 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.1114, allocations: 103.8 kB / 368.5 MB, free: 2.129 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.1114, allocations: 47.3 kB / 368.5 MB, free: 2.082 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.1115, allocations: 33.7 kB / 368.6 MB, free: 2.043 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.414e-05/0.1116, allocations: 318.8 kB / 368.9 MB, free: 1.723 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.343e-05/0.1116, allocations: 27.98 kB / 368.9 MB, free: 1.695 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.641e-05/0.1117, allocations: 73.12 kB / 369 MB, free: 1.605 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.1118, allocations: 108.4 kB / 369.1 MB, free: 1.484 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1118, allocations: 0 / 369.1 MB, free: 1.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001911/0.112, allocations: 133.5 kB / 369.2 MB, free: 1.348 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.112, allocations: 4 kB / 369.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1121, allocations: 0 / 369.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1121, allocations: 7.938 kB / 369.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.1122, allocations: 31.98 kB / 369.3 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1122, allocations: 7.938 kB / 369.3 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.888e-05/0.1123, allocations: 16 kB / 369.3 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.1123, allocations: 19.98 kB / 369.3 MB, free: 1.262 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.196e-05/0.1124, allocations: 118.9 kB / 369.4 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.1124, allocations: 7.906 kB / 369.4 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.1127, allocations: 150.3 kB / 369.6 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1127, allocations: 4 kB / 369.6 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1127, allocations: 4 kB / 369.6 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1127, allocations: 0 / 369.6 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.1131, allocations: 402.2 kB / 370 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1131, allocations: 0 / 370 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.262e-05/0.1132, allocations: 23.98 kB / 370 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1132, allocations: 0 / 370 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1132, allocations: 8 kB / 370 MB, free: 500 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1132, allocations: 0 / 370 MB, free: 500 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1133, allocations: 0 / 370 MB, free: 500 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.1134, allocations: 207 kB / 370.2 MB, free: 280 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.1135, allocations: 93 kB / 370.3 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.1135, allocations: 11.92 kB / 370.3 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.085e-05/0.1136, allocations: 0 / 370.3 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.1137, allocations: 11.98 kB / 370.3 MB, free: 144 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.1137, allocations: 8 kB / 370.3 MB, free: 136 kB / 302.1 MB Notification: Performance of sorting global known variables: time 4.856e-05/0.1137, allocations: 95.2 kB / 370.4 MB, free: 40 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1137, allocations: 0 / 370.4 MB, free: 40 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.1314/0.2452, allocations: 59.27 kB / 370.5 MB, free: 20.36 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.0005568/0.2457, allocations: 0.7968 MB / 371.3 MB, free: 19.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.2459, allocations: 84.42 kB / 371.4 MB, free: 19.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.2459, allocations: 1.281 kB / 371.4 MB, free: 19.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.159e-05/0.246, allocations: 38.73 kB / 371.4 MB, free: 19.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.2465, allocations: 43.11 kB / 371.4 MB, free: 19.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.2476, allocations: 1.592 MB / 373 MB, free: 18.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.77e-05/0.2477, allocations: 0.6964 MB / 373.7 MB, free: 17.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.2478, allocations: 35.44 kB / 373.8 MB, free: 17.74 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.917e-05/0.2479, allocations: 29.28 kB / 373.8 MB, free: 17.73 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2479, allocations: 0 / 373.8 MB, free: 17.73 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0137/0.2616, allocations: 3.733 MB / 377.5 MB, free: 17.38 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001415/0.2618, allocations: 200.8 kB / 377.7 MB, free: 17.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/1.963, allocations: 1.5 kB / 377.7 MB, free: 17.12 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches