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.001657/0.001657, allocations: 106.4 kB / 17.78 MB, free: 5.289 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.001329/0.001329, allocations: 187.1 kB / 18.7 MB, free: 4.371 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.437/1.437, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2212/0.2212, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 63.89 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4224, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.166/0.5884, allocations: 149.7 MB / 0.6646 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002572/0.591, allocations: 2.192 MB / 0.6667 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.257e-05/0.5911, allocations: 0 / 0.6667 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.5915, allocations: 63.66 kB / 0.6668 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.5931, allocations: 0.6205 MB / 0.6674 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.5934, allocations: 99.73 kB / 0.6675 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003793/0.5938, allocations: 267 kB / 0.6677 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.667e-05/0.5939, allocations: 7.984 kB / 0.6678 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003246/0.5942, allocations: 135.5 kB / 0.6679 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.5944, allocations: 87.66 kB / 0.668 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.5945, allocations: 12 kB / 0.668 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.5961, allocations: 0.8495 MB / 0.6688 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.5962, allocations: 87.75 kB / 0.6689 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.5963, allocations: 103.5 kB / 0.669 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.5975, allocations: 0.6508 MB / 0.6696 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5975, allocations: 0 / 0.6696 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5975, allocations: 0 / 0.6696 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.5975, allocations: 0 / 0.6696 GB, free: 0.7188 MB / 0.5137 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.000955/0.5985, allocations: 0.5031 MB / 0.6701 GB, free: 172 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.5985, allocations: 8.031 kB / 0.6701 GB, free: 164 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.314e-05/0.5986, allocations: 54.73 kB / 0.6702 GB, free: 100 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/0.6006, allocations: 272.5 kB / 0.6704 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005487/0.6012, allocations: 283.6 kB / 0.6707 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.6012, allocations: 16.33 kB / 0.6707 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-05/0.6013, allocations: 19.94 kB / 0.6707 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008298/0.6022, allocations: 0.4967 MB / 0.6712 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.6022, allocations: 0 / 0.6712 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.539e-05/0.6022, allocations: 8 kB / 0.6712 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.6023, allocations: 8 kB / 0.6712 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008492/0.6031, allocations: 0.5778 MB / 0.6718 GB, free: 14.38 MB / 0.5294 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.002356/0.6055, allocations: 1.011 MB / 0.6728 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.6059, allocations: 241 kB / 0.673 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.6062, allocations: 193.5 kB / 0.6732 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/0.6072, allocations: 379.2 kB / 0.6736 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.6073, allocations: 42.56 kB / 0.6736 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.924e-06/0.6073, allocations: 0 / 0.6736 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.001891/0.6092, allocations: 0.5914 MB / 0.6742 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.6092, allocations: 85.11 kB / 0.6743 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.6094, allocations: 125.8 kB / 0.6744 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.6094, allocations: 29.7 kB / 0.6744 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/0.6095, allocations: 124.3 kB / 0.6745 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.6096, allocations: 102.5 kB / 0.6746 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.6098, allocations: 69.61 kB / 0.6747 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.61, allocations: 330.8 kB / 0.675 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000331/0.6103, allocations: 183.9 kB / 0.6752 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/0.6107, allocations: 293.5 kB / 0.6755 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007683/0.6115, allocations: 490.8 kB / 0.6759 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.6115, allocations: 0 / 0.6759 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009067/0.6124, allocations: 0.5184 MB / 0.6764 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.6124, allocations: 4 kB / 0.6765 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.6125, allocations: 7.938 kB / 0.6765 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.6125, allocations: 8.406 kB / 0.6765 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005316/0.613, allocations: 83.89 kB / 0.6765 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.6131, allocations: 11.92 kB / 0.6766 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.6134, allocations: 31.77 kB / 0.6766 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.406e-05/0.6135, allocations: 24 kB / 0.6766 GB, free: 9.16 MB / 0.5294 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.000161/0.6137, allocations: 141.7 kB / 0.6767 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.6138, allocations: 15.81 kB / 0.6768 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009024/0.6147, allocations: 494.5 kB / 0.6772 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.6147, allocations: 7.984 kB / 0.6772 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6147, allocations: 0 / 0.6772 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.6147, allocations: 4 kB / 0.6772 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006966/0.6154, allocations: 465.7 kB / 0.6777 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.6155, allocations: 0 / 0.6777 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004926/0.616, allocations: 63.89 kB / 0.6777 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.616, allocations: 0 / 0.6777 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.276e-05/0.616, allocations: 8 kB / 0.6778 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.616, allocations: 4 kB / 0.6778 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.616, allocations: 0 / 0.6778 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.6171, allocations: 0.6995 MB / 0.6784 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.98e-05/0.6172, allocations: 92.94 kB / 0.6785 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.6172, allocations: 8 kB / 0.6785 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004632/0.6177, allocations: 19.97 kB / 0.6786 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.6177, allocations: 11.98 kB / 0.6786 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/0.6178, allocations: 19.98 kB / 0.6786 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.647e-05/0.6179, allocations: 103.3 kB / 0.6787 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6179, allocations: 0 / 0.6787 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000666/0.6185, allocations: 163.8 kB / 0.6788 GB, free: 6.77 MB / 0.5294 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.0021/0.6206, allocations: 1.46 MB / 0.6803 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007685/0.6214, allocations: 447.6 kB / 0.6807 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6214, allocations: 0 / 0.6807 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.6218, allocations: 220.5 kB / 0.6809 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006839/0.6225, allocations: 92.48 kB / 0.681 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/0.6268, allocations: 3.217 MB / 0.6841 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.6271, allocations: 0.744 MB / 0.6849 GB, free: 388 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004608/0.6275, allocations: 113.7 kB / 0.685 GB, free: 276 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.6277, allocations: 67.41 kB / 0.685 GB, free: 208 kB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.6278, allocations: 0 / 0.685 GB, free: 208 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03358/0.6613, allocations: 10.42 MB / 0.6952 GB, free: 5.895 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/8.337, allocations: 13.2 kB / 0.6952 GB, free: 5.887 MB / 0.545 GB (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