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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 211.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2293/0.2293, allocations: 44.94 MB / 358.8 MB, free: 6.168 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 67.91 kB / 0.493 GB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3344, allocations: 65.47 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1828/0.5171, allocations: 131.6 MB / 0.6855 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002638/0.5198, allocations: 1.982 MB / 0.6874 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.522e-05/0.5198, allocations: 0 / 0.6874 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.5201, allocations: 51.67 kB / 0.6875 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.5216, allocations: 0.6454 MB / 0.6881 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.5219, allocations: 107.5 kB / 0.6882 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.5222, allocations: 259 kB / 0.6884 GB, free: 412 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.5223, allocations: 11.98 kB / 0.6885 GB, free: 400 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.5226, allocations: 147.4 kB / 0.6886 GB, free: 252 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.5227, allocations: 95.7 kB / 0.6887 GB, free: 156 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.5228, allocations: 11.94 kB / 0.6887 GB, free: 144 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.5242, allocations: 0.7636 MB / 0.6894 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.5243, allocations: 83.81 kB / 0.6895 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.5244, allocations: 91.64 kB / 0.6896 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009281/0.5253, allocations: 0.6525 MB / 0.6903 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.5253, allocations: 4 kB / 0.6903 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5253, allocations: 4 kB / 0.6903 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.5253, allocations: 0 / 0.6903 GB, free: 14.54 MB / 0.5294 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.000769/0.5261, allocations: 437.5 kB / 0.6907 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.5261, allocations: 8.031 kB / 0.6907 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.99e-05/0.5262, allocations: 54.73 kB / 0.6907 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/0.5281, allocations: 272.5 kB / 0.691 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004707/0.5285, allocations: 221.8 kB / 0.6912 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.5286, allocations: 12.33 kB / 0.6912 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.239e-05/0.5286, allocations: 23.98 kB / 0.6912 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008835/0.5295, allocations: 0.6395 MB / 0.6919 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.5295, allocations: 4 kB / 0.6919 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-05/0.5296, allocations: 8 kB / 0.6919 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.5296, allocations: 11.98 kB / 0.6919 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009209/0.5305, allocations: 0.5778 MB / 0.6925 GB, free: 12.18 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.002341/0.5329, allocations: 0.9404 MB / 0.6934 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/0.5333, allocations: 237 kB / 0.6936 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.5336, allocations: 181.6 kB / 0.6938 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008457/0.5344, allocations: 151.8 kB / 0.6939 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.5345, allocations: 38.56 kB / 0.694 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.5345, allocations: 0 / 0.694 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.002046/0.5365, allocations: 0.6062 MB / 0.6945 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.5366, allocations: 77.11 kB / 0.6946 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.5367, allocations: 133.8 kB / 0.6947 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/0.5368, allocations: 29.7 kB / 0.6948 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.414e-05/0.5369, allocations: 120.5 kB / 0.6949 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.537, allocations: 111.1 kB / 0.695 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.5371, allocations: 65.47 kB / 0.6951 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.5373, allocations: 334.8 kB / 0.6954 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.5376, allocations: 183.9 kB / 0.6956 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004943/0.5381, allocations: 293.5 kB / 0.6958 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008787/0.539, allocations: 0.4887 MB / 0.6963 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.539, allocations: 0 / 0.6963 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001041/0.54, allocations: 0.5187 MB / 0.6968 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.5401, allocations: 11.98 kB / 0.6968 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.5401, allocations: 4 kB / 0.6968 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.5401, allocations: 4 kB / 0.6968 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005294/0.5406, allocations: 75.89 kB / 0.6969 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.5406, allocations: 12 kB / 0.6969 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/0.541, allocations: 39.77 kB / 0.697 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.464e-05/0.5411, allocations: 24.3 kB / 0.697 GB, free: 7.312 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.000196/0.5413, allocations: 153.6 kB / 0.6971 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.5414, allocations: 15.91 kB / 0.6971 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.5424, allocations: 482.1 kB / 0.6976 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.5424, allocations: 4 kB / 0.6976 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5424, allocations: 0 / 0.6976 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.5424, allocations: 0 / 0.6976 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007872/0.5432, allocations: 397 kB / 0.698 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.5432, allocations: 0 / 0.698 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005042/0.5437, allocations: 59.91 kB / 0.698 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-06/0.5437, allocations: 3.984 kB / 0.698 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.5437, allocations: 12 kB / 0.6981 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.046e-06/0.5437, allocations: 8 kB / 0.6981 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5437, allocations: 0 / 0.6981 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.545, allocations: 0.6917 MB / 0.6987 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.545, allocations: 15.88 kB / 0.6988 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/0.5451, allocations: 11.94 kB / 0.6988 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.5456, allocations: 15.98 kB / 0.6988 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.5456, allocations: 23.95 kB / 0.6988 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.462e-05/0.5457, allocations: 19.98 kB / 0.6988 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.366e-05/0.5458, allocations: 99.27 kB / 0.6989 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5458, allocations: 0 / 0.6989 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000717/0.5465, allocations: 167.6 kB / 0.6991 GB, free: 5.09 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.002202/0.5487, allocations: 1.468 MB / 0.7005 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009407/0.5496, allocations: 421.2 kB / 0.7009 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5496, allocations: 3.938 kB / 0.7009 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.55, allocations: 215.8 kB / 0.7011 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007346/0.5508, allocations: 90.67 kB / 0.7012 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004814/0.5556, allocations: 3.223 MB / 0.7044 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.5557, allocations: 134.9 kB / 0.7045 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004674/0.5562, allocations: 117.7 kB / 0.7046 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.5564, allocations: 59.41 kB / 0.7047 GB, free: 15.16 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.5564, allocations: 4 kB / 0.7047 GB, free: 15.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04377/0.6002, allocations: 11.36 MB / 0.7158 GB, free: 4.004 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12, allocations: 9.391 kB / 0.7158 GB, free: 4.004 MB / 0.545 GB " [Timeout remaining time 648] (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 --stepSize=0.00019992 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.038272991776466]