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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 100.5 kB / 16.4 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 192.1 kB / 17.34 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2274/0.2274, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 63.91 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1387, allocations: 57.8 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4704/0.6092, allocations: 151 MB / 0.6348 GB, free: 4.008 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.6118, allocations: 2.088 MB / 0.6369 GB, free: 1.934 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.612, allocations: 0 / 0.6369 GB, free: 1.934 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.6124, allocations: 51.72 kB / 0.6369 GB, free: 1.883 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.6142, allocations: 0.6142 MB / 0.6375 GB, free: 1.273 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.6146, allocations: 104.7 kB / 0.6376 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004319/0.615, allocations: 263 kB / 0.6379 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.245e-05/0.6151, allocations: 11.98 kB / 0.6379 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003295/0.6154, allocations: 127.5 kB / 0.638 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.6157, allocations: 99.62 kB / 0.6381 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.518e-05/0.6158, allocations: 8 kB / 0.6381 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001693/0.6175, allocations: 0.83 MB / 0.6389 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.6176, allocations: 83.81 kB / 0.639 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.6177, allocations: 95.59 kB / 0.6391 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.6194, allocations: 0.643 MB / 0.6397 GB, free: 15.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.6194, allocations: 0 / 0.6397 GB, free: 15.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6194, allocations: 0 / 0.6397 GB, free: 15.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.6195, allocations: 0 / 0.6397 GB, free: 15.02 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.001886/0.6213, allocations: 0.4992 MB / 0.6402 GB, free: 14.47 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.019e-05/0.6214, allocations: 11.89 kB / 0.6402 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/0.6215, allocations: 54.73 kB / 0.6403 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002298/0.6238, allocations: 268.4 kB / 0.6405 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007479/0.6246, allocations: 276 kB / 0.6408 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.6247, allocations: 16.69 kB / 0.6408 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-05/0.6248, allocations: 19.94 kB / 0.6408 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008161/0.6256, allocations: 0.5044 MB / 0.6413 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.6256, allocations: 0 / 0.6413 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.316e-05/0.6257, allocations: 15.92 kB / 0.6413 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.6257, allocations: 11.98 kB / 0.6413 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000859/0.6266, allocations: 0.5783 MB / 0.6419 GB, free: 12.67 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.002609/0.6292, allocations: 1.008 MB / 0.6429 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.6296, allocations: 244.5 kB / 0.6431 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/0.6299, allocations: 189.5 kB / 0.6433 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007997/0.6307, allocations: 274.2 kB / 0.6436 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/0.6308, allocations: 42.5 kB / 0.6436 GB, free: 10.81 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 1.804e-06/0.6308, allocations: 0 / 0.6436 GB, free: 10.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.002012/0.6328, allocations: 0.5923 MB / 0.6442 GB, free: 10.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.6329, allocations: 85.05 kB / 0.6443 GB, free: 10.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.633, allocations: 129.8 kB / 0.6444 GB, free: 9.977 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.633, allocations: 29.7 kB / 0.6444 GB, free: 9.941 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.6332, allocations: 116.4 kB / 0.6445 GB, free: 9.824 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.6333, allocations: 110.4 kB / 0.6446 GB, free: 9.715 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.6334, allocations: 65.62 kB / 0.6447 GB, free: 9.645 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.6336, allocations: 326.8 kB / 0.645 GB, free: 9.316 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.6339, allocations: 183.9 kB / 0.6452 GB, free: 9.137 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004053/0.6343, allocations: 284.8 kB / 0.6455 GB, free: 8.812 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007497/0.6351, allocations: 0.4899 MB / 0.6459 GB, free: 8.281 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6351, allocations: 4 kB / 0.6459 GB, free: 8.277 MB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009365/0.636, allocations: 0.5206 MB / 0.6464 GB, free: 7.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.6361, allocations: 4 kB / 0.6464 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.6361, allocations: 4 kB / 0.6464 GB, free: 7.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.6361, allocations: 4 kB / 0.6465 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/0.6366, allocations: 79.89 kB / 0.6465 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.6367, allocations: 4 kB / 0.6465 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.637, allocations: 39.67 kB / 0.6466 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.228e-05/0.6371, allocations: 24.27 kB / 0.6466 GB, free: 7.594 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.0001748/0.6373, allocations: 145.7 kB / 0.6467 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.6374, allocations: 19.75 kB / 0.6468 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009797/0.6384, allocations: 0.4884 MB / 0.6472 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.6384, allocations: 7.938 kB / 0.6472 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6384, allocations: 0 / 0.6472 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.6385, allocations: 7.984 kB / 0.6472 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007341/0.6392, allocations: 454.1 kB / 0.6477 GB, free: 6.418 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.6392, allocations: 3.984 kB / 0.6477 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004855/0.6397, allocations: 63.91 kB / 0.6477 GB, free: 6.352 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.6397, allocations: 4 kB / 0.6477 GB, free: 6.348 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/0.6398, allocations: 11.98 kB / 0.6478 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.6398, allocations: 0 / 0.6478 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.6398, allocations: 0 / 0.6478 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.6409, allocations: 0.6987 MB / 0.6484 GB, free: 5.621 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.899e-05/0.6409, allocations: 96.86 kB / 0.6485 GB, free: 5.508 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.224e-05/0.641, allocations: 19.55 kB / 0.6486 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004578/0.6415, allocations: 15.98 kB / 0.6486 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.6415, allocations: 23.97 kB / 0.6486 GB, free: 5.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/0.6416, allocations: 11.98 kB / 0.6486 GB, free: 5.441 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.806e-05/0.6416, allocations: 103.3 kB / 0.6487 GB, free: 5.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6416, allocations: 0 / 0.6487 GB, free: 5.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006846/0.6423, allocations: 151.9 kB / 0.6488 GB, free: 5.191 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.002094/0.6444, allocations: 1.466 MB / 0.6503 GB, free: 3.695 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008104/0.6453, allocations: 443.5 kB / 0.6507 GB, free: 3.266 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6453, allocations: 0 / 0.6507 GB, free: 3.266 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.6456, allocations: 211.8 kB / 0.6509 GB, free: 3.059 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007211/0.6464, allocations: 95.52 kB / 0.651 GB, free: 2.969 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/0.6509, allocations: 3.223 MB / 0.6541 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.6514, allocations: 0.74 MB / 0.6549 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005026/0.6519, allocations: 117.8 kB / 0.655 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.6522, allocations: 59.41 kB / 0.655 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.6522, allocations: 0 / 0.655 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03963/0.6918, allocations: 10.46 MB / 0.6652 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.618, allocations: 7.938 kB / 0.6653 GB, free: 4.164 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/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) Reference file matches