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.001628/0.001628, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001933/0.001933, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.555/1.555, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2439/0.2439, allocations: 46.91 MB / 357.4 MB, free: 10.46 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.00346/0.00346, allocations: 79.86 kB / 0.4912 GB, free: 8.309 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1617, allocations: 66 MB / 0.5557 GB, free: 6.184 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4827/0.6444, allocations: 153 MB / 0.7051 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002746/0.6472, allocations: 2.199 MB / 0.7073 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.619e-05/0.6472, allocations: 4 kB / 0.7073 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.6476, allocations: 63.66 kB / 0.7073 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.6491, allocations: 0.6339 MB / 0.7079 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.6495, allocations: 106.7 kB / 0.708 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000355/0.6498, allocations: 263 kB / 0.7083 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.265e-05/0.6499, allocations: 4 kB / 0.7083 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.6502, allocations: 143.4 kB / 0.7084 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.6503, allocations: 95.7 kB / 0.7085 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.6504, allocations: 8 kB / 0.7085 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.6519, allocations: 0.8884 MB / 0.7094 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.652, allocations: 83.75 kB / 0.7095 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.6521, allocations: 91.66 kB / 0.7096 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009655/0.6531, allocations: 0.6699 MB / 0.7102 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6531, allocations: 0 / 0.7102 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6531, allocations: 0 / 0.7102 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.6531, allocations: 1.031 kB / 0.7102 GB, free: 3.828 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.0008483/0.6539, allocations: 0.5103 MB / 0.7107 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.654, allocations: 8.031 kB / 0.7107 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.397e-05/0.6541, allocations: 54.73 kB / 0.7108 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/0.656, allocations: 272.5 kB / 0.711 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.6566, allocations: 280.1 kB / 0.7113 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.6566, allocations: 20.27 kB / 0.7113 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/0.6567, allocations: 12 kB / 0.7113 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007902/0.6575, allocations: 0.4938 MB / 0.7118 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.6575, allocations: 4 kB / 0.7118 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/0.6575, allocations: 8 kB / 0.7118 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.6575, allocations: 11.78 kB / 0.7118 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008785/0.6584, allocations: 0.5816 MB / 0.7124 GB, free: 1.484 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.002362/0.6608, allocations: 1.005 MB / 0.7134 GB, free: 436 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/0.6612, allocations: 241 kB / 0.7136 GB, free: 176 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.6615, allocations: 185.9 kB / 0.7138 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009947/0.6625, allocations: 382.7 kB / 0.7142 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.6625, allocations: 38.56 kB / 0.7142 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 4.108e-06/0.6625, allocations: 3.984 kB / 0.7142 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.001977/0.6645, allocations: 0.5977 MB / 0.7148 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.6646, allocations: 85.11 kB / 0.7149 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.6647, allocations: 131 kB / 0.715 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/0.6647, allocations: 33.7 kB / 0.715 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.371e-05/0.6648, allocations: 116.5 kB / 0.7151 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.85e-05/0.6649, allocations: 111 kB / 0.7152 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.6651, allocations: 73.47 kB / 0.7153 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6652, allocations: 322.8 kB / 0.7156 GB, free: 14 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.6655, allocations: 187.9 kB / 0.7158 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/0.666, allocations: 289.2 kB / 0.7161 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007705/0.6667, allocations: 492.6 kB / 0.7165 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.6667, allocations: 3.938 kB / 0.7165 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000963/0.6677, allocations: 0.5199 MB / 0.7171 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.6677, allocations: 8 kB / 0.7171 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.6677, allocations: 4 kB / 0.7171 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.877e-05/0.6678, allocations: 4 kB / 0.7171 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005271/0.6683, allocations: 88.28 kB / 0.7172 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.6683, allocations: 7.938 kB / 0.7172 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.6687, allocations: 35.77 kB / 0.7172 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/0.6687, allocations: 20 kB / 0.7172 GB, free: 12.27 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.0001696/0.6689, allocations: 141.7 kB / 0.7173 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.669, allocations: 19.91 kB / 0.7174 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009795/0.67, allocations: 493.6 kB / 0.7178 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.67, allocations: 4 kB / 0.7178 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.67, allocations: 4 kB / 0.7178 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.67, allocations: 4 kB / 0.7179 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007584/0.6708, allocations: 457.8 kB / 0.7183 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.6708, allocations: 0 / 0.7183 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004853/0.6712, allocations: 63.89 kB / 0.7183 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.6713, allocations: 7.938 kB / 0.7184 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.6713, allocations: 8 kB / 0.7184 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.6713, allocations: 0 / 0.7184 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.6713, allocations: 0 / 0.7184 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.6725, allocations: 0.6939 MB / 0.719 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.786e-05/0.6725, allocations: 93.7 kB / 0.7191 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/0.6726, allocations: 8 kB / 0.7191 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/0.673, allocations: 19.97 kB / 0.7192 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.6731, allocations: 15.98 kB / 0.7192 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/0.6731, allocations: 15.98 kB / 0.7192 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.296e-05/0.6732, allocations: 112.7 kB / 0.7193 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.6732, allocations: 0 / 0.7193 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000739/0.6739, allocations: 163.6 kB / 0.7195 GB, free: 9.883 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.002241/0.6762, allocations: 1.474 MB / 0.7209 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008137/0.677, allocations: 424.3 kB / 0.7213 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.677, allocations: 0 / 0.7213 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003563/0.6774, allocations: 216.6 kB / 0.7215 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006803/0.678, allocations: 101.5 kB / 0.7216 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004624/0.6827, allocations: 3.219 MB / 0.7247 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.6831, allocations: 0.744 MB / 0.7255 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005149/0.6836, allocations: 113.8 kB / 0.7256 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.6838, allocations: 59.42 kB / 0.7256 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of SimCode: time 7.41e-07/0.6838, allocations: 0 / 0.7256 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0369/0.7207, allocations: 10.39 MB / 0.7358 GB, free: 9.031 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.392/9.112, allocations: 11.92 kB / 0.7358 GB, free: 9.02 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.341352568008006]