Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009127/0.0009129, allocations: 174.8 kB / 16.72 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007522/0.0007523, allocations: 93.39 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3078/0.3078, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003553, allocations: 12 kB / 432.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1025, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3078/0.4103, allocations: 137 MB / 0.6132 GB, free: 13.83 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.4127, allocations: 1.937 MB / 0.615 GB, free: 11.9 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.754e-05/0.4128, allocations: 5.25 kB / 0.6151 GB, free: 11.89 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.4131, allocations: 50.16 kB / 0.6151 GB, free: 11.85 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.4145, allocations: 0.5314 MB / 0.6156 GB, free: 11.32 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.4148, allocations: 91.8 kB / 0.6157 GB, free: 11.23 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003656/0.4152, allocations: 306.9 kB / 0.616 GB, free: 10.93 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.171e-05/0.4153, allocations: 10.92 kB / 0.616 GB, free: 10.92 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.4155, allocations: 123.5 kB / 0.6161 GB, free: 10.8 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.4157, allocations: 99.72 kB / 0.6162 GB, free: 10.7 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.4158, allocations: 4 kB / 0.6162 GB, free: 10.7 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.4177, allocations: 1.267 MB / 0.6175 GB, free: 9.426 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.4179, allocations: 87.75 kB / 0.6175 GB, free: 9.34 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.418, allocations: 121.3 kB / 0.6177 GB, free: 9.215 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007646/0.4188, allocations: 0.493 MB / 0.6181 GB, free: 8.723 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4188, allocations: 0 / 0.6181 GB, free: 8.723 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.278e-06/0.4188, allocations: 6.703 kB / 0.6182 GB, free: 8.719 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.4188, allocations: 4 kB / 0.6182 GB, free: 8.715 MB / 442.7 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.0007356/0.4196, allocations: 463.1 kB / 0.6186 GB, free: 8.219 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.4196, allocations: 12.03 kB / 0.6186 GB, free: 8.207 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.139e-05/0.4197, allocations: 50.73 kB / 0.6187 GB, free: 8.148 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006788/0.4265, allocations: 0.7284 MB / 0.6194 GB, free: 7.426 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.4269, allocations: 276.1 kB / 0.6196 GB, free: 7.117 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.427, allocations: 16.64 kB / 0.6196 GB, free: 7.102 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.4271, allocations: 23.84 kB / 0.6197 GB, free: 7.078 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.4285, allocations: 0.7072 MB / 0.6204 GB, free: 6.359 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.4286, allocations: 0 / 0.6204 GB, free: 6.359 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.509e-05/0.4286, allocations: 8 kB / 0.6204 GB, free: 6.352 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/0.4287, allocations: 12 kB / 0.6204 GB, free: 6.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.4307, allocations: 0.9212 MB / 0.6213 GB, free: 5.418 MB / 442.7 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.004744/0.4354, allocations: 1.994 MB / 0.6232 GB, free: 3.258 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.4365, allocations: 0.5058 MB / 0.6237 GB, free: 2.734 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006238/0.4372, allocations: 329.4 kB / 0.624 GB, free: 2.406 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006656/0.4379, allocations: 262.1 kB / 0.6243 GB, free: 2.113 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.4379, allocations: 43.59 kB / 0.6243 GB, free: 2.062 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 2.304e-06/0.4379, allocations: 0 / 0.6243 GB, free: 2.062 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.002096/0.44, allocations: 0.8971 MB / 0.6252 GB, free: 1.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.4401, allocations: 81.11 kB / 0.6253 GB, free: 1.062 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.4402, allocations: 129.8 kB / 0.6254 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.339e-05/0.4402, allocations: 29.7 kB / 0.6254 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.4403, allocations: 116.4 kB / 0.6255 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.4404, allocations: 99.22 kB / 0.6256 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/0.4405, allocations: 12 kB / 0.6256 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.4406, allocations: 330.8 kB / 0.626 GB, free: 340 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000599/0.4412, allocations: 291.8 kB / 0.6262 GB, free: 48 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006958/0.4419, allocations: 396.6 kB / 0.6266 GB, free: 15.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.4432, allocations: 0.6941 MB / 0.6273 GB, free: 14.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.4432, allocations: 0 / 0.6273 GB, free: 14.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001572/0.4448, allocations: 0.7545 MB / 0.628 GB, free: 14.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4448, allocations: 12.59 kB / 0.628 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.4449, allocations: 4 kB / 0.6281 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.4449, allocations: 4 kB / 0.6281 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.4459, allocations: 99.84 kB / 0.6282 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.4459, allocations: 7.938 kB / 0.6282 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000873/0.4468, allocations: 59.66 kB / 0.6282 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.943e-05/0.4469, allocations: 22.56 kB / 0.6282 GB, free: 13.91 MB / 458.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000207/0.4471, allocations: 149.7 kB / 0.6284 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.4473, allocations: 15.84 kB / 0.6284 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/0.4492, allocations: 0.7799 MB / 0.6292 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.4492, allocations: 0 / 0.6292 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.4492, allocations: 4 kB / 0.6292 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.4492, allocations: 0 / 0.6292 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.4503, allocations: 0.8039 MB / 0.6299 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4503, allocations: 0 / 0.6299 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.4513, allocations: 83.84 kB / 0.63 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.4513, allocations: 0 / 0.63 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.441e-05/0.4514, allocations: 19.98 kB / 0.63 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4514, allocations: 0 / 0.63 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4514, allocations: 0 / 0.63 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.4533, allocations: 0.9571 MB / 0.631 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-05/0.4534, allocations: 104.8 kB / 0.6311 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.255e-05/0.4535, allocations: 11.94 kB / 0.6311 GB, free: 10.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009437/0.4545, allocations: 39.95 kB / 0.6311 GB, free: 10.81 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.4545, allocations: 11.98 kB / 0.6311 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.656e-05/0.4546, allocations: 23.97 kB / 0.6312 GB, free: 10.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.038e-05/0.4547, allocations: 95.27 kB / 0.6313 GB, free: 10.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4547, allocations: 0 / 0.6313 GB, free: 10.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007009/0.4554, allocations: 183.9 kB / 0.6314 GB, free: 10.5 MB / 458.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002942/0.4584, allocations: 1.752 MB / 0.6331 GB, free: 8.723 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.4598, allocations: 0.6448 MB / 0.6338 GB, free: 8.078 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4598, allocations: 4 kB / 0.6338 GB, free: 8.074 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000642/0.4604, allocations: 332.5 kB / 0.6341 GB, free: 7.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00071/0.4611, allocations: 93.44 kB / 0.6342 GB, free: 7.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004034/0.4652, allocations: 2.403 MB / 0.6365 GB, free: 5.164 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.4655, allocations: 0.7329 MB / 0.6372 GB, free: 4.406 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004822/0.466, allocations: 79.38 kB / 0.6373 GB, free: 4.328 MB / 458.7 MB Notification: Performance of SimCode: time 4.51e-07/0.466, allocations: 0 / 0.6373 GB, free: 4.328 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.477/3.942, allocations: 8.339 MB / 0.6455 GB, free: 11.96 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches