Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.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.001787/0.001787, allocations: 104.3 kB / 19.7 MB, free: 2.059 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.002184/0.002184, allocations: 212.1 kB / 22.99 MB, free: 4.879 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.791/1.791, allocations: 207.7 MB / 233.8 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2394/0.2394, allocations: 44.27 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",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.002308/0.002308, allocations: 73.61 kB / 467.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1544, allocations: 61.05 MB / 0.5161 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4633/0.6177, allocations: 129.9 MB / 0.643 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003818/0.6215, allocations: 1.875 MB / 0.6448 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.6216, allocations: 0 / 0.6448 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000431/0.622, allocations: 51.73 kB / 0.6448 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.6244, allocations: 0.6219 MB / 0.6455 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.6249, allocations: 111.7 kB / 0.6456 GB, free: 14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005304/0.6254, allocations: 263 kB / 0.6458 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.533e-05/0.6255, allocations: 7.984 kB / 0.6458 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000456/0.6259, allocations: 139.4 kB / 0.646 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003226/0.6263, allocations: 95.64 kB / 0.646 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.595e-05/0.6263, allocations: 8 kB / 0.6461 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002178/0.6285, allocations: 0.7402 MB / 0.6468 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.6287, allocations: 83.81 kB / 0.6469 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.6288, allocations: 95.58 kB / 0.6469 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.6304, allocations: 0.6295 MB / 0.6476 GB, free: 11.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6304, allocations: 0 / 0.6476 GB, free: 11.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6304, allocations: 0 / 0.6476 GB, free: 11.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.6305, allocations: 0 / 0.6476 GB, free: 11.95 MB / 494.1 MB 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.001237/0.6317, allocations: 445.4 kB / 0.648 GB, free: 11.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.6318, allocations: 8.031 kB / 0.648 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.584e-05/0.6318, allocations: 52.86 kB / 0.648 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002783/0.6346, allocations: 268.5 kB / 0.6483 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006542/0.6353, allocations: 222.3 kB / 0.6485 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.6353, allocations: 8.703 kB / 0.6485 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.6354, allocations: 31.83 kB / 0.6486 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.6367, allocations: 0.6396 MB / 0.6492 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.6367, allocations: 0 / 0.6492 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.342e-05/0.6368, allocations: 15.94 kB / 0.6492 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/0.6368, allocations: 11.94 kB / 0.6492 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.6382, allocations: 0.5828 MB / 0.6498 GB, free: 9.574 MB / 494.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.003256/0.6414, allocations: 0.9328 MB / 0.6507 GB, free: 8.594 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006145/0.6421, allocations: 241 kB / 0.6509 GB, free: 8.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003996/0.6425, allocations: 185.5 kB / 0.6511 GB, free: 8.152 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/0.6435, allocations: 120.8 kB / 0.6512 GB, free: 8.035 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.474e-05/0.6435, allocations: 38.91 kB / 0.6512 GB, free: 7.988 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 3.517e-06/0.6435, allocations: 0 / 0.6512 GB, free: 7.988 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.002988/0.6465, allocations: 0.5984 MB / 0.6518 GB, free: 7.387 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.996e-05/0.6466, allocations: 81.11 kB / 0.6519 GB, free: 7.289 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.6468, allocations: 131 kB / 0.652 GB, free: 7.152 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.006e-05/0.6469, allocations: 33.7 kB / 0.6521 GB, free: 7.113 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.6471, allocations: 116.5 kB / 0.6522 GB, free: 6.996 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.6472, allocations: 107.2 kB / 0.6523 GB, free: 6.891 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002505/0.6475, allocations: 69.69 kB / 0.6523 GB, free: 6.816 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002566/0.6477, allocations: 322.8 kB / 0.6526 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004817/0.6482, allocations: 187.9 kB / 0.6528 GB, free: 6.309 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006156/0.6488, allocations: 288.7 kB / 0.6531 GB, free: 5.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.6499, allocations: 0.4901 MB / 0.6536 GB, free: 5.445 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.6499, allocations: 0 / 0.6536 GB, free: 5.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001455/0.6514, allocations: 0.5169 MB / 0.6541 GB, free: 4.922 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.6514, allocations: 4 kB / 0.6541 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/0.6515, allocations: 4.75 kB / 0.6541 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.072e-05/0.6515, allocations: 8 kB / 0.6541 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007784/0.6523, allocations: 83.83 kB / 0.6542 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.513e-05/0.6523, allocations: 9.266 kB / 0.6542 GB, free: 4.816 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005887/0.6529, allocations: 35.77 kB / 0.6542 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.653, allocations: 23.98 kB / 0.6542 GB, free: 4.758 MB / 494.1 MB 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.0003314/0.6534, allocations: 145.8 kB / 0.6544 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.6536, allocations: 31.47 kB / 0.6544 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.6549, allocations: 491.5 kB / 0.6549 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.655, allocations: 3.938 kB / 0.6549 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.655, allocations: 4 kB / 0.6549 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.655, allocations: 3.984 kB / 0.6549 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.656, allocations: 393.1 kB / 0.6553 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.656, allocations: 0 / 0.6553 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006908/0.6567, allocations: 59.89 kB / 0.6553 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.6567, allocations: 4 kB / 0.6553 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-05/0.6568, allocations: 8 kB / 0.6553 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.6568, allocations: 0 / 0.6553 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.6568, allocations: 8.078 kB / 0.6553 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.6586, allocations: 0.6994 MB / 0.656 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.709e-05/0.6587, allocations: 19.83 kB / 0.656 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.907e-05/0.6588, allocations: 8 kB / 0.6561 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006717/0.6594, allocations: 23.95 kB / 0.6561 GB, free: 2.812 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/0.6595, allocations: 19.97 kB / 0.6561 GB, free: 2.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.972e-05/0.6596, allocations: 19.98 kB / 0.6561 GB, free: 2.773 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001144/0.6597, allocations: 100.3 kB / 0.6562 GB, free: 2.676 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6597, allocations: 4 kB / 0.6562 GB, free: 2.672 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001043/0.6607, allocations: 155.7 kB / 0.6564 GB, free: 2.52 MB / 494.1 MB 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.003087/0.6638, allocations: 1.457 MB / 0.6578 GB, free: 1.027 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.665, allocations: 419.6 kB / 0.6582 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.665, allocations: 0.8125 kB / 0.6582 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005198/0.6655, allocations: 211.8 kB / 0.6584 GB, free: 420 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.6665, allocations: 91.73 kB / 0.6585 GB, free: 332 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006418/0.6729, allocations: 3.237 MB / 0.6616 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.6731, allocations: 127.1 kB / 0.6618 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007425/0.6739, allocations: 109.8 kB / 0.6619 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.6741, allocations: 63.41 kB / 0.6619 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.6741, allocations: 0 / 0.6619 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05578/0.7299, allocations: 11.41 MB / 0.6731 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12.09, allocations: 15.73 kB / 0.6731 GB, free: 1.191 MB / 0.4981 GB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.T in file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.T from file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.p in file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.p from file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.694313779938966]