Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001995/0.001995, allocations: 186.4 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2623/0.2623, allocations: 44.91 MB / 353.5 MB, free: 11.81 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=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.0.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.0.0_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 67.89 kB / 497.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4673/0.4697, allocations: 64.29 MB / 0.5488 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2308/0.7005, allocations: 150.2 MB / 0.6955 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003045/0.7035, allocations: 2.208 MB / 0.6976 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.501e-05/0.7036, allocations: 0 / 0.6976 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004371/0.704, allocations: 51.72 kB / 0.6977 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.7059, allocations: 0.6531 MB / 0.6983 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.7063, allocations: 99.55 kB / 0.6984 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003819/0.7067, allocations: 270.9 kB / 0.6987 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.104e-05/0.7067, allocations: 4 kB / 0.6987 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.707, allocations: 135.5 kB / 0.6988 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.7073, allocations: 103.6 kB / 0.6989 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.7073, allocations: 8 kB / 0.6989 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.709, allocations: 0.8962 MB / 0.6998 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.7092, allocations: 83.77 kB / 0.6999 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.7093, allocations: 103.6 kB / 0.7 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.7104, allocations: 0.6494 MB / 0.7006 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.7104, allocations: 0 / 0.7006 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7104, allocations: 0 / 0.7006 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.7104, allocations: 4 kB / 0.7006 GB, free: 3.426 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.0009528/0.7113, allocations: 449.4 kB / 0.701 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.7114, allocations: 8.031 kB / 0.701 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002053/0.7134, allocations: 280.5 kB / 0.7013 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.7139, allocations: 218 kB / 0.7015 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.7139, allocations: 16.27 kB / 0.7015 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.657e-05/0.714, allocations: 16 kB / 0.7015 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008657/0.7149, allocations: 0.5044 MB / 0.702 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.7149, allocations: 0 / 0.702 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/0.7149, allocations: 4 kB / 0.702 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-05/0.715, allocations: 12 kB / 0.7021 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009211/0.7159, allocations: 0.5777 MB / 0.7026 GB, free: 1.297 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.002334/0.7182, allocations: 0.991 MB / 0.7036 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.7186, allocations: 229.1 kB / 0.7038 GB, free: 16 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.7189, allocations: 181.8 kB / 0.704 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009009/0.7198, allocations: 151.8 kB / 0.7041 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.7198, allocations: 38.56 kB / 0.7042 GB, free: 15.63 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.482e-06/0.7198, allocations: 4 kB / 0.7042 GB, free: 15.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.002072/0.7219, allocations: 0.5912 MB / 0.7047 GB, free: 15.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.722, allocations: 81.11 kB / 0.7048 GB, free: 14.94 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.7221, allocations: 129.8 kB / 0.7049 GB, free: 14.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.267e-05/0.7222, allocations: 33.7 kB / 0.705 GB, free: 14.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.444e-05/0.7223, allocations: 108.6 kB / 0.7051 GB, free: 14.65 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.7224, allocations: 119 kB / 0.7052 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.7225, allocations: 65.69 kB / 0.7053 GB, free: 14.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.7227, allocations: 330.8 kB / 0.7056 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.723, allocations: 183.9 kB / 0.7057 GB, free: 13.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.7235, allocations: 297.5 kB / 0.706 GB, free: 13.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008504/0.7243, allocations: 0.4917 MB / 0.7065 GB, free: 13.08 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.7243, allocations: 0 / 0.7065 GB, free: 13.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009859/0.7253, allocations: 0.5208 MB / 0.707 GB, free: 12.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.7254, allocations: 8 kB / 0.707 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.7254, allocations: 4 kB / 0.707 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.7254, allocations: 4 kB / 0.707 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005334/0.7259, allocations: 79.88 kB / 0.7071 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.7259, allocations: 8.328 kB / 0.7071 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.7263, allocations: 39.77 kB / 0.7072 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.296e-05/0.7264, allocations: 16 kB / 0.7072 GB, free: 12.4 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.0002012/0.7266, allocations: 153.8 kB / 0.7073 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.7267, allocations: 15.95 kB / 0.7073 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.7277, allocations: 0.4892 MB / 0.7078 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.7277, allocations: 0 / 0.7078 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.7277, allocations: 4 kB / 0.7078 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.7277, allocations: 0 / 0.7078 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007471/0.7285, allocations: 436.8 kB / 0.7082 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.7285, allocations: 0 / 0.7082 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000515/0.729, allocations: 59.89 kB / 0.7083 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.729, allocations: 4 kB / 0.7083 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.7291, allocations: 12 kB / 0.7083 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.7291, allocations: 0 / 0.7083 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.7291, allocations: 4 kB / 0.7083 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.7303, allocations: 0.6887 MB / 0.709 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.7304, allocations: 19.84 kB / 0.709 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.005e-05/0.7304, allocations: 16 kB / 0.709 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004956/0.7309, allocations: 19.97 kB / 0.709 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.731, allocations: 15.97 kB / 0.709 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-05/0.731, allocations: 15.98 kB / 0.7091 GB, free: 10.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.485e-05/0.7311, allocations: 95.27 kB / 0.7092 GB, free: 10.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7311, allocations: 7.938 kB / 0.7092 GB, free: 10.28 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008609/0.732, allocations: 163.7 kB / 0.7093 GB, free: 10.12 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.000991/0.733, allocations: 346.6 kB / 0.7096 GB, free: 9.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000874/0.7338, allocations: 423.8 kB / 0.7101 GB, free: 9.355 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7339, allocations: 0 / 0.7101 GB, free: 9.355 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003959/0.7342, allocations: 215.7 kB / 0.7103 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007652/0.735, allocations: 90.02 kB / 0.7103 GB, free: 9.059 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.7365, allocations: 0.8722 MB / 0.7112 GB, free: 8.156 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.737, allocations: 0.7364 MB / 0.7119 GB, free: 7.395 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004364/0.7374, allocations: 117.7 kB / 0.712 GB, free: 7.281 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.7375, allocations: 31.42 kB / 0.7121 GB, free: 7.254 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.7375, allocations: 0 / 0.7121 GB, free: 7.254 MB / 0.545 GB Notification: Performance of Templates: time 0.0152/0.7527, allocations: 8.257 MB / 0.7201 GB, free: 15.05 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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.216811236925423]