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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001543/0.001543, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002058/0.002059, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.225/0.225, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 75.88 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3746, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1668/0.5415, allocations: 152.6 MB / 0.6795 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00266/0.5442, allocations: 2.192 MB / 0.6816 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.5443, allocations: 8 kB / 0.6816 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.5447, allocations: 55.66 kB / 0.6817 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.5467, allocations: 0.6244 MB / 0.6823 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.5471, allocations: 118.9 kB / 0.6824 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003986/0.5475, allocations: 255 kB / 0.6827 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.587e-05/0.5475, allocations: 7.984 kB / 0.6827 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003927/0.5479, allocations: 143.4 kB / 0.6828 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.5482, allocations: 87.72 kB / 0.6829 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.5482, allocations: 8 kB / 0.6829 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.55, allocations: 0.8573 MB / 0.6837 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.5501, allocations: 83.72 kB / 0.6838 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.5503, allocations: 99.64 kB / 0.6839 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.5516, allocations: 0.6547 MB / 0.6845 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.5517, allocations: 4 kB / 0.6846 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5517, allocations: 0 / 0.6846 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.5517, allocations: 0 / 0.6846 GB, free: 3.469 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.001076/0.5528, allocations: 0.5031 MB / 0.685 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.5528, allocations: 16.03 kB / 0.6851 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.205e-05/0.5529, allocations: 54.67 kB / 0.6851 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/0.555, allocations: 280.4 kB / 0.6854 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.5554, allocations: 283.7 kB / 0.6856 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.5554, allocations: 8.328 kB / 0.6857 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-05/0.5555, allocations: 20 kB / 0.6857 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007546/0.5563, allocations: 0.49 MB / 0.6862 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5563, allocations: 4 kB / 0.6862 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.452e-05/0.5564, allocations: 8 kB / 0.6862 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.5564, allocations: 12 kB / 0.6862 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008342/0.5572, allocations: 0.5816 MB / 0.6867 GB, free: 1.117 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.002208/0.5595, allocations: 1.007 MB / 0.6877 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.5599, allocations: 245.1 kB / 0.688 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.5602, allocations: 187.9 kB / 0.6881 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009501/0.5611, allocations: 387.3 kB / 0.6885 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.5612, allocations: 34.56 kB / 0.6885 GB, free: 15.13 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.744e-06/0.5612, allocations: 0 / 0.6885 GB, free: 15.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001855/0.563, allocations: 0.5915 MB / 0.6891 GB, free: 14.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.5631, allocations: 81.11 kB / 0.6892 GB, free: 14.44 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.5632, allocations: 137.7 kB / 0.6893 GB, free: 14.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/0.5633, allocations: 29.7 kB / 0.6894 GB, free: 14.26 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.17e-05/0.5634, allocations: 112.4 kB / 0.6895 GB, free: 14.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.5635, allocations: 110.4 kB / 0.6896 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.5636, allocations: 65.48 kB / 0.6896 GB, free: 13.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.5638, allocations: 338.7 kB / 0.69 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.5641, allocations: 191.8 kB / 0.6901 GB, free: 13.44 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.5645, allocations: 284.5 kB / 0.6904 GB, free: 13.11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007247/0.5652, allocations: 491.2 kB / 0.6909 GB, free: 12.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5653, allocations: 0 / 0.6909 GB, free: 12.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000933/0.5662, allocations: 0.5204 MB / 0.6914 GB, free: 12.06 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.5662, allocations: 8 kB / 0.6914 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5662, allocations: 4.391 kB / 0.6914 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.5663, allocations: 4.406 kB / 0.6914 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.5668, allocations: 87.81 kB / 0.6915 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.5668, allocations: 8 kB / 0.6915 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.5672, allocations: 39.67 kB / 0.6915 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.333e-05/0.5672, allocations: 12 kB / 0.6915 GB, free: 11.9 MB / 0.545 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.0001669/0.5674, allocations: 149.7 kB / 0.6917 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.5675, allocations: 15.84 kB / 0.6917 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008968/0.5684, allocations: 0.4894 MB / 0.6922 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.5685, allocations: 4 kB / 0.6922 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5685, allocations: 4 kB / 0.6922 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.5685, allocations: 0 / 0.6922 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007115/0.5692, allocations: 465.8 kB / 0.6926 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.5692, allocations: 0 / 0.6926 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004851/0.5697, allocations: 59.95 kB / 0.6927 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.5697, allocations: 4 kB / 0.6927 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.805e-05/0.5698, allocations: 8 kB / 0.6927 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.5698, allocations: 4 kB / 0.6927 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5698, allocations: 3.938 kB / 0.6927 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.5708, allocations: 0.6848 MB / 0.6934 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.274e-05/0.5709, allocations: 96.94 kB / 0.6935 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.571, allocations: 12 kB / 0.6935 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004685/0.5714, allocations: 19.97 kB / 0.6935 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.5715, allocations: 15.92 kB / 0.6935 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.5716, allocations: 23.98 kB / 0.6935 GB, free: 9.762 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.469e-05/0.5716, allocations: 95.27 kB / 0.6936 GB, free: 9.668 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5716, allocations: 0 / 0.6936 GB, free: 9.668 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007645/0.5724, allocations: 167.8 kB / 0.6938 GB, free: 9.504 MB / 0.545 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.002153/0.5746, allocations: 1.469 MB / 0.6952 GB, free: 8.004 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007721/0.5753, allocations: 447.5 kB / 0.6956 GB, free: 7.566 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.5754, allocations: 0 / 0.6956 GB, free: 7.566 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.5757, allocations: 209.2 kB / 0.6958 GB, free: 7.363 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006932/0.5764, allocations: 99.97 kB / 0.6959 GB, free: 7.266 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/0.5804, allocations: 3.209 MB / 0.6991 GB, free: 3.887 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.5807, allocations: 0.7594 MB / 0.6998 GB, free: 3.102 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004316/0.5812, allocations: 105.8 kB / 0.6999 GB, free: 3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.5813, allocations: 63.42 kB / 0.7 GB, free: 2.938 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.5814, allocations: 0 / 0.7 GB, free: 2.938 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03348/0.6148, allocations: 10.43 MB / 0.7102 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.671/8.286, allocations: 5.547 kB / 0.7102 GB, free: 8.609 MB / 0.5606 GB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches