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.001334/0.001334, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2427/0.2427, allocations: 46.12 MB / 344.4 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 75.88 kB / 480.9 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3612, allocations: 62.45 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1937/0.555, allocations: 152.6 MB / 0.6796 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002855/0.5579, allocations: 2.196 MB / 0.6818 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.555e-05/0.558, allocations: 3.938 kB / 0.6818 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003882/0.5584, allocations: 59.64 kB / 0.6818 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.5602, allocations: 0.6222 MB / 0.6824 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.5605, allocations: 115 kB / 0.6825 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.5609, allocations: 255.1 kB / 0.6828 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.119e-05/0.561, allocations: 15.91 kB / 0.6828 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003751/0.5613, allocations: 151.2 kB / 0.6829 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.5616, allocations: 87.7 kB / 0.683 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.5616, allocations: 8 kB / 0.683 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.5633, allocations: 0.8456 MB / 0.6838 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.5634, allocations: 91.75 kB / 0.6839 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.5635, allocations: 99.58 kB / 0.684 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.5646, allocations: 0.6544 MB / 0.6847 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5646, allocations: 4 kB / 0.6847 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5646, allocations: 0 / 0.6847 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.5646, allocations: 0 / 0.6847 GB, free: 3.426 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.0008867/0.5655, allocations: 0.5064 MB / 0.6852 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.5656, allocations: 8.031 kB / 0.6852 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.813e-05/0.5656, allocations: 58.72 kB / 0.6852 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.5676, allocations: 272.5 kB / 0.6855 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.568, allocations: 295.5 kB / 0.6858 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.568, allocations: 12.33 kB / 0.6858 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.5681, allocations: 24 kB / 0.6858 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008037/0.5689, allocations: 497.8 kB / 0.6863 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.569, allocations: 0 / 0.6863 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.389e-05/0.569, allocations: 8 kB / 0.6863 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.786e-05/0.569, allocations: 11.98 kB / 0.6863 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009521/0.57, allocations: 0.5816 MB / 0.6869 GB, free: 1.07 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.002299/0.5723, allocations: 1.015 MB / 0.6879 GB, free: 0 / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.5728, allocations: 233.1 kB / 0.6881 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.573, allocations: 189.6 kB / 0.6883 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009628/0.574, allocations: 375.2 kB / 0.6886 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.5741, allocations: 42.56 kB / 0.6887 GB, free: 15.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 2.365e-06/0.5741, allocations: 0 / 0.6887 GB, free: 15.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.002026/0.5761, allocations: 0.5995 MB / 0.6892 GB, free: 14.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.5762, allocations: 81.11 kB / 0.6893 GB, free: 14.39 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.5763, allocations: 125.8 kB / 0.6894 GB, free: 14.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/0.5764, allocations: 33.7 kB / 0.6895 GB, free: 14.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.595e-05/0.5765, allocations: 124.5 kB / 0.6896 GB, free: 14.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.5766, allocations: 103.1 kB / 0.6897 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.5767, allocations: 73.47 kB / 0.6898 GB, free: 13.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.5769, allocations: 326.8 kB / 0.6901 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/0.5773, allocations: 179.9 kB / 0.6902 GB, free: 13.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/0.5777, allocations: 296.5 kB / 0.6905 GB, free: 13.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000792/0.5785, allocations: 495.3 kB / 0.691 GB, free: 12.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5785, allocations: 0 / 0.691 GB, free: 12.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009812/0.5795, allocations: 0.5206 MB / 0.6915 GB, free: 12.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.5795, allocations: 7.938 kB / 0.6915 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.5795, allocations: 4.391 kB / 0.6915 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.5796, allocations: 8 kB / 0.6915 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.5801, allocations: 83.83 kB / 0.6916 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.5801, allocations: 4 kB / 0.6916 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003766/0.5805, allocations: 36.08 kB / 0.6916 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.832e-05/0.5806, allocations: 27.98 kB / 0.6917 GB, free: 11.85 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.0001789/0.5808, allocations: 141.7 kB / 0.6918 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.5809, allocations: 19.91 kB / 0.6918 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.5819, allocations: 496.9 kB / 0.6923 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.582, allocations: 4 kB / 0.6923 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.582, allocations: 0 / 0.6923 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.582, allocations: 7.984 kB / 0.6923 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007555/0.5827, allocations: 461.8 kB / 0.6928 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5828, allocations: 0 / 0.6928 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004877/0.5832, allocations: 63.95 kB / 0.6928 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.5833, allocations: 0 / 0.6928 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.5833, allocations: 15.98 kB / 0.6928 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5833, allocations: 0 / 0.6928 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.5833, allocations: 3.984 kB / 0.6928 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.5845, allocations: 0.6965 MB / 0.6935 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.958e-05/0.5846, allocations: 92.95 kB / 0.6936 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.542e-05/0.5846, allocations: 11.98 kB / 0.6936 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000461/0.5851, allocations: 15.98 kB / 0.6936 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.5851, allocations: 19.97 kB / 0.6937 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/0.5852, allocations: 19.92 kB / 0.6937 GB, free: 9.707 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.921e-05/0.5853, allocations: 99.27 kB / 0.6938 GB, free: 9.609 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5853, allocations: 0 / 0.6938 GB, free: 9.609 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006862/0.586, allocations: 171.6 kB / 0.6939 GB, free: 9.441 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.0022/0.5882, allocations: 1.465 MB / 0.6954 GB, free: 7.945 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008581/0.5891, allocations: 443.8 kB / 0.6958 GB, free: 7.512 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5891, allocations: 0 / 0.6958 GB, free: 7.512 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003788/0.5895, allocations: 212.4 kB / 0.696 GB, free: 7.305 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000713/0.5902, allocations: 100.5 kB / 0.6961 GB, free: 7.207 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004581/0.5948, allocations: 3.224 MB / 0.6992 GB, free: 3.812 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.5952, allocations: 0.74 MB / 0.7 GB, free: 3.047 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004705/0.5957, allocations: 121.7 kB / 0.7001 GB, free: 2.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.5959, allocations: 59.41 kB / 0.7001 GB, free: 2.871 MB / 0.545 GB Notification: Performance of SimCode: time 4.7e-07/0.5959, allocations: 0 / 0.7001 GB, free: 2.871 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03847/0.6343, allocations: 10.35 MB / 0.7102 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.339/8.974, allocations: 11.67 kB / 0.7102 GB, free: 8.613 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