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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 79.75 kB / 20.52 MB, free: 1.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 162.3 kB / 23.76 MB, free: 4.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 158.6 MB / 185.5 MB, free: 6.223 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2207/0.2207, allocations: 32.39 MB / 270.1 MB, free: 2.699 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 67.91 kB / 407.7 MB, free: 5.551 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1531, allocations: 61.04 MB / 468.8 MB, free: 8.324 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.6226/0.7758, allocations: 129.8 MB / 0.5846 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004124/0.7799, allocations: 1.883 MB / 0.5864 GB, free: 5.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.164e-05/0.78, allocations: 4 kB / 0.5864 GB, free: 5.477 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000467/0.7804, allocations: 52.33 kB / 0.5865 GB, free: 5.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002317/0.7828, allocations: 0.6227 MB / 0.5871 GB, free: 4.805 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.7833, allocations: 102 kB / 0.5872 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005384/0.7838, allocations: 278.9 kB / 0.5875 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.085e-05/0.7839, allocations: 4 kB / 0.5875 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004042/0.7843, allocations: 139.4 kB / 0.5876 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.7846, allocations: 91.64 kB / 0.5877 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.444e-05/0.7846, allocations: 8 kB / 0.5877 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/0.7868, allocations: 0.7441 MB / 0.5884 GB, free: 3.449 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.787, allocations: 83.75 kB / 0.5885 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.7872, allocations: 83.7 kB / 0.5886 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.7886, allocations: 0.6422 MB / 0.5892 GB, free: 2.648 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.7887, allocations: 4 kB / 0.5892 GB, free: 2.645 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.7887, allocations: 0 / 0.5892 GB, free: 2.645 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.7887, allocations: 0 / 0.5892 GB, free: 2.645 MB / 494.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.001076/0.7897, allocations: 434.4 kB / 0.5896 GB, free: 2.191 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.7898, allocations: 8.031 kB / 0.5896 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003194/0.793, allocations: 277.4 kB / 0.5899 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005783/0.7936, allocations: 214.8 kB / 0.5901 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.7936, allocations: 10.95 kB / 0.5901 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.7937, allocations: 31.89 kB / 0.5901 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.7951, allocations: 0.6434 MB / 0.5908 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.7951, allocations: 3.125 kB / 0.5908 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.212e-05/0.7952, allocations: 12 kB / 0.5908 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/0.7952, allocations: 8 kB / 0.5908 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.7967, allocations: 0.5855 MB / 0.5914 GB, free: 352 kB / 494.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.003539/0.8002, allocations: 0.8972 MB / 0.5922 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006574/0.8009, allocations: 245 kB / 0.5925 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004478/0.8013, allocations: 175 kB / 0.5926 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/0.8024, allocations: 127.9 kB / 0.5928 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.449e-05/0.8025, allocations: 42.84 kB / 0.5928 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=28): time 4.057e-06/0.8025, allocations: 0 / 0.5928 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28): time 0.003281/0.8058, allocations: 0.605 MB / 0.5934 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.712e-05/0.8058, allocations: 81.11 kB / 0.5935 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.806, allocations: 134.9 kB / 0.5936 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.124e-05/0.8061, allocations: 37.64 kB / 0.5936 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.8062, allocations: 112.5 kB / 0.5937 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.8064, allocations: 113.5 kB / 0.5939 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.8066, allocations: 65.69 kB / 0.5939 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002444/0.8069, allocations: 326.8 kB / 0.5942 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005762/0.8075, allocations: 187.8 kB / 0.5944 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006897/0.8081, allocations: 288.8 kB / 0.5947 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.8095, allocations: 0.4889 MB / 0.5952 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.8095, allocations: 0 / 0.5952 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001684/0.8112, allocations: 0.5089 MB / 0.5957 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.8112, allocations: 12.34 kB / 0.5957 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.8112, allocations: 4 kB / 0.5957 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.8113, allocations: 8 kB / 0.5957 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008894/0.8122, allocations: 83.83 kB / 0.5958 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.8122, allocations: 4 kB / 0.5958 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006644/0.8128, allocations: 35.77 kB / 0.5958 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.935e-05/0.8129, allocations: 25.62 kB / 0.5958 GB, free: 11.57 MB / 0.4981 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.0002719/0.8132, allocations: 141.7 kB / 0.596 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.8134, allocations: 23.84 kB / 0.596 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.8151, allocations: 0.4902 MB / 0.5965 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.8151, allocations: 4 kB / 0.5965 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.8151, allocations: 5.312 kB / 0.5965 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.8151, allocations: 5.109 kB / 0.5965 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.8163, allocations: 357.8 kB / 0.5968 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.8163, allocations: 0 / 0.5968 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008292/0.8171, allocations: 63.89 kB / 0.5969 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.8171, allocations: 0 / 0.5969 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.866e-05/0.8172, allocations: 11.94 kB / 0.5969 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.8172, allocations: 4 kB / 0.5969 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.8172, allocations: 0 / 0.5969 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.819, allocations: 0.6979 MB / 0.5976 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.8191, allocations: 27.77 kB / 0.5976 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.589e-05/0.8192, allocations: 4 kB / 0.5976 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007734/0.8199, allocations: 23.97 kB / 0.5976 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.82, allocations: 19.91 kB / 0.5976 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.936e-05/0.8201, allocations: 18.61 kB / 0.5977 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001044/0.8202, allocations: 104.8 kB / 0.5978 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8202, allocations: 4 kB / 0.5978 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001216/0.8214, allocations: 151.7 kB / 0.5979 GB, free: 9.391 MB / 0.4981 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.001197/0.8226, allocations: 326.8 kB / 0.5982 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001291/0.8239, allocations: 423.5 kB / 0.5986 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.8239, allocations: 4 kB / 0.5986 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006558/0.8246, allocations: 211.8 kB / 0.5988 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.8257, allocations: 86.14 kB / 0.5989 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.828, allocations: 0.8829 MB / 0.5998 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.8282, allocations: 127.5 kB / 0.5999 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007589/0.829, allocations: 109.8 kB / 0.6 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.8292, allocations: 28.48 kB / 0.6 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.8292, allocations: 0 / 0.6 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of Templates: time 0.02055/0.8497, allocations: 8.244 MB / 0.6081 GB, free: 14.99 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (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 ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.945530903059989]