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.001541/0.001541, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001647/0.001647, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.453/1.453, allocations: 230.4 MB / 254.7 MB, free: 15 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.2289/0.2289, allocations: 46.92 MB / 357.7 MB, free: 10.15 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 75.88 kB / 0.4916 GB, free: 7.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1315, allocations: 66.04 MB / 0.5561 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4421/0.5735, allocations: 153 MB / 0.7056 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002653/0.5762, allocations: 2.186 MB / 0.7077 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.5763, allocations: 0 / 0.7077 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.5766, allocations: 75.64 kB / 0.7078 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.578, allocations: 0.6261 MB / 0.7084 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.5784, allocations: 112.5 kB / 0.7085 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.5787, allocations: 263 kB / 0.7088 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.5787, allocations: 0 / 0.7088 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000316/0.579, allocations: 151.4 kB / 0.7089 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.5792, allocations: 95.62 kB / 0.709 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.5793, allocations: 8 kB / 0.709 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.5808, allocations: 0.8845 MB / 0.7099 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.5809, allocations: 83.81 kB / 0.7099 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.581, allocations: 99.52 kB / 0.71 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.5821, allocations: 0.6618 MB / 0.7107 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5821, allocations: 0 / 0.7107 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5821, allocations: 0 / 0.7107 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.5821, allocations: 0 / 0.7107 GB, free: 2.887 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.000927/0.583, allocations: 0.5065 MB / 0.7112 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.583, allocations: 8.031 kB / 0.7112 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.518e-05/0.5831, allocations: 8.516 kB / 0.7112 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.083e-05/0.5831, allocations: 54.73 kB / 0.7112 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/0.5851, allocations: 276.5 kB / 0.7115 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004393/0.5856, allocations: 284.4 kB / 0.7118 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.5856, allocations: 12.33 kB / 0.7118 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.999e-05/0.5857, allocations: 23.92 kB / 0.7118 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007987/0.5865, allocations: 496.7 kB / 0.7123 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5865, allocations: 3.656 kB / 0.7123 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.714e-05/0.5865, allocations: 10.38 kB / 0.7123 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.5866, allocations: 4.5 kB / 0.7123 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009032/0.5875, allocations: 0.5894 MB / 0.7129 GB, free: 0.5352 MB / 0.5137 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.002361/0.5898, allocations: 1.008 MB / 0.7139 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.5902, allocations: 241 kB / 0.7141 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.5905, allocations: 177.6 kB / 0.7143 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009498/0.5914, allocations: 383.2 kB / 0.7146 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.5915, allocations: 38.56 kB / 0.7147 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.773e-06/0.5915, allocations: 0 / 0.7147 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.002035/0.5935, allocations: 0.5995 MB / 0.7152 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.5936, allocations: 85.11 kB / 0.7153 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.5937, allocations: 131 kB / 0.7155 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.5937, allocations: 29.7 kB / 0.7155 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.5938, allocations: 116.5 kB / 0.7156 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.5939, allocations: 115.1 kB / 0.7157 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.5941, allocations: 65.47 kB / 0.7158 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5942, allocations: 326.8 kB / 0.7161 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/0.5946, allocations: 187.9 kB / 0.7163 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004306/0.595, allocations: 289.2 kB / 0.7165 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007866/0.5958, allocations: 494 kB / 0.717 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5958, allocations: 4 kB / 0.717 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009636/0.5968, allocations: 0.5127 MB / 0.7175 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.5968, allocations: 11.98 kB / 0.7175 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.5968, allocations: 4 kB / 0.7175 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.5968, allocations: 4.406 kB / 0.7175 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005335/0.5973, allocations: 87.83 kB / 0.7176 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.5974, allocations: 9.094 kB / 0.7176 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000394/0.5978, allocations: 36.83 kB / 0.7177 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/0.5978, allocations: 19.98 kB / 0.7177 GB, free: 11.33 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.0001727/0.598, allocations: 149.7 kB / 0.7178 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.5981, allocations: 15.91 kB / 0.7178 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009949/0.5991, allocations: 490.7 kB / 0.7183 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.5991, allocations: 4 kB / 0.7183 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5991, allocations: 0 / 0.7183 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.5991, allocations: 7.938 kB / 0.7183 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007452/0.5998, allocations: 473.7 kB / 0.7188 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5998, allocations: 0 / 0.7188 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005261/0.6004, allocations: 59.89 kB / 0.7188 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.6004, allocations: 0 / 0.7188 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.6004, allocations: 11.98 kB / 0.7188 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.6004, allocations: 4 kB / 0.7188 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6004, allocations: 0 / 0.7188 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.6016, allocations: 0.6854 MB / 0.7195 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.6016, allocations: 96.95 kB / 0.7196 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.6017, allocations: 8 kB / 0.7196 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004924/0.6022, allocations: 19.97 kB / 0.7196 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.6022, allocations: 19.97 kB / 0.7196 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/0.6023, allocations: 16 kB / 0.7197 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.442e-05/0.6023, allocations: 104.2 kB / 0.7198 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.6023, allocations: 0 / 0.7198 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000674/0.603, allocations: 163.6 kB / 0.7199 GB, free: 8.941 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.002219/0.6052, allocations: 1.481 MB / 0.7214 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008486/0.6061, allocations: 427.5 kB / 0.7218 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6061, allocations: 0 / 0.7218 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003745/0.6065, allocations: 209.3 kB / 0.722 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006961/0.6072, allocations: 93.64 kB / 0.7221 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004499/0.6117, allocations: 3.236 MB / 0.7252 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.612, allocations: 0.7324 MB / 0.7259 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004462/0.6125, allocations: 113.8 kB / 0.726 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.6127, allocations: 63.41 kB / 0.7261 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.6127, allocations: 0 / 0.7261 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/0.6456, allocations: 10.42 MB / 0.7363 GB, free: 8.055 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/8.812, allocations: 18.52 kB / 0.7363 GB, free: 8.039 MB / 0.545 GB " [Timeout remaining time 651] (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: 11.964412925997749]