Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.001111/0.001111, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001077/0.001077, allocations: 170.4 kB / 24.91 MB, free: 8.641 MB / 18.57 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.099/1.099, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.2798/0.2798, allocations: 32.81 MB / 294.6 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] 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.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.TestAllProperties.FlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") translateModel(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 3.938 kB / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.848e-05, allocations: 3.188 kB / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.318/0.318, allocations: 145.7 MB / 468.9 MB, free: 13.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004392/0.3224, allocations: 6.956 MB / 475.9 MB, free: 12.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.566e-05/0.3225, allocations: 3.094 kB / 475.9 MB, free: 12.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.3228, allocations: 77.44 kB / 476 MB, free: 12.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003419/0.3262, allocations: 2.33 MB / 478.3 MB, free: 12.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.3264, allocations: 146.2 kB / 478.4 MB, free: 12.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004803/0.3269, allocations: 0.5232 MB / 479 MB, free: 12.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.327, allocations: 19.06 kB / 479 MB, free: 12.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003648/0.3273, allocations: 329.4 kB / 479.3 MB, free: 12.63 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004755/0.3278, allocations: 434.7 kB / 479.7 MB, free: 12.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.3278, allocations: 11.81 kB / 479.7 MB, free: 12.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002696/0.3305, allocations: 2.303 MB / 482 MB, free: 12.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.3307, allocations: 182.3 kB / 482.2 MB, free: 12.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.3308, allocations: 156.9 kB / 482.4 MB, free: 12.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.3328, allocations: 1.954 MB / 484.3 MB, free: 12.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.3328, allocations: 0 / 484.3 MB, free: 12.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3328, allocations: 0 / 484.3 MB, free: 12.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3328, allocations: 0 / 484.3 MB, free: 12.27 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001439/0.3342, allocations: 0.8986 MB / 485.2 MB, free: 11.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3343, allocations: 8.875 kB / 485.2 MB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.336, allocations: 0.6329 MB / 485.9 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.3364, allocations: 277 kB / 486.1 MB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.844e-05/0.3364, allocations: 233.3 kB / 486.4 MB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.602e-05/0.3365, allocations: 37.5 kB / 486.4 MB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006185/0.3371, allocations: 0.9454 MB / 487.3 MB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3372, allocations: 2.656 kB / 487.3 MB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.379e-05/0.3372, allocations: 17.86 kB / 487.4 MB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.244e-05/0.3373, allocations: 57.52 kB / 487.4 MB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.3383, allocations: 0.9055 MB / 488.3 MB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.3399, allocations: 1.747 MB / 490.1 MB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.34, allocations: 79.64 kB / 490.1 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.34, allocations: 31.22 kB / 490.2 MB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001474/0.3415, allocations: 1.379 MB / 491.6 MB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.3415, allocations: 46.84 kB / 491.6 MB, free: 9.023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.3415, allocations: 0 / 491.6 MB, free: 9.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005107/0.342, allocations: 250 kB / 491.8 MB, free: 8.922 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.809e-05/0.342, allocations: 51.41 kB / 491.9 MB, free: 8.859 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.3422, allocations: 365 kB / 492.3 MB, free: 8.656 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.3422, allocations: 29.69 kB / 492.3 MB, free: 8.621 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.3423, allocations: 372.9 kB / 492.6 MB, free: 8.312 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.3423, allocations: 72.66 kB / 492.7 MB, free: 8.266 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.3424, allocations: 156.4 kB / 492.9 MB, free: 8.223 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.544e-05/0.3424, allocations: 341.5 kB / 493.2 MB, free: 7.898 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.041e-05/0.3425, allocations: 54.25 kB / 493.3 MB, free: 7.891 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.3426, allocations: 0.5078 MB / 493.8 MB, free: 7.289 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.343, allocations: 0.6623 MB / 494.4 MB, free: 6.594 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/0.343, allocations: 5.5 kB / 494.4 MB, free: 6.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0005648/0.3435, allocations: 0.5607 MB / 495 MB, free: 6.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.3435, allocations: 10.88 kB / 495 MB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.3436, allocations: 16.5 kB / 495 MB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.3436, allocations: 21.88 kB / 495 MB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.3439, allocations: 177.8 kB / 495.2 MB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001616/0.344, allocations: 0.6125 MB / 495.8 MB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.3442, allocations: 99.34 kB / 495.9 MB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.3443, allocations: 58.39 kB / 496 MB, free: 5.641 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.046e-05/0.3444, allocations: 165.9 kB / 496.1 MB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.3446, allocations: 111.5 kB / 496.3 MB, free: 5.449 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.3447, allocations: 163 kB / 496.4 MB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3447, allocations: 3.031 kB / 496.4 MB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.3447, allocations: 0 / 496.4 MB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3447, allocations: 3.938 kB / 496.4 MB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.345, allocations: 366.1 kB / 496.8 MB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.345, allocations: 3.094 kB / 496.8 MB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.874e-05/0.3451, allocations: 23.3 kB / 496.8 MB, free: 5.059 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.3451, allocations: 10.78 kB / 496.8 MB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.3451, allocations: 8.406 kB / 496.8 MB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001251/0.3452, allocations: 0.5911 MB / 497.4 MB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3452, allocations: 2 kB / 497.4 MB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.3454, allocations: 225 kB / 497.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.3454, allocations: 37.67 kB / 497.7 MB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.821e-05/0.3455, allocations: 2.812 kB / 497.7 MB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.3457, allocations: 12.23 kB / 497.7 MB, free: 4.227 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.3457, allocations: 25.05 kB / 497.7 MB, free: 4.211 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.3457, allocations: 5.844 kB / 497.7 MB, free: 4.211 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.3458, allocations: 118.7 kB / 497.8 MB, free: 4.176 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3458, allocations: 0 / 497.8 MB, free: 4.176 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001058/0.3469, allocations: 356.1 kB / 498.2 MB, free: 4.113 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001341/0.3482, allocations: 0.631 MB / 498.8 MB, free: 3.816 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003784/0.3486, allocations: 277.2 kB / 499.1 MB, free: 3.723 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-05/0.3486, allocations: 13.91 kB / 499.1 MB, free: 3.715 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.026e-05/0.3487, allocations: 48.44 kB / 499.1 MB, free: 3.695 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.3491, allocations: 71.44 kB / 499.2 MB, free: 3.672 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00844/0.3576, allocations: 6.841 MB / 0.4942 GB, free: 1.234 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.243e-05/0.3576, allocations: 109 kB / 0.4943 GB, free: 1.137 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003925/0.358, allocations: 182.7 kB / 0.4945 GB, free: 1.047 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.3583, allocations: 142.3 kB / 0.4946 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.3583, allocations: 0 / 0.4946 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of Templates: time 0.01148/0.3697, allocations: 11.06 MB / 0.5054 GB, free: 9.703 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.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: 4.016806764062494]