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.001121/0.001121, allocations: 95.31 kB / 20.43 MB, free: 4.145 MB / 18.57 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.001499/0.001499, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 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 0.9515/0.9515, allocations: 158.6 MB / 185.7 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] 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.1364/0.1364, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|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.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.946e-06/2.946e-06, allocations: 0 / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.821e-05/4.116e-05, allocations: 12.22 kB / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4194/0.4194, allocations: 144 MB / 491.6 MB, free: 9.555 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.4215, allocations: 2.13 MB / 493.7 MB, free: 9.172 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.171e-05/0.4216, allocations: 3.469 kB / 493.7 MB, free: 9.172 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004332/0.4221, allocations: 56.5 kB / 493.8 MB, free: 9.137 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.4233, allocations: 0.6358 MB / 494.4 MB, free: 8.812 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.4236, allocations: 111.3 kB / 494.5 MB, free: 8.777 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.4239, allocations: 259.3 kB / 494.8 MB, free: 8.691 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.786e-05/0.424, allocations: 8.906 kB / 494.8 MB, free: 8.688 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/0.4243, allocations: 168.3 kB / 495 MB, free: 8.625 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.4244, allocations: 85.98 kB / 495.1 MB, free: 8.598 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.4245, allocations: 8.844 kB / 495.1 MB, free: 8.598 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.4255, allocations: 0.7504 MB / 495.8 MB, free: 8.355 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.79e-05/0.4256, allocations: 85.33 kB / 495.9 MB, free: 8.328 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.201e-05/0.4257, allocations: 84.03 kB / 496 MB, free: 8.309 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008716/0.4266, allocations: 0.6642 MB / 496.6 MB, free: 8.094 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4266, allocations: 0 / 496.6 MB, free: 8.094 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.4266, allocations: 0 / 496.6 MB, free: 8.094 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.4266, allocations: 0 / 496.6 MB, free: 8.094 MB / 362.7 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.000672/0.4273, allocations: 0.5281 MB / 497.2 MB, free: 7.633 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.4273, allocations: 12.28 kB / 497.2 MB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.4286, allocations: 344.9 kB / 497.5 MB, free: 7.496 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.4289, allocations: 214.1 kB / 497.7 MB, free: 7.336 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.4289, allocations: 9.859 kB / 497.7 MB, free: 7.336 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.389e-05/0.429, allocations: 25.55 kB / 497.8 MB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.4295, allocations: 0.4983 MB / 498.3 MB, free: 6.988 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.4295, allocations: 3.938 kB / 498.3 MB, free: 6.984 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.194e-05/0.4295, allocations: 9.344 kB / 498.3 MB, free: 6.984 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.4296, allocations: 9.828 kB / 498.3 MB, free: 6.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004033/0.43, allocations: 299 kB / 498.6 MB, free: 6.926 MB / 362.7 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.001315/0.4313, allocations: 0.9017 MB / 499.5 MB, free: 6.371 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.4315, allocations: 174.6 kB / 499.7 MB, free: 6.281 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.4316, allocations: 106.9 kB / 499.8 MB, free: 6.246 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003699/0.432, allocations: 120 kB / 499.9 MB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.432, allocations: 43.83 kB / 499.9 MB, free: 6.164 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.914e-06/0.432, allocations: 0 / 499.9 MB, free: 6.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.00103/0.4331, allocations: 460.3 kB / 0.4886 GB, free: 6.027 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.4331, allocations: 84 kB / 0.4887 GB, free: 5.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.852e-05/0.4332, allocations: 185 kB / 0.4889 GB, free: 5.758 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.4332, allocations: 36.2 kB / 0.4889 GB, free: 5.723 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.4333, allocations: 163.6 kB / 0.4891 GB, free: 5.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.911e-05/0.4334, allocations: 113.4 kB / 0.4892 GB, free: 5.492 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.4335, allocations: 76.58 kB / 0.4893 GB, free: 5.457 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.806e-05/0.4336, allocations: 0.4967 MB / 0.4898 GB, free: 4.961 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.4337, allocations: 99.73 kB / 0.4898 GB, free: 4.949 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.4339, allocations: 250.7 kB / 0.4901 GB, free: 4.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.4343, allocations: 378.7 kB / 0.4904 GB, free: 4.547 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.4343, allocations: 0 / 0.4904 GB, free: 4.547 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005065/0.4348, allocations: 388.9 kB / 0.4908 GB, free: 4.449 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.4348, allocations: 5.719 kB / 0.4908 GB, free: 4.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.4348, allocations: 2.375 kB / 0.4908 GB, free: 4.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.4348, allocations: 14.59 kB / 0.4908 GB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.4351, allocations: 86.86 kB / 0.4909 GB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.4351, allocations: 6.312 kB / 0.4909 GB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.4353, allocations: 33.64 kB / 0.491 GB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.4353, allocations: 17.69 kB / 0.491 GB, free: 4.402 MB / 362.7 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.0001108/0.4354, allocations: 179.9 kB / 0.4911 GB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.585e-05/0.4355, allocations: 25.97 kB / 0.4912 GB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005136/0.436, allocations: 369.5 kB / 0.4915 GB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.436, allocations: 6.938 kB / 0.4915 GB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.436, allocations: 0 / 0.4915 GB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.4361, allocations: 0 / 0.4915 GB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.4365, allocations: 316.6 kB / 0.4918 GB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4365, allocations: 3.984 kB / 0.4918 GB, free: 3.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.4367, allocations: 62.34 kB / 0.4919 GB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4367, allocations: 0 / 0.4919 GB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.4367, allocations: 13.14 kB / 0.4919 GB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4367, allocations: 0 / 0.4919 GB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4367, allocations: 6.594 kB / 0.4919 GB, free: 3.863 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005741/0.4373, allocations: 0.6654 MB / 0.4926 GB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.4373, allocations: 14.2 kB / 0.4926 GB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.4374, allocations: 6 kB / 0.4926 GB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.4376, allocations: 30.72 kB / 0.4926 GB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.4376, allocations: 18.06 kB / 0.4926 GB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.4376, allocations: 18.61 kB / 0.4927 GB, free: 3.469 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.761e-05/0.4377, allocations: 139 kB / 0.4928 GB, free: 3.344 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4377, allocations: 3.062 kB / 0.4928 GB, free: 3.344 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004348/0.4381, allocations: 161.2 kB / 0.4929 GB, free: 3.316 MB / 362.7 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.0005796/0.4387, allocations: 344.2 kB / 0.4933 GB, free: 3.133 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003842/0.4391, allocations: 300.6 kB / 0.4936 GB, free: 3.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4391, allocations: 192 / 0.4936 GB, free: 3.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.4392, allocations: 162 kB / 0.4937 GB, free: 3.031 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.4397, allocations: 98.56 kB / 0.4938 GB, free: 2.996 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.4408, allocations: 0.66 MB / 0.4944 GB, free: 2.512 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.063e-05/0.4409, allocations: 91.17 kB / 0.4945 GB, free: 2.426 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002911/0.4412, allocations: 109.5 kB / 0.4946 GB, free: 2.348 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.4413, allocations: 28.69 kB / 0.4947 GB, free: 2.34 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4413, allocations: 0 / 0.4947 GB, free: 2.34 MB / 362.7 MB Notification: Performance of Templates: time 0.01136/0.4527, allocations: 9.635 MB / 0.5041 GB, free: 9.699 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.757488212082535]