Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 99.39 kB / 15.98 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 194.5 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.1 MB / 222.8 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2402/0.2402, allocations: 43.51 MB / 313.6 MB, free: 0.7109 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001556, allocations: 68.5 kB / 382.2 MB, free: 56.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.139, allocations: 57.8 MB / 440 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5499/0.689, allocations: 148.9 MB / 0.5751 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003518/0.6926, allocations: 2.081 MB / 0.5771 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.6927, allocations: 0 / 0.5771 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005205/0.6932, allocations: 55.75 kB / 0.5772 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002272/0.6956, allocations: 0.5658 MB / 0.5777 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.6961, allocations: 102.8 kB / 0.5778 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004974/0.6966, allocations: 261 kB / 0.5781 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.365e-05/0.6967, allocations: 8 kB / 0.5781 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003918/0.6971, allocations: 131.9 kB / 0.5782 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002657/0.6973, allocations: 102.2 kB / 0.5783 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.6974, allocations: 7.719 kB / 0.5783 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002727/0.7001, allocations: 1.083 MB / 0.5793 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.7003, allocations: 88.97 kB / 0.5794 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.7005, allocations: 95.52 kB / 0.5795 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.7021, allocations: 0.7472 MB / 0.5803 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.7022, allocations: 0 / 0.5803 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.7022, allocations: 0 / 0.5803 GB, free: 11.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.7022, allocations: 0 / 0.5803 GB, free: 11.52 MB / 430.1 MB 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.00136/0.7036, allocations: 0.5017 MB / 0.5807 GB, free: 11.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.868e-05/0.7037, allocations: 9.469 kB / 0.5808 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009673/0.7134, allocations: 0.7351 MB / 0.5815 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007378/0.7141, allocations: 284.2 kB / 0.5817 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.7142, allocations: 19.38 kB / 0.5818 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.7144, allocations: 24.28 kB / 0.5818 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/0.7164, allocations: 0.7032 MB / 0.5825 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.7164, allocations: 3.938 kB / 0.5825 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.7165, allocations: 9.562 kB / 0.5825 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.575e-05/0.7166, allocations: 10.69 kB / 0.5825 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.719, allocations: 0.9201 MB / 0.5834 GB, free: 10.46 MB / 430.1 MB 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.005409/0.7245, allocations: 2.004 MB / 0.5853 GB, free: 8.992 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.726, allocations: 0.5105 MB / 0.5858 GB, free: 8.871 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006445/0.7266, allocations: 322.4 kB / 0.5862 GB, free: 8.812 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008119/0.7275, allocations: 277.4 kB / 0.5864 GB, free: 8.582 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.7275, allocations: 38 kB / 0.5865 GB, free: 8.543 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 2.935e-06/0.7275, allocations: 0 / 0.5865 GB, free: 8.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.002216/0.7297, allocations: 0.8891 MB / 0.5873 GB, free: 8.383 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.7298, allocations: 84.98 kB / 0.5874 GB, free: 8.289 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.73, allocations: 129.8 kB / 0.5875 GB, free: 8.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.04e-05/0.7301, allocations: 31.58 kB / 0.5876 GB, free: 8.148 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.84e-05/0.7302, allocations: 116.6 kB / 0.5877 GB, free: 8.043 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.7303, allocations: 108 kB / 0.5878 GB, free: 7.965 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/0.7305, allocations: 71.58 kB / 0.5878 GB, free: 7.938 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.7307, allocations: 324.5 kB / 0.5882 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006155/0.7313, allocations: 302 kB / 0.5884 GB, free: 7.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007117/0.732, allocations: 405.6 kB / 0.5888 GB, free: 7.395 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.7334, allocations: 0.6866 MB / 0.5895 GB, free: 7.211 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.7334, allocations: 6.516 kB / 0.5895 GB, free: 7.207 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001718/0.7351, allocations: 0.7399 MB / 0.5902 GB, free: 7.055 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.7352, allocations: 11.94 kB / 0.5902 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.7352, allocations: 2.875 kB / 0.5902 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/0.7352, allocations: 4.75 kB / 0.5902 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.7363, allocations: 105.9 kB / 0.5903 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/0.7363, allocations: 9.438 kB / 0.5904 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009137/0.7373, allocations: 57.83 kB / 0.5904 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-05/0.7373, allocations: 22.17 kB / 0.5904 GB, free: 6.984 MB / 430.1 MB 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.0002638/0.7376, allocations: 146.1 kB / 0.5906 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.7378, allocations: 20 kB / 0.5906 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/0.7398, allocations: 0.768 MB / 0.5913 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.7398, allocations: 2.719 kB / 0.5913 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.7398, allocations: 6.125 kB / 0.5913 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.7398, allocations: 3.984 kB / 0.5914 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.741, allocations: 0.7999 MB / 0.5921 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.7411, allocations: 5.719 kB / 0.5921 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.7421, allocations: 78.39 kB / 0.5922 GB, free: 5.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.7421, allocations: 2.688 kB / 0.5922 GB, free: 5.941 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.603e-05/0.7422, allocations: 18.28 kB / 0.5922 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.7422, allocations: 3.156 kB / 0.5922 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7422, allocations: 0 / 0.5922 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.7443, allocations: 0.9725 MB / 0.5932 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.112e-05/0.7444, allocations: 90.23 kB / 0.5933 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.72e-05/0.7445, allocations: 9.594 kB / 0.5933 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009672/0.7455, allocations: 40.61 kB / 0.5933 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.7455, allocations: 18.03 kB / 0.5933 GB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.737e-05/0.7456, allocations: 21.38 kB / 0.5934 GB, free: 5.453 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.778e-05/0.7457, allocations: 105.5 kB / 0.5935 GB, free: 5.371 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7457, allocations: 0 / 0.5935 GB, free: 5.371 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001041/0.7467, allocations: 183.8 kB / 0.5936 GB, free: 5.348 MB / 430.1 MB 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.001447/0.7482, allocations: 338.4 kB / 0.594 GB, free: 5.164 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.7499, allocations: 0.6723 MB / 0.5946 GB, free: 5.051 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.7499, allocations: 8 kB / 0.5946 GB, free: 5.043 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006824/0.7506, allocations: 333.1 kB / 0.5949 GB, free: 4.988 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007603/0.7514, allocations: 91.38 kB / 0.595 GB, free: 4.953 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.7533, allocations: 1.006 MB / 0.596 GB, free: 4.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.7537, allocations: 0.7351 MB / 0.5967 GB, free: 3.551 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001368/0.7551, allocations: 182.3 kB / 0.5969 GB, free: 3.418 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.7554, allocations: 39.38 kB / 0.5969 GB, free: 3.402 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.7554, allocations: 4 kB / 0.5969 GB, free: 3.398 MB / 430.1 MB Notification: Performance of Templates: time 0.01929/0.7747, allocations: 10.45 MB / 0.6071 GB, free: 12.43 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches