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: translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 117.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001414/0.001414, allocations: 203.8 kB / 18.73 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2316/0.2316, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 83.81 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4648/0.4663, allocations: 62.42 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1981/0.6645, allocations: 152.6 MB / 0.68 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003068/0.6676, allocations: 2.192 MB / 0.6821 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.6678, allocations: 0 / 0.6821 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004586/0.6683, allocations: 63.7 kB / 0.6822 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002043/0.6704, allocations: 0.6299 MB / 0.6828 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.6707, allocations: 114.7 kB / 0.6829 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.6712, allocations: 259.1 kB / 0.6831 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.662e-05/0.6712, allocations: 11.98 kB / 0.6832 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003697/0.6716, allocations: 155 kB / 0.6833 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.6719, allocations: 87.72 kB / 0.6834 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.6719, allocations: 8 kB / 0.6834 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.6736, allocations: 0.8534 MB / 0.6842 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.6737, allocations: 87.77 kB / 0.6843 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.6739, allocations: 95.58 kB / 0.6844 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009806/0.6749, allocations: 0.6528 MB / 0.685 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.6749, allocations: 0 / 0.685 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.033e-06/0.6749, allocations: 0 / 0.685 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.453e-06/0.6749, allocations: 0 / 0.685 GB, free: 3.387 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.000895/0.6758, allocations: 0.5148 MB / 0.6855 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.6758, allocations: 8.031 kB / 0.6855 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001947/0.6778, allocations: 276.4 kB / 0.6858 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/0.6782, allocations: 279.9 kB / 0.6861 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.6782, allocations: 12.33 kB / 0.6861 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.073e-05/0.6783, allocations: 20 kB / 0.6861 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007838/0.6791, allocations: 0.4938 MB / 0.6866 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.6791, allocations: 0 / 0.6866 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.742e-05/0.6792, allocations: 8 kB / 0.6866 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.6792, allocations: 12 kB / 0.6866 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008685/0.6801, allocations: 0.5778 MB / 0.6872 GB, free: 1.102 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.00226/0.6824, allocations: 1.016 MB / 0.6882 GB, free: 32 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003941/0.6828, allocations: 237.1 kB / 0.6884 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.683, allocations: 183.9 kB / 0.6886 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000901/0.684, allocations: 383.2 kB / 0.6889 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.684, allocations: 50.48 kB / 0.689 GB, free: 15.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.713e-06/0.684, allocations: 0 / 0.689 GB, free: 15.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001906/0.6859, allocations: 0.5878 MB / 0.6896 GB, free: 14.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.686, allocations: 85.11 kB / 0.6896 GB, free: 14.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.6861, allocations: 129.7 kB / 0.6898 GB, free: 14.28 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.082e-05/0.6862, allocations: 33.7 kB / 0.6898 GB, free: 14.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.87e-05/0.6863, allocations: 120.4 kB / 0.6899 GB, free: 14.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.6864, allocations: 102.5 kB / 0.69 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.6865, allocations: 69.48 kB / 0.6901 GB, free: 13.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6866, allocations: 326.8 kB / 0.6904 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.687, allocations: 187.9 kB / 0.6906 GB, free: 13.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/0.6874, allocations: 288.5 kB / 0.6908 GB, free: 13.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007399/0.6881, allocations: 495.3 kB / 0.6913 GB, free: 12.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.6882, allocations: 4 kB / 0.6913 GB, free: 12.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009506/0.6891, allocations: 0.5168 MB / 0.6918 GB, free: 12.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.6891, allocations: 8 kB / 0.6918 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6892, allocations: 496 / 0.6918 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.6892, allocations: 12 kB / 0.6918 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.6897, allocations: 83.83 kB / 0.6919 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/0.6897, allocations: 15.91 kB / 0.6919 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.6901, allocations: 31.77 kB / 0.692 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/0.6902, allocations: 20 kB / 0.692 GB, free: 11.88 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.0001548/0.6903, allocations: 141.7 kB / 0.6921 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.6904, allocations: 19.81 kB / 0.6921 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009554/0.6914, allocations: 489 kB / 0.6926 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.6914, allocations: 7.984 kB / 0.6926 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.6914, allocations: 4 kB / 0.6926 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.6914, allocations: 4 kB / 0.6926 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007169/0.6922, allocations: 465.8 kB / 0.6931 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.6922, allocations: 0 / 0.6931 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.6927, allocations: 63.89 kB / 0.6931 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.6927, allocations: 4 kB / 0.6931 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.179e-05/0.6927, allocations: 8 kB / 0.6931 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.6927, allocations: 0 / 0.6931 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6927, allocations: 0 / 0.6931 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.6939, allocations: 0.6955 MB / 0.6938 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.6939, allocations: 92.94 kB / 0.6939 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.758e-05/0.694, allocations: 8 kB / 0.6939 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004538/0.6944, allocations: 19.97 kB / 0.6939 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.6945, allocations: 15.98 kB / 0.6939 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.6946, allocations: 23.98 kB / 0.694 GB, free: 9.746 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.254e-05/0.6946, allocations: 103.2 kB / 0.6941 GB, free: 9.645 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6947, allocations: 4 kB / 0.6941 GB, free: 9.641 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007083/0.6954, allocations: 159.8 kB / 0.6942 GB, free: 9.484 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.0008254/0.6962, allocations: 346.9 kB / 0.6946 GB, free: 9.133 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007905/0.697, allocations: 444.1 kB / 0.695 GB, free: 8.699 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.697, allocations: 0 / 0.695 GB, free: 8.699 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.6974, allocations: 212.2 kB / 0.6952 GB, free: 8.492 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006968/0.6981, allocations: 90.58 kB / 0.6953 GB, free: 8.406 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.6996, allocations: 0.8668 MB / 0.6961 GB, free: 7.512 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.7, allocations: 0.7405 MB / 0.6968 GB, free: 6.746 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004495/0.7005, allocations: 105.8 kB / 0.6969 GB, free: 6.641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.7006, allocations: 31.42 kB / 0.697 GB, free: 6.609 MB / 0.545 GB Notification: Performance of SimCode: time 6.12e-07/0.7006, allocations: 0 / 0.697 GB, free: 6.609 MB / 0.545 GB Notification: Performance of Templates: time 0.01317/0.7138, allocations: 8.047 MB / 0.7048 GB, free: 14.61 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches