Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001251/0.001251, allocations: 114.2 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 205.8 kB / 18.26 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2327/0.2327, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 67.83 kB / 417.1 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.149, allocations: 62.45 MB / 479.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4845/0.6334, allocations: 150.5 MB / 0.6153 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003095/0.6366, allocations: 2.177 MB / 0.6174 GB, free: 11.06 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.6368, allocations: 3.938 kB / 0.6174 GB, free: 11.06 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.6372, allocations: 58.27 kB / 0.6175 GB, free: 11 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.6391, allocations: 0.5758 MB / 0.618 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.6395, allocations: 107 kB / 0.6182 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004467/0.6399, allocations: 262.6 kB / 0.6184 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.321e-05/0.64, allocations: 10.72 kB / 0.6184 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004316/0.6404, allocations: 139.5 kB / 0.6185 GB, free: 9.926 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.6407, allocations: 103.7 kB / 0.6186 GB, free: 9.824 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.6408, allocations: 12 kB / 0.6187 GB, free: 9.812 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.6431, allocations: 1.095 MB / 0.6197 GB, free: 8.715 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.6432, allocations: 91.69 kB / 0.6198 GB, free: 8.625 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.6434, allocations: 95.64 kB / 0.6199 GB, free: 8.531 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001956/0.6454, allocations: 0.7598 MB / 0.6206 GB, free: 7.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.6454, allocations: 4 kB / 0.6206 GB, free: 7.766 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.6454, allocations: 3.938 kB / 0.6207 GB, free: 7.762 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.6454, allocations: 0 / 0.6207 GB, free: 7.762 MB / 462.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.001138/0.6466, allocations: 0.5038 MB / 0.6211 GB, free: 7.211 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.6466, allocations: 12.03 kB / 0.6212 GB, free: 7.199 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.922e-05/0.6467, allocations: 46.73 kB / 0.6212 GB, free: 7.145 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007189/0.6539, allocations: 0.7423 MB / 0.6219 GB, free: 6.402 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.6544, allocations: 280 kB / 0.6222 GB, free: 6.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.6545, allocations: 20.27 kB / 0.6222 GB, free: 6.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.6546, allocations: 23.98 kB / 0.6222 GB, free: 6.047 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.6561, allocations: 0.6889 MB / 0.6229 GB, free: 5.348 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.6561, allocations: 0 / 0.6229 GB, free: 5.348 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.552e-05/0.6562, allocations: 16 kB / 0.6229 GB, free: 5.332 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.064e-05/0.6563, allocations: 11.98 kB / 0.6229 GB, free: 5.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002033/0.6583, allocations: 0.9134 MB / 0.6238 GB, free: 4.406 MB / 462.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.00521/0.6635, allocations: 2.012 MB / 0.6258 GB, free: 2.211 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.6647, allocations: 0.5008 MB / 0.6263 GB, free: 1.691 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006573/0.6654, allocations: 325.6 kB / 0.6266 GB, free: 1.367 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009303/0.6663, allocations: 380.2 kB / 0.627 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.6664, allocations: 34.56 kB / 0.627 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.265e-06/0.6664, allocations: 0 / 0.627 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002225/0.6686, allocations: 0.8931 MB / 0.6279 GB, free: 0 / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.6687, allocations: 85.09 kB / 0.6279 GB, free: 15.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.6688, allocations: 133.7 kB / 0.6281 GB, free: 15.76 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-05/0.6689, allocations: 29.7 kB / 0.6281 GB, free: 15.72 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.618e-05/0.669, allocations: 120.3 kB / 0.6282 GB, free: 15.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.6691, allocations: 106.5 kB / 0.6283 GB, free: 15.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.6694, allocations: 73.67 kB / 0.6284 GB, free: 15.42 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.6695, allocations: 330.8 kB / 0.6287 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006532/0.6701, allocations: 295.8 kB / 0.629 GB, free: 14.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007516/0.6709, allocations: 400.5 kB / 0.6294 GB, free: 14.36 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.6723, allocations: 0.6963 MB / 0.63 GB, free: 13.62 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.6723, allocations: 7.938 kB / 0.63 GB, free: 13.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001681/0.674, allocations: 0.7422 MB / 0.6308 GB, free: 12.87 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.674, allocations: 6.656 kB / 0.6308 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.6741, allocations: 5.188 kB / 0.6308 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.6741, allocations: 7.938 kB / 0.6308 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.6752, allocations: 103.8 kB / 0.6309 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.6752, allocations: 7.984 kB / 0.6309 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000899/0.6761, allocations: 51.91 kB / 0.6309 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.293e-05/0.6762, allocations: 23.98 kB / 0.631 GB, free: 12.67 MB / 478.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.0002524/0.6764, allocations: 145.6 kB / 0.6311 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.6766, allocations: 15.81 kB / 0.6311 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/0.6786, allocations: 0.7833 MB / 0.6319 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.6786, allocations: 7.938 kB / 0.6319 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.6786, allocations: 0 / 0.6319 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.6786, allocations: 0 / 0.6319 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.6797, allocations: 0.81 MB / 0.6327 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6797, allocations: 0 / 0.6327 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.6808, allocations: 79.92 kB / 0.6328 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.6808, allocations: 4 kB / 0.6328 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.186e-05/0.6809, allocations: 15.97 kB / 0.6328 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.6809, allocations: 3.938 kB / 0.6328 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.6809, allocations: 4 kB / 0.6328 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.6829, allocations: 0.9512 MB / 0.6337 GB, free: 9.723 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.683, allocations: 92.95 kB / 0.6338 GB, free: 9.613 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.854e-05/0.6831, allocations: 11.98 kB / 0.6338 GB, free: 9.602 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009575/0.6841, allocations: 39.86 kB / 0.6339 GB, free: 9.562 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.6842, allocations: 16.06 kB / 0.6339 GB, free: 9.547 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.257e-05/0.6842, allocations: 23.91 kB / 0.6339 GB, free: 9.523 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.287e-05/0.6843, allocations: 105.9 kB / 0.634 GB, free: 9.422 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6843, allocations: 3.938 kB / 0.634 GB, free: 9.418 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008252/0.6852, allocations: 179.9 kB / 0.6342 GB, free: 9.242 MB / 478.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.003277/0.6885, allocations: 1.759 MB / 0.6359 GB, free: 7.457 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.69, allocations: 0.6719 MB / 0.6365 GB, free: 6.785 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.69, allocations: 4.188 kB / 0.6366 GB, free: 6.781 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006945/0.6907, allocations: 334.3 kB / 0.6369 GB, free: 6.457 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007521/0.6914, allocations: 89.28 kB / 0.637 GB, free: 6.371 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006171/0.6976, allocations: 3.742 MB / 0.6406 GB, free: 2.457 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.698, allocations: 0.7363 MB / 0.6413 GB, free: 1.691 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001334/0.6993, allocations: 173.8 kB / 0.6415 GB, free: 1.52 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003474/0.6997, allocations: 67.39 kB / 0.6416 GB, free: 1.453 MB / 478.1 MB Notification: Performance of SimCode: time 8.22e-07/0.6997, allocations: 0 / 0.6416 GB, free: 1.453 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.7289, allocations: 12.61 MB / 0.6539 GB, free: 4.922 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/0.7291, allocations: 186.7 kB / 0.6541 GB, free: 4.672 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/2.88, allocations: 0 / 0.6541 GB, free: 4.672 MB / 494.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches