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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 108.2 kB / 17.21 MB, free: 6.285 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.001848/0.001847, allocations: 194 kB / 18.12 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2185/0.2185, allocations: 44.18 MB / 336.1 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 65.88 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1481, allocations: 60.83 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5021/0.6503, allocations: 147.5 MB / 0.6017 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0031/0.6534, allocations: 2.248 MB / 0.6039 GB, free: 11.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.6536, allocations: 0 / 0.6039 GB, free: 11.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.654, allocations: 47.78 kB / 0.6039 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.6559, allocations: 0.5805 MB / 0.6045 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.6563, allocations: 94.16 kB / 0.6046 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000516/0.6568, allocations: 370.9 kB / 0.6049 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.509e-05/0.6569, allocations: 6.25 kB / 0.6049 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000382/0.6573, allocations: 127.5 kB / 0.605 GB, free: 10.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.6576, allocations: 107.6 kB / 0.6052 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.035e-05/0.6576, allocations: 4 kB / 0.6052 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.6599, allocations: 1.224 MB / 0.6064 GB, free: 8.977 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.6601, allocations: 75.83 kB / 0.6064 GB, free: 8.902 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.6602, allocations: 95.58 kB / 0.6065 GB, free: 8.809 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.6619, allocations: 0.7676 MB / 0.6073 GB, free: 8.039 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6619, allocations: 0 / 0.6073 GB, free: 8.039 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6619, allocations: 0 / 0.6073 GB, free: 8.039 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.6619, allocations: 0 / 0.6073 GB, free: 8.039 MB / 446.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.001072/0.663, allocations: 0.4962 MB / 0.6077 GB, free: 7.496 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.6631, allocations: 12.03 kB / 0.6078 GB, free: 7.484 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.887e-05/0.6632, allocations: 54.73 kB / 0.6078 GB, free: 7.422 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007549/0.6707, allocations: 0.7462 MB / 0.6085 GB, free: 6.676 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006866/0.6715, allocations: 280 kB / 0.6088 GB, free: 6.363 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.6715, allocations: 16.27 kB / 0.6088 GB, free: 6.348 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.6717, allocations: 16 kB / 0.6088 GB, free: 6.332 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.6734, allocations: 0.6996 MB / 0.6095 GB, free: 5.621 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.6734, allocations: 0 / 0.6095 GB, free: 5.621 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.991e-05/0.6735, allocations: 8 kB / 0.6095 GB, free: 5.613 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.023e-05/0.6736, allocations: 11.94 kB / 0.6095 GB, free: 5.602 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.6757, allocations: 0.9134 MB / 0.6104 GB, free: 4.688 MB / 446.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.005319/0.681, allocations: 2.009 MB / 0.6124 GB, free: 2.492 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.6822, allocations: 0.5086 MB / 0.6129 GB, free: 1.965 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006697/0.6829, allocations: 325.6 kB / 0.6132 GB, free: 1.641 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/0.684, allocations: 375.2 kB / 0.6136 GB, free: 1.219 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.684, allocations: 38.56 kB / 0.6136 GB, free: 1.172 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.454e-06/0.6841, allocations: 0 / 0.6136 GB, free: 1.172 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.002411/0.6865, allocations: 0.895 MB / 0.6145 GB, free: 280 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.457e-05/0.6866, allocations: 81.11 kB / 0.6145 GB, free: 180 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.6867, allocations: 138.3 kB / 0.6147 GB, free: 32 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.6869, allocations: 29.78 kB / 0.6147 GB, free: 15.99 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.687, allocations: 120.3 kB / 0.6148 GB, free: 15.87 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.6872, allocations: 102.5 kB / 0.6149 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.6874, allocations: 69.67 kB / 0.615 GB, free: 15.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.6876, allocations: 326.8 kB / 0.6153 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006828/0.6883, allocations: 299.8 kB / 0.6156 GB, free: 15.07 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007873/0.6891, allocations: 405.3 kB / 0.616 GB, free: 14.63 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.6905, allocations: 0.6957 MB / 0.6167 GB, free: 13.89 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/0.6905, allocations: 3.938 kB / 0.6167 GB, free: 13.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001653/0.6922, allocations: 0.7416 MB / 0.6174 GB, free: 13.14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.6922, allocations: 8.031 kB / 0.6174 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.6922, allocations: 4 kB / 0.6174 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.6923, allocations: 4 kB / 0.6174 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.6933, allocations: 107.8 kB / 0.6175 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.6933, allocations: 4 kB / 0.6175 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008347/0.6942, allocations: 51.75 kB / 0.6175 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-05/0.6943, allocations: 20.86 kB / 0.6176 GB, free: 12.95 MB / 462.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.0002377/0.6945, allocations: 153.6 kB / 0.6177 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.6947, allocations: 19.8 kB / 0.6177 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/0.6967, allocations: 0.7781 MB / 0.6185 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.6967, allocations: 4 kB / 0.6185 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.6967, allocations: 0 / 0.6185 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.6967, allocations: 2.875 kB / 0.6185 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.698, allocations: 0.8093 MB / 0.6193 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.698, allocations: 3.938 kB / 0.6193 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.6991, allocations: 79.91 kB / 0.6194 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.6991, allocations: 11.94 kB / 0.6194 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7e-05/0.6992, allocations: 11.98 kB / 0.6194 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.6992, allocations: 0 / 0.6194 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6992, allocations: 4 kB / 0.6194 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/0.7013, allocations: 0.9495 MB / 0.6203 GB, free: 9.996 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.792e-05/0.7013, allocations: 92.95 kB / 0.6204 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.744e-05/0.7015, allocations: 11.98 kB / 0.6204 GB, free: 9.875 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009422/0.7024, allocations: 39.86 kB / 0.6205 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.7025, allocations: 11.98 kB / 0.6205 GB, free: 9.824 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-05/0.7026, allocations: 23.97 kB / 0.6205 GB, free: 9.801 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.446e-05/0.7026, allocations: 101 kB / 0.6206 GB, free: 9.703 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7026, allocations: 3.938 kB / 0.6206 GB, free: 9.699 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008932/0.7035, allocations: 184 kB / 0.6208 GB, free: 9.52 MB / 462.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.003382/0.7069, allocations: 1.746 MB / 0.6225 GB, free: 7.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.7085, allocations: 0.6603 MB / 0.6231 GB, free: 7.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.7085, allocations: 3.938 kB / 0.6231 GB, free: 7.086 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007099/0.7092, allocations: 336.6 kB / 0.6234 GB, free: 6.758 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008014/0.71, allocations: 88.67 kB / 0.6235 GB, free: 6.672 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006537/0.7166, allocations: 3.721 MB / 0.6272 GB, free: 2.797 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.7169, allocations: 0.7518 MB / 0.6279 GB, free: 2.016 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001365/0.7183, allocations: 165.8 kB / 0.6281 GB, free: 1.848 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/0.7187, allocations: 67.39 kB / 0.6281 GB, free: 1.781 MB / 462.1 MB Notification: Performance of SimCode: time 1.293e-06/0.7187, allocations: 0 / 0.6281 GB, free: 1.781 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.7437, allocations: 12.3 MB / 0.6401 GB, free: 5.539 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.744, allocations: 187.7 kB / 0.6403 GB, free: 5.285 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.074/2.818, allocations: 0 / 0.6403 GB, free: 5.285 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/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) Reference file matches