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.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.001149/0.001149, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001768/0.002917, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009616/0.0009616, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001393/0.002355, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.9275/0.9275, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1723/1.1, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.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.1263/0.1263, allocations: 32.8 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01897/0.1453, allocations: 12.53 MB / 284.5 MB, free: 9.715 MB / 282.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.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.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.242e-06/1.242e-06, allocations: 0 / 285.9 MB, free: 8.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.188e-05/1.313e-05, allocations: 2.312 kB / 285.9 MB, free: 8.406 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.3126/0.3126, allocations: 143.3 MB / 429.1 MB, free: 9.348 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005533/0.3181, allocations: 6.979 MB / 436.1 MB, free: 2.379 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.113e-05/0.3182, allocations: 3.938 kB / 436.1 MB, free: 2.375 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.3185, allocations: 79.5 kB / 436.2 MB, free: 2.297 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003424/0.3219, allocations: 2.219 MB / 438.4 MB, free: 68 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.3222, allocations: 147.7 kB / 438.5 MB, free: 15.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004804/0.3226, allocations: 0.5255 MB / 439.1 MB, free: 15.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.3227, allocations: 14.55 kB / 439.1 MB, free: 15.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003509/0.323, allocations: 314.9 kB / 439.4 MB, free: 15.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005195/0.3236, allocations: 422.8 kB / 439.8 MB, free: 14.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.3236, allocations: 12 kB / 439.8 MB, free: 14.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003098/0.3267, allocations: 2.376 MB / 442.2 MB, free: 12.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.3268, allocations: 155.6 kB / 442.3 MB, free: 12.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.3269, allocations: 127.8 kB / 442.5 MB, free: 11.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.3285, allocations: 1.676 MB / 444.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.3285, allocations: 0 / 444.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3285, allocations: 0 / 444.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.3285, allocations: 0 / 444.1 MB, free: 10.3 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.00138/0.3299, allocations: 1.202 MB / 445.3 MB, free: 9.055 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.673e-05/0.3299, allocations: 12.03 kB / 445.4 MB, free: 9.043 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/0.3316, allocations: 0.6264 MB / 446 MB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.3319, allocations: 277.2 kB / 446.3 MB, free: 8.121 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.353e-05/0.332, allocations: 227.2 kB / 446.5 MB, free: 7.852 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.394e-05/0.3321, allocations: 43.97 kB / 446.5 MB, free: 7.809 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008775/0.333, allocations: 0.9495 MB / 447.5 MB, free: 6.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.333, allocations: 4 kB / 447.5 MB, free: 6.746 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.253e-05/0.333, allocations: 12 kB / 447.5 MB, free: 6.734 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.175e-05/0.3331, allocations: 52.97 kB / 447.5 MB, free: 6.684 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.3341, allocations: 0.9055 MB / 448.4 MB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.3357, allocations: 1.752 MB / 450.2 MB, free: 3.965 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.954e-05/0.3358, allocations: 67.19 kB / 450.3 MB, free: 3.891 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.493e-05/0.3358, allocations: 36.83 kB / 450.3 MB, free: 3.852 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001475/0.3373, allocations: 1.358 MB / 451.7 MB, free: 2.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.3373, allocations: 34.56 kB / 451.7 MB, free: 2.438 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 9.02e-07/0.3373, allocations: 0 / 451.7 MB, free: 2.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006454/0.338, allocations: 333.8 kB / 452 MB, free: 2.109 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.338, allocations: 51.41 kB / 452.1 MB, free: 2.047 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.3382, allocations: 362.2 kB / 452.4 MB, free: 1.676 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.3382, allocations: 29.7 kB / 452.4 MB, free: 1.641 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.3383, allocations: 370.7 kB / 452.8 MB, free: 1.273 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.3383, allocations: 67.45 kB / 452.9 MB, free: 1.207 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.3384, allocations: 158.5 kB / 453 MB, free: 1.047 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.066e-05/0.3385, allocations: 350.7 kB / 453.4 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.239e-05/0.3386, allocations: 57.95 kB / 453.4 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.3388, allocations: 0.5061 MB / 453.9 MB, free: 15.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006529/0.3395, allocations: 0.7078 MB / 454.6 MB, free: 14.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-06/0.3395, allocations: 8 kB / 454.6 MB, free: 14.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006278/0.3401, allocations: 0.5555 MB / 455.2 MB, free: 14.42 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3401, allocations: 14.88 kB / 455.2 MB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.3401, allocations: 19.94 kB / 455.2 MB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.3402, allocations: 24 kB / 455.3 MB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.3405, allocations: 207.7 kB / 455.5 MB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002423/0.3407, allocations: 0.6132 MB / 456.1 MB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.3409, allocations: 99.88 kB / 456.2 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.341, allocations: 48 kB / 456.2 MB, free: 13.38 MB / 426.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.816e-05/0.3411, allocations: 176.2 kB / 456.4 MB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.3412, allocations: 99.8 kB / 456.5 MB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.3414, allocations: 161.4 kB / 456.6 MB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3414, allocations: 0 / 456.6 MB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.3414, allocations: 1.438 kB / 456.7 MB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.3414, allocations: 7.922 kB / 456.7 MB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.3417, allocations: 375.5 kB / 457 MB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3417, allocations: 0 / 457 MB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/0.3418, allocations: 27.98 kB / 457.1 MB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.3418, allocations: 39.67 kB / 457.1 MB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.3418, allocations: 4 kB / 457.1 MB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.3418, allocations: 8 kB / 457.1 MB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001642/0.342, allocations: 0.5782 MB / 457.7 MB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.342, allocations: 4.25 kB / 457.7 MB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.3421, allocations: 232.5 kB / 457.9 MB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.3422, allocations: 5.875 kB / 457.9 MB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3423, allocations: 8.047 kB / 457.9 MB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.03e-05/0.3423, allocations: 19.91 kB / 457.9 MB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.3423, allocations: 7.984 kB / 458 MB, free: 11.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.25e-05/0.3424, allocations: 112.7 kB / 458.1 MB, free: 11.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3424, allocations: 0 / 458.1 MB, free: 11.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006702/0.343, allocations: 351.2 kB / 458.4 MB, free: 11.07 MB / 426.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.001004/0.344, allocations: 0.6559 MB / 459.1 MB, free: 10.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002899/0.3443, allocations: 307 kB / 459.4 MB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.832e-05/0.3444, allocations: 17.81 kB / 459.4 MB, free: 10.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.83e-05/0.3444, allocations: 56.75 kB / 459.4 MB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.3447, allocations: 245.8 kB / 459.7 MB, free: 9.793 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007453/0.3522, allocations: 5.35 MB / 465 MB, free: 4.387 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.539e-05/0.3522, allocations: 101.2 kB / 465.1 MB, free: 4.266 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002631/0.3525, allocations: 169.3 kB / 465.3 MB, free: 4.105 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.3527, allocations: 143.3 kB / 465.4 MB, free: 3.965 MB / 426.7 MB Notification: Performance of SimCode: time 6.82e-07/0.3527, allocations: 0 / 465.4 MB, free: 3.965 MB / 426.7 MB Notification: Performance of Templates: time 0.01108/0.3638, allocations: 10.4 MB / 475.8 MB, free: 9.598 MB / 442.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4154772888869047]