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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 115.5 kB / 18.45 MB, free: 4.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 211.3 kB / 21.41 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 207.6 MB / 231.8 MB, free: 4.074 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 55.92 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1132, allocations: 49.13 MB / 391.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01212/0.1253, allocations: 7.795 MB / 399.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009504/0.1263, allocations: 0.6272 MB / 399.8 MB, free: 272 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.283e-05/0.1263, allocations: 0 / 399.8 MB, free: 272 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.1266, allocations: 27.77 kB / 399.8 MB, free: 244 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.1282, allocations: 0.5839 MB / 400.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.1285, allocations: 95.78 kB / 400.5 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.1288, allocations: 179.3 kB / 400.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.264e-05/0.1288, allocations: 7.938 kB / 400.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.13, allocations: 0.6158 MB / 401.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.722e-05/0.1301, allocations: 55.77 kB / 401.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.1301, allocations: 4 kB / 401.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.1316, allocations: 0.8463 MB / 402.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.892e-05/0.1316, allocations: 35.83 kB / 402.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.387e-05/0.1317, allocations: 39.86 kB / 402.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004925/0.1322, allocations: 231.3 kB / 402.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1322, allocations: 0 / 402.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1322, allocations: 0 / 402.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1322, allocations: 0 / 402.5 MB, free: 13.55 MB / 334.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.0006517/0.1329, allocations: 430.7 kB / 402.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.1329, allocations: 16.03 kB / 403 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.57e-05/0.133, allocations: 42.72 kB / 403 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004377/0.1334, allocations: 32.88 kB / 403 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.1338, allocations: 204.2 kB / 403.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.1338, allocations: 4.375 kB / 403.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.1338, allocations: 12.38 kB / 403.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.1341, allocations: 148.9 kB / 403.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1341, allocations: 0 / 403.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.1342, allocations: 0 / 403.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1342, allocations: 4 kB / 403.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.1344, allocations: 107.9 kB / 403.5 MB, free: 12.46 MB / 334.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.0008776/0.1352, allocations: 0.6683 MB / 404.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.1354, allocations: 86.42 kB / 404.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.736e-05/0.1355, allocations: 32.84 kB / 404.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007635/0.1362, allocations: 0.8076 MB / 405.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.1363, allocations: 38.56 kB / 405.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/0.1363, allocations: 0 / 405.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003289/0.1366, allocations: 133.9 kB / 405.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.1367, allocations: 51.41 kB / 405.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.1368, allocations: 121.7 kB / 405.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1368, allocations: 29.7 kB / 405.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.1369, allocations: 99.97 kB / 405.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.1369, allocations: 47.59 kB / 405.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.137, allocations: 33.72 kB / 405.6 MB, free: 9.996 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1371, allocations: 318.8 kB / 406 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.488e-05/0.1372, allocations: 27.98 kB / 406 MB, free: 9.648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.1373, allocations: 69.05 kB / 406 MB, free: 9.562 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.1375, allocations: 105.1 kB / 406.2 MB, free: 9.441 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1375, allocations: 3.938 kB / 406.2 MB, free: 9.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002381/0.1377, allocations: 146 kB / 406.3 MB, free: 9.289 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1377, allocations: 8 kB / 406.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1377, allocations: 0 / 406.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.1377, allocations: 4 kB / 406.3 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1379, allocations: 32.08 kB / 406.3 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1379, allocations: 11.94 kB / 406.4 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/0.1379, allocations: 15.89 kB / 406.4 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.138, allocations: 4 kB / 406.4 MB, free: 9.215 MB / 334.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.0001126/0.1381, allocations: 121.8 kB / 406.5 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.1381, allocations: 11.95 kB / 406.5 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.1384, allocations: 142.4 kB / 406.6 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1384, allocations: 11.94 kB / 406.7 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1384, allocations: 0 / 406.7 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1384, allocations: 0 / 406.7 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000527/0.139, allocations: 398.2 kB / 407 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.139, allocations: 0 / 407 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.652e-05/0.139, allocations: 27.92 kB / 407.1 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.139, allocations: 0 / 407.1 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1391, allocations: 7.938 kB / 407.1 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1391, allocations: 4 kB / 407.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1391, allocations: 0 / 407.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.1393, allocations: 195.5 kB / 407.3 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.533e-05/0.1394, allocations: 105 kB / 407.4 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.1394, allocations: 3.984 kB / 407.4 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.289e-05/0.1395, allocations: 0 / 407.4 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.1395, allocations: 12 kB / 407.4 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.855e-05/0.1395, allocations: 11.98 kB / 407.4 MB, free: 8.078 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.143e-05/0.1396, allocations: 91.27 kB / 407.5 MB, free: 7.988 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1396, allocations: 4 kB / 407.5 MB, free: 7.984 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003517/0.14, allocations: 59.88 kB / 407.6 MB, free: 7.926 MB / 334.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.0007398/0.1407, allocations: 0.7905 MB / 408.3 MB, free: 7.109 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.1409, allocations: 84.52 kB / 408.4 MB, free: 7.027 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1409, allocations: 3.938 kB / 408.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.874e-05/0.141, allocations: 40.17 kB / 408.5 MB, free: 6.984 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.1414, allocations: 40.28 kB / 408.5 MB, free: 6.945 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.1432, allocations: 1.577 MB / 410.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.1436, allocations: 0.7005 MB / 410.8 MB, free: 4.531 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.1437, allocations: 32.72 kB / 410.8 MB, free: 4.496 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.721e-05/0.1438, allocations: 23.44 kB / 410.8 MB, free: 4.477 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1438, allocations: 4 kB / 410.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/0.171, allocations: 3.789 MB / 414.6 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.855/8.026, allocations: 11.92 kB / 414.6 MB, free: 0.6211 MB / 334.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable medium.T in file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable medium.T from file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! Error: Could not read variable s in file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable s from file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! Error: Could not read variable u in file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable u from file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.654399001999991]