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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001671/0.001671, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002466/0.002466, allocations: 212.9 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 230.5 MB / 257.4 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.252/0.252, allocations: 46.96 MB / 360.8 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002392/0.002392, allocations: 79.88 kB / 0.4961 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.344, allocations: 66.08 MB / 0.5607 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1792/0.5232, allocations: 131.6 MB / 0.6892 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002866/0.5261, allocations: 1.974 MB / 0.6911 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.275e-05/0.5262, allocations: 0 / 0.6911 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.5265, allocations: 47.73 kB / 0.6912 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001691/0.5282, allocations: 0.6414 MB / 0.6918 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.5285, allocations: 111.8 kB / 0.6919 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003879/0.5289, allocations: 263 kB / 0.6922 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.733e-05/0.529, allocations: 0 / 0.6922 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000325/0.5293, allocations: 159.4 kB / 0.6923 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.5295, allocations: 91.64 kB / 0.6924 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.5295, allocations: 8 kB / 0.6924 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.5311, allocations: 0.7597 MB / 0.6932 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.5312, allocations: 91.69 kB / 0.6932 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.5313, allocations: 91.7 kB / 0.6933 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.5324, allocations: 0.6447 MB / 0.694 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5324, allocations: 0 / 0.694 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5324, allocations: 0 / 0.694 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.5324, allocations: 0 / 0.694 GB, free: 11.01 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.0008916/0.5333, allocations: 445.5 kB / 0.6944 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.5334, allocations: 8.031 kB / 0.6944 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.571e-05/0.5335, allocations: 54.73 kB / 0.6945 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/0.5354, allocations: 284.4 kB / 0.6947 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.5359, allocations: 221.8 kB / 0.6949 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.5359, allocations: 16.33 kB / 0.6949 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.104e-05/0.536, allocations: 16 kB / 0.695 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009239/0.5369, allocations: 0.6434 MB / 0.6956 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.537, allocations: 0 / 0.6956 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.943e-05/0.537, allocations: 8 kB / 0.6956 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/0.537, allocations: 8 kB / 0.6956 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009646/0.538, allocations: 0.5816 MB / 0.6962 GB, free: 8.633 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.002603/0.5406, allocations: 0.9404 MB / 0.6971 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/0.5411, allocations: 237 kB / 0.6973 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.5413, allocations: 181.6 kB / 0.6975 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008816/0.5422, allocations: 159.8 kB / 0.6976 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.5423, allocations: 34.56 kB / 0.6977 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 2.274e-06/0.5423, allocations: 4 kB / 0.6977 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.00207/0.5443, allocations: 0.5903 MB / 0.6983 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.5444, allocations: 85.11 kB / 0.6983 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.5446, allocations: 125.8 kB / 0.6985 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.708e-05/0.5446, allocations: 33.7 kB / 0.6985 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.5447, allocations: 120.5 kB / 0.6986 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.5448, allocations: 115.2 kB / 0.6987 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.545, allocations: 73.41 kB / 0.6988 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.5452, allocations: 330.8 kB / 0.6991 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.5455, allocations: 179.9 kB / 0.6993 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004543/0.546, allocations: 288.7 kB / 0.6995 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008345/0.5468, allocations: 487.2 kB / 0.7 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.5468, allocations: 4 kB / 0.7 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00113/0.5479, allocations: 0.5166 MB / 0.7005 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.548, allocations: 8 kB / 0.7005 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.548, allocations: 4.406 kB / 0.7005 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.548, allocations: 8 kB / 0.7005 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005725/0.5486, allocations: 87.81 kB / 0.7006 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.5486, allocations: 4 kB / 0.7006 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.549, allocations: 35.77 kB / 0.7007 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.297e-05/0.5491, allocations: 20 kB / 0.7007 GB, free: 3.781 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.0002311/0.5493, allocations: 153.6 kB / 0.7008 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.5494, allocations: 15.91 kB / 0.7008 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.5505, allocations: 494.3 kB / 0.7013 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.5505, allocations: 4 kB / 0.7013 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.5506, allocations: 0 / 0.7013 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.5506, allocations: 7.938 kB / 0.7013 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00083/0.5514, allocations: 389.1 kB / 0.7017 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.5514, allocations: 4 kB / 0.7017 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005129/0.5519, allocations: 59.95 kB / 0.7018 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.5519, allocations: 0 / 0.7018 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/0.552, allocations: 11.98 kB / 0.7018 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.552, allocations: 4 kB / 0.7018 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.552, allocations: 0 / 0.7018 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.5533, allocations: 0.6995 MB / 0.7025 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.5533, allocations: 11.89 kB / 0.7025 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.837e-05/0.5534, allocations: 11.98 kB / 0.7025 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004859/0.5538, allocations: 15.98 kB / 0.7025 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.5539, allocations: 19.95 kB / 0.7025 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.524e-05/0.554, allocations: 19.98 kB / 0.7025 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.405e-05/0.5541, allocations: 107.6 kB / 0.7026 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5541, allocations: 0 / 0.7026 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000831/0.5549, allocations: 167.6 kB / 0.7028 GB, free: 1.543 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.002446/0.5573, allocations: 1.48 MB / 0.7042 GB, free: 36 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009213/0.5582, allocations: 415.6 kB / 0.7046 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5583, allocations: 0 / 0.7046 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.5586, allocations: 208.7 kB / 0.7048 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007681/0.5594, allocations: 96.53 kB / 0.7049 GB, free: 15.33 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005014/0.5644, allocations: 3.225 MB / 0.7081 GB, free: 11.94 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.5646, allocations: 138.8 kB / 0.7082 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000482/0.5651, allocations: 105.8 kB / 0.7083 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.5652, allocations: 59.42 kB / 0.7084 GB, free: 11.62 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/0.5653, allocations: 0 / 0.7084 GB, free: 11.62 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04635/0.6116, allocations: 11.37 MB / 0.7195 GB, free: 424 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.63, allocations: 3.984 kB / 0.7195 GB, free: 420 kB / 0.545 GB " [Timeout remaining time 648] (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 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.754994269926101]