Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001239/0.001239, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001491/0.001491, allocations: 214.6 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 230.5 MB / 257.4 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2261/0.2261, allocations: 46.95 MB / 360.8 MB, free: 3.945 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 75.88 kB / 0.4961 GB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3265, allocations: 66.08 MB / 0.5607 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1642/0.4906, allocations: 131.6 MB / 0.6892 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00265/0.4933, allocations: 1.967 MB / 0.6911 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.168e-05/0.4934, allocations: 4 kB / 0.6911 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.4937, allocations: 51.73 kB / 0.6912 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.4953, allocations: 0.6414 MB / 0.6918 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.4956, allocations: 103.8 kB / 0.6919 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003492/0.496, allocations: 259 kB / 0.6922 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.496, allocations: 8 kB / 0.6922 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002826/0.4963, allocations: 151.4 kB / 0.6923 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.4965, allocations: 99.62 kB / 0.6924 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.4965, allocations: 8 kB / 0.6924 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.4979, allocations: 0.7597 MB / 0.6932 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.498, allocations: 87.75 kB / 0.6932 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.4981, allocations: 83.66 kB / 0.6933 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009867/0.4991, allocations: 0.6526 MB / 0.694 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4991, allocations: 0 / 0.694 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4991, allocations: 0 / 0.694 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.4991, allocations: 4 kB / 0.694 GB, free: 11.06 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007929/0.4999, allocations: 437.4 kB / 0.6944 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.5, allocations: 12.03 kB / 0.6944 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.041e-05/0.5, allocations: 54.67 kB / 0.6945 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.502, allocations: 280.5 kB / 0.6947 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004877/0.5025, allocations: 221.8 kB / 0.6949 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.5025, allocations: 16.31 kB / 0.6949 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.611e-05/0.5026, allocations: 24 kB / 0.695 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009117/0.5035, allocations: 0.6357 MB / 0.6956 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.5035, allocations: 0 / 0.6956 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-05/0.5035, allocations: 12 kB / 0.6956 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.5036, allocations: 8 kB / 0.6956 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008887/0.5044, allocations: 0.5777 MB / 0.6962 GB, free: 8.691 MB / 0.5294 GB 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.002346/0.5068, allocations: 0.9366 MB / 0.6971 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004072/0.5072, allocations: 241 kB / 0.6973 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.5075, allocations: 185.6 kB / 0.6975 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008089/0.5083, allocations: 148 kB / 0.6976 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.5083, allocations: 46.56 kB / 0.6977 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/0.5083, allocations: 0 / 0.6977 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.001953/0.5103, allocations: 0.5981 MB / 0.6983 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.5103, allocations: 85.05 kB / 0.6983 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.5104, allocations: 125.8 kB / 0.6985 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/0.5105, allocations: 33.7 kB / 0.6985 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.282e-05/0.5106, allocations: 120.5 kB / 0.6986 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.5107, allocations: 111 kB / 0.6987 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.5108, allocations: 77.47 kB / 0.6988 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.511, allocations: 326.8 kB / 0.6991 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.5113, allocations: 183.9 kB / 0.6993 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/0.5117, allocations: 288.7 kB / 0.6996 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008248/0.5126, allocations: 491.2 kB / 0.7 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.5126, allocations: 0 / 0.7 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009691/0.5135, allocations: 0.5208 MB / 0.7005 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.5135, allocations: 4 kB / 0.7005 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.5136, allocations: 4 kB / 0.7005 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.5136, allocations: 8 kB / 0.7005 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005463/0.5141, allocations: 88.22 kB / 0.7006 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.5141, allocations: 8 kB / 0.7006 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.5145, allocations: 35.77 kB / 0.7007 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.5146, allocations: 20 kB / 0.7007 GB, free: 3.828 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * 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.0001973/0.5148, allocations: 145.6 kB / 0.7008 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.5149, allocations: 19.91 kB / 0.7008 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009786/0.5159, allocations: 493.9 kB / 0.7013 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.5159, allocations: 4 kB / 0.7013 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5159, allocations: 3.938 kB / 0.7013 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.5159, allocations: 4 kB / 0.7013 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007078/0.5166, allocations: 381.1 kB / 0.7017 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.5166, allocations: 3.984 kB / 0.7017 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004857/0.5171, allocations: 59.91 kB / 0.7018 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.5171, allocations: 4 kB / 0.7018 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-05/0.5171, allocations: 11.98 kB / 0.7018 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5171, allocations: 0 / 0.7018 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.5171, allocations: 3.938 kB / 0.7018 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.5182, allocations: 0.6943 MB / 0.7025 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.5183, allocations: 15.89 kB / 0.7025 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/0.5183, allocations: 11.98 kB / 0.7025 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000486/0.5188, allocations: 23.97 kB / 0.7025 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.5189, allocations: 19.97 kB / 0.7025 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/0.5189, allocations: 19.98 kB / 0.7025 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.024e-05/0.519, allocations: 103.2 kB / 0.7026 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.519, allocations: 0 / 0.7026 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006608/0.5196, allocations: 167.6 kB / 0.7028 GB, free: 1.598 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T) * 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 (28): * Single equations (assignments): 28 * 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.00213/0.5218, allocations: 1.466 MB / 0.7042 GB, free: 104 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008738/0.5226, allocations: 424 kB / 0.7046 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5226, allocations: 0 / 0.7046 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.523, allocations: 208 kB / 0.7048 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007086/0.5237, allocations: 96.72 kB / 0.7049 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004636/0.5284, allocations: 3.228 MB / 0.7081 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.5285, allocations: 138.8 kB / 0.7082 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004869/0.529, allocations: 105.8 kB / 0.7083 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.5292, allocations: 59.42 kB / 0.7084 GB, free: 11.68 MB / 0.545 GB Notification: Performance of SimCode: time 1.262e-06/0.5292, allocations: 4 kB / 0.7084 GB, free: 11.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04163/0.5708, allocations: 11.36 MB / 0.7195 GB, free: 492 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.15, allocations: 6.094 kB / 0.7195 GB, free: 488 kB / 0.545 GB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable medium2.p in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.T in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.T from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.p in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.p from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.277035519946367]