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.001588/0.001588, allocations: 111.1 kB / 17.04 MB, free: 6.027 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.00192/0.00192, allocations: 194.9 kB / 17.97 MB, free: 5.113 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.707/1.707, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2366/0.2366, allocations: 43.52 MB / 314.7 MB, free: 460 kB / 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.001798/0.001799, allocations: 70.52 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.144, allocations: 57.79 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4707/0.6147, allocations: 151 MB / 0.579 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.6168, allocations: 2.083 MB / 0.5811 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.59e-05/0.6169, allocations: 2.938 kB / 0.5811 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003467/0.6173, allocations: 55.47 kB / 0.5811 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.6187, allocations: 0.6173 MB / 0.5817 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.619, allocations: 103 kB / 0.5818 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002905/0.6193, allocations: 262.9 kB / 0.5821 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.622e-05/0.6194, allocations: 7.266 kB / 0.5821 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/0.6196, allocations: 132.3 kB / 0.5822 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.6198, allocations: 95.91 kB / 0.5823 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.6198, allocations: 7.125 kB / 0.5823 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.6211, allocations: 0.83 MB / 0.5831 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.499e-05/0.6213, allocations: 75.22 kB / 0.5832 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.6214, allocations: 99.36 kB / 0.5833 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008417/0.6222, allocations: 0.6418 MB / 0.5839 GB, free: 12.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6222, allocations: 2.75 kB / 0.5839 GB, free: 12.56 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.6222, allocations: 0 / 0.5839 GB, free: 12.56 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.6223, allocations: 0 / 0.5839 GB, free: 12.56 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.000851/0.6231, allocations: 0.4973 MB / 0.5844 GB, free: 12.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.6232, allocations: 9.969 kB / 0.5844 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001858/0.625, allocations: 266.9 kB / 0.5847 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005058/0.6256, allocations: 287.6 kB / 0.5849 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.6256, allocations: 12.98 kB / 0.585 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.993e-05/0.6257, allocations: 22.88 kB / 0.585 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007247/0.6264, allocations: 0.4995 MB / 0.5855 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.6264, allocations: 0 / 0.5855 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.887e-05/0.6265, allocations: 9.594 kB / 0.5855 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.6265, allocations: 6.844 kB / 0.5855 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007763/0.6273, allocations: 0.5875 MB / 0.5861 GB, free: 11.62 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.002152/0.6294, allocations: 1.008 MB / 0.587 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.6298, allocations: 251 kB / 0.5873 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.63, allocations: 186 kB / 0.5875 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008028/0.6308, allocations: 278.1 kB / 0.5877 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.6309, allocations: 41.09 kB / 0.5878 GB, free: 10.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.854e-06/0.6309, allocations: 3.938 kB / 0.5878 GB, free: 10.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.001901/0.6328, allocations: 0.5959 MB / 0.5883 GB, free: 10.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.6328, allocations: 82.27 kB / 0.5884 GB, free: 10.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.633, allocations: 129.5 kB / 0.5885 GB, free: 10.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.633, allocations: 29.39 kB / 0.5886 GB, free: 10.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.6331, allocations: 111.1 kB / 0.5887 GB, free: 10.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.182e-05/0.6332, allocations: 113 kB / 0.5888 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.6333, allocations: 61.42 kB / 0.5888 GB, free: 10.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.6335, allocations: 334.9 kB / 0.5892 GB, free: 9.762 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005/0.634, allocations: 187.5 kB / 0.5893 GB, free: 9.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/0.6344, allocations: 283.4 kB / 0.5896 GB, free: 9.578 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007559/0.6352, allocations: 493.2 kB / 0.5901 GB, free: 9.406 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.6352, allocations: 0 / 0.5901 GB, free: 9.406 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008393/0.6361, allocations: 0.5228 MB / 0.5906 GB, free: 9.285 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.6361, allocations: 11.91 kB / 0.5906 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.6361, allocations: 2.219 kB / 0.5906 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.6361, allocations: 5.625 kB / 0.5906 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.6366, allocations: 85.75 kB / 0.5907 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.6366, allocations: 9.281 kB / 0.5907 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.637, allocations: 36.67 kB / 0.5907 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.088e-05/0.6371, allocations: 18.38 kB / 0.5908 GB, free: 9.238 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.0001622/0.6372, allocations: 142.6 kB / 0.5909 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.6374, allocations: 27.31 kB / 0.5909 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009584/0.6383, allocations: 495.9 kB / 0.5914 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.6384, allocations: 2.688 kB / 0.5914 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6384, allocations: 0 / 0.5914 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.6384, allocations: 2.438 kB / 0.5914 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006825/0.6391, allocations: 453.3 kB / 0.5918 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.6391, allocations: 6 kB / 0.5918 GB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.6396, allocations: 61.52 kB / 0.5919 GB, free: 8.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.6396, allocations: 2.562 kB / 0.5919 GB, free: 8.637 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.6396, allocations: 8.5 kB / 0.5919 GB, free: 8.637 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.6396, allocations: 0 / 0.5919 GB, free: 8.637 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6396, allocations: 4 kB / 0.5919 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009846/0.6406, allocations: 0.6825 MB / 0.5926 GB, free: 8.352 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.884e-05/0.6407, allocations: 104.3 kB / 0.5927 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-05/0.6408, allocations: 8.906 kB / 0.5927 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004321/0.6412, allocations: 26 kB / 0.5927 GB, free: 8.227 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.6413, allocations: 15.17 kB / 0.5927 GB, free: 8.223 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.543e-05/0.6413, allocations: 14.08 kB / 0.5927 GB, free: 8.219 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.355e-05/0.6414, allocations: 101.3 kB / 0.5928 GB, free: 8.141 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6414, allocations: 0 / 0.5928 GB, free: 8.141 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007905/0.6422, allocations: 157.8 kB / 0.593 GB, free: 8.117 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.0008146/0.643, allocations: 346.4 kB / 0.5933 GB, free: 7.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007281/0.6437, allocations: 452.2 kB / 0.5937 GB, free: 7.848 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.6438, allocations: 3.312 kB / 0.5937 GB, free: 7.848 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.6441, allocations: 207.2 kB / 0.5939 GB, free: 7.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006379/0.6447, allocations: 98.33 kB / 0.594 GB, free: 7.781 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.6462, allocations: 0.8934 MB / 0.5949 GB, free: 7.148 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.6465, allocations: 0.735 MB / 0.5956 GB, free: 6.434 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004507/0.647, allocations: 111.2 kB / 0.5957 GB, free: 6.371 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.6471, allocations: 28.61 kB / 0.5958 GB, free: 6.359 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.6471, allocations: 0 / 0.5958 GB, free: 6.359 MB / 430.1 MB Notification: Performance of Templates: time 0.01322/0.6603, allocations: 8.042 MB / 0.6036 GB, free: 2.328 MB / 430.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches