Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001389/0.001389, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001679/0.001679, allocations: 209.2 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.535/1.535, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2507/0.2507, allocations: 46.94 MB / 360.9 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 63.83 kB / 0.4966 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3847, allocations: 66.04 MB / 0.5611 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2139/0.5986, allocations: 131.6 MB / 0.6896 GB, free: 40 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003182/0.6018, allocations: 1.974 MB / 0.6915 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.444e-05/0.6019, allocations: 0 / 0.6915 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004106/0.6023, allocations: 59.67 kB / 0.6916 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.6042, allocations: 0.6376 MB / 0.6922 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.6046, allocations: 119.3 kB / 0.6923 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003909/0.605, allocations: 263 kB / 0.6926 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.941e-05/0.605, allocations: 4 kB / 0.6926 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003163/0.6054, allocations: 151.4 kB / 0.6927 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.6056, allocations: 91.7 kB / 0.6928 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.6056, allocations: 8 kB / 0.6928 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.6072, allocations: 0.7831 MB / 0.6936 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.6073, allocations: 91.75 kB / 0.6937 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.6075, allocations: 83.72 kB / 0.6937 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.6086, allocations: 0.6492 MB / 0.6944 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6086, allocations: 0 / 0.6944 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6086, allocations: 0 / 0.6944 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.6086, allocations: 0 / 0.6944 GB, free: 11.14 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.0009499/0.6096, allocations: 449.4 kB / 0.6948 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.6096, allocations: 8.031 kB / 0.6948 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002165/0.6118, allocations: 276.5 kB / 0.6951 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005923/0.6124, allocations: 222 kB / 0.6953 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.6124, allocations: 8.328 kB / 0.6953 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.076e-05/0.6125, allocations: 16 kB / 0.6953 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.6136, allocations: 0.6512 MB / 0.696 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.6136, allocations: 0 / 0.696 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/0.6136, allocations: 4 kB / 0.696 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/0.6136, allocations: 8 kB / 0.696 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.6147, allocations: 0.5778 MB / 0.6965 GB, free: 8.84 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.002472/0.6171, allocations: 0.9021 MB / 0.6974 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/0.6176, allocations: 249 kB / 0.6976 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.6179, allocations: 177.6 kB / 0.6978 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009291/0.6188, allocations: 155.8 kB / 0.698 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.651e-05/0.6188, allocations: 42.5 kB / 0.698 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 2.545e-06/0.6188, allocations: 0 / 0.698 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.002086/0.6209, allocations: 0.5939 MB / 0.6986 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/0.621, allocations: 85.11 kB / 0.6987 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.6212, allocations: 129.8 kB / 0.6988 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.32e-05/0.6212, allocations: 37.64 kB / 0.6988 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.6213, allocations: 116.5 kB / 0.6989 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.6214, allocations: 115 kB / 0.699 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.6216, allocations: 69.47 kB / 0.6991 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.6218, allocations: 326.8 kB / 0.6994 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.6221, allocations: 183.9 kB / 0.6996 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000441/0.6226, allocations: 284.5 kB / 0.6999 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008402/0.6234, allocations: 498.4 kB / 0.7003 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.6234, allocations: 0 / 0.7003 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001051/0.6245, allocations: 0.5169 MB / 0.7009 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.6245, allocations: 8.062 kB / 0.7009 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.6245, allocations: 4 kB / 0.7009 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.6245, allocations: 8 kB / 0.7009 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005494/0.6251, allocations: 83.88 kB / 0.701 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.6251, allocations: 7.938 kB / 0.701 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.6255, allocations: 35.77 kB / 0.701 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.814e-05/0.6255, allocations: 20 kB / 0.701 GB, free: 4.023 MB / 0.5294 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.0001981/0.6257, allocations: 145.7 kB / 0.7012 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.6259, allocations: 15.91 kB / 0.7012 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.6269, allocations: 497.1 kB / 0.7016 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.6269, allocations: 11.94 kB / 0.7017 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6269, allocations: 0 / 0.7017 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.6269, allocations: 4 kB / 0.7017 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000726/0.6277, allocations: 349.6 kB / 0.702 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.6277, allocations: 7.938 kB / 0.702 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005249/0.6282, allocations: 51.91 kB / 0.702 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.6282, allocations: 4 kB / 0.7021 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.356e-05/0.6283, allocations: 15.98 kB / 0.7021 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.6283, allocations: 0 / 0.7021 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6283, allocations: 0 / 0.7021 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.6295, allocations: 0.6917 MB / 0.7027 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.6295, allocations: 19.88 kB / 0.7028 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.421e-05/0.6296, allocations: 15.98 kB / 0.7028 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/0.6301, allocations: 15.98 kB / 0.7028 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.6301, allocations: 20.05 kB / 0.7028 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.214e-05/0.6302, allocations: 15.98 kB / 0.7028 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.972e-05/0.6303, allocations: 107.2 kB / 0.7029 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.6303, allocations: 0 / 0.7029 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007656/0.631, allocations: 167.6 kB / 0.7031 GB, free: 1.84 MB / 0.5294 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.0009312/0.6319, allocations: 338.6 kB / 0.7034 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008578/0.6328, allocations: 423.6 kB / 0.7038 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.6328, allocations: 0 / 0.7038 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003842/0.6332, allocations: 204.7 kB / 0.704 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007692/0.634, allocations: 102 kB / 0.7041 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.6356, allocations: 0.8876 MB / 0.705 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.6357, allocations: 119.4 kB / 0.7051 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004684/0.6362, allocations: 113.8 kB / 0.7052 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.6363, allocations: 31.42 kB / 0.7052 GB, free: 15.59 MB / 0.545 GB Notification: Performance of SimCode: time 8.21e-07/0.6363, allocations: 0 / 0.7052 GB, free: 15.59 MB / 0.545 GB Notification: Performance of Templates: time 0.01588/0.6522, allocations: 8.554 MB / 0.7136 GB, free: 7.129 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.221369444858283]