Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001361/0.001361, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001645/0.001645, allocations: 217 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2294/0.2294, allocations: 44.91 MB / 358.8 MB, free: 6.281 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002342/0.002342, allocations: 71.89 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3362, allocations: 65.47 MB / 0.557 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1882/0.5245, allocations: 153.1 MB / 0.7065 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003237/0.5277, allocations: 2.2 MB / 0.7086 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.932e-05/0.5278, allocations: 4 kB / 0.7086 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004266/0.5282, allocations: 55.66 kB / 0.7087 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.5299, allocations: 0.6492 MB / 0.7093 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.5302, allocations: 107.7 kB / 0.7094 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000373/0.5306, allocations: 263 kB / 0.7097 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.153e-05/0.5307, allocations: 4 kB / 0.7097 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.531, allocations: 147.4 kB / 0.7098 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.5312, allocations: 95.7 kB / 0.7099 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.5312, allocations: 8 kB / 0.7099 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.5328, allocations: 0.8962 MB / 0.7108 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.5329, allocations: 87.81 kB / 0.7109 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.5331, allocations: 103.5 kB / 0.711 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009942/0.5341, allocations: 0.6526 MB / 0.7116 GB, free: 8.844 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5341, allocations: 0 / 0.7116 GB, free: 8.844 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5341, allocations: 0 / 0.7116 GB, free: 8.844 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.5341, allocations: 4 kB / 0.7116 GB, free: 8.84 MB / 0.545 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.0007909/0.5349, allocations: 445.4 kB / 0.712 GB, free: 8.375 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.5349, allocations: 12.03 kB / 0.7121 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.318e-05/0.535, allocations: 50.73 kB / 0.7121 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.5369, allocations: 276.5 kB / 0.7124 GB, free: 8.035 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.5374, allocations: 225.8 kB / 0.7126 GB, free: 7.789 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.5374, allocations: 8.328 kB / 0.7126 GB, free: 7.781 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.13e-05/0.5375, allocations: 23.94 kB / 0.7126 GB, free: 7.758 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007948/0.5383, allocations: 0.4928 MB / 0.7131 GB, free: 7.254 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.5383, allocations: 4 kB / 0.7131 GB, free: 7.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.983e-05/0.5383, allocations: 4 kB / 0.7131 GB, free: 7.246 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.421e-05/0.5384, allocations: 8 kB / 0.7131 GB, free: 7.238 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000888/0.5393, allocations: 0.5894 MB / 0.7137 GB, free: 6.648 MB / 0.545 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.002358/0.5416, allocations: 0.9872 MB / 0.7147 GB, free: 5.613 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.542, allocations: 231.3 kB / 0.7149 GB, free: 5.371 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.5423, allocations: 185.6 kB / 0.7151 GB, free: 5.184 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008657/0.5431, allocations: 147.8 kB / 0.7152 GB, free: 5.039 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.5432, allocations: 42.56 kB / 0.7152 GB, free: 4.988 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 2.044e-06/0.5432, allocations: 4 kB / 0.7152 GB, free: 4.984 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001943/0.5451, allocations: 0.5956 MB / 0.7158 GB, free: 4.383 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.5452, allocations: 81.11 kB / 0.7159 GB, free: 4.285 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.5453, allocations: 130.1 kB / 0.716 GB, free: 4.148 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.889e-05/0.5454, allocations: 33.7 kB / 0.7161 GB, free: 4.109 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.694e-05/0.5454, allocations: 116.5 kB / 0.7162 GB, free: 3.992 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.5455, allocations: 119 kB / 0.7163 GB, free: 3.875 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.5457, allocations: 73.41 kB / 0.7163 GB, free: 3.797 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.5458, allocations: 330.8 kB / 0.7167 GB, free: 3.465 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.5462, allocations: 183.9 kB / 0.7168 GB, free: 3.285 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/0.5466, allocations: 293.5 kB / 0.7171 GB, free: 2.953 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008036/0.5474, allocations: 490 kB / 0.7176 GB, free: 2.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.5474, allocations: 0 / 0.7176 GB, free: 2.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001014/0.5484, allocations: 0.5197 MB / 0.7181 GB, free: 1.906 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.5484, allocations: 8 kB / 0.7181 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5485, allocations: 0 / 0.7181 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/0.5485, allocations: 11.98 kB / 0.7181 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/0.549, allocations: 83.88 kB / 0.7182 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.549, allocations: 7.938 kB / 0.7182 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.5494, allocations: 35.77 kB / 0.7182 GB, free: 1.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/0.5495, allocations: 20 kB / 0.7183 GB, free: 1.742 MB / 0.545 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.0001816/0.5496, allocations: 145.9 kB / 0.7184 GB, free: 1.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.5497, allocations: 19.91 kB / 0.7184 GB, free: 1.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000994/0.5507, allocations: 494.4 kB / 0.7189 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.5507, allocations: 4 kB / 0.7189 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5508, allocations: 0 / 0.7189 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.5508, allocations: 4 kB / 0.7189 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007806/0.5515, allocations: 432.8 kB / 0.7193 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5515, allocations: 4 kB / 0.7193 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004927/0.552, allocations: 59.89 kB / 0.7194 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.552, allocations: 4 kB / 0.7194 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.5521, allocations: 12 kB / 0.7194 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5521, allocations: 0 / 0.7194 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5521, allocations: 0 / 0.7194 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.5532, allocations: 0.6917 MB / 0.7201 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.5533, allocations: 23.83 kB / 0.7201 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.725e-05/0.5533, allocations: 8 kB / 0.7201 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006345/0.554, allocations: 23.97 kB / 0.7201 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.554, allocations: 11.97 kB / 0.7201 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.554, allocations: 23.98 kB / 0.7201 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.596e-05/0.5541, allocations: 103.3 kB / 0.7202 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.5541, allocations: 0 / 0.7202 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009715/0.5551, allocations: 171.6 kB / 0.7204 GB, free: 15.46 MB / 0.5606 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.003378/0.5585, allocations: 1.466 MB / 0.7218 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001388/0.5599, allocations: 427.3 kB / 0.7222 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.5599, allocations: 0 / 0.7222 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006133/0.5605, allocations: 215.8 kB / 0.7224 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.5617, allocations: 87.75 kB / 0.7225 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005327/0.5671, allocations: 3.23 MB / 0.7257 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.5675, allocations: 0.7438 MB / 0.7264 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004758/0.568, allocations: 109.8 kB / 0.7265 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.5682, allocations: 63.41 kB / 0.7266 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of SimCode: time 1.212e-06/0.5682, allocations: 0 / 0.7266 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2988/0.867, allocations: 10.74 MB / 0.7371 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.9, allocations: 1.188 kB / 0.7371 GB, free: 178.5 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.T in file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.T from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.p in file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.p from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.064621994002664]