Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008494/0.0008494, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.001902, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006796/0.0006796, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008662/0.001546, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9979/0.9979, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08871/1.087, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.2802/0.2802, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02496/0.3051, allocations: 13.1 MB / 291.3 MB, free: 7.363 MB / 282.7 MB " [Timeout remaining time 180] 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.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.1.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.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 292.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.917e-05, allocations: 3.438 kB / 292.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.1398/0.1398, allocations: 146.2 MB / 438.8 MB, free: 3.566 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1981/0.3378, allocations: 6.977 MB / 445.8 MB, free: 3.613 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.338, allocations: 0.9688 kB / 445.8 MB, free: 3.613 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.3383, allocations: 68.47 kB / 445.8 MB, free: 3.613 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004357/0.3426, allocations: 2.232 MB / 448.1 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.3428, allocations: 145.8 kB / 448.2 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006555/0.3435, allocations: 0.5313 MB / 448.7 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.741e-05/0.3436, allocations: 15.22 kB / 448.8 MB, free: 3.516 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004914/0.344, allocations: 330.4 kB / 449.1 MB, free: 3.512 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005685/0.3446, allocations: 428.7 kB / 449.5 MB, free: 3.512 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.736e-05/0.3447, allocations: 15.5 kB / 449.5 MB, free: 3.512 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003591/0.3482, allocations: 2.383 MB / 451.9 MB, free: 3.473 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.3484, allocations: 163.3 kB / 452.1 MB, free: 3.473 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.3485, allocations: 128.9 kB / 452.2 MB, free: 3.473 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002403/0.3509, allocations: 1.685 MB / 453.9 MB, free: 3.383 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.321e-05/0.3509, allocations: 0 / 453.9 MB, free: 3.383 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3509, allocations: 0.75 kB / 453.9 MB, free: 3.383 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.19e-05/0.351, allocations: 2.906 kB / 453.9 MB, free: 3.383 MB / 426.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.001904/0.3529, allocations: 1.201 MB / 455.1 MB, free: 18.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.3529, allocations: 10.91 kB / 455.1 MB, free: 18.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/0.3547, allocations: 0.6271 MB / 455.7 MB, free: 18.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.3551, allocations: 270.6 kB / 456 MB, free: 18.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.3552, allocations: 233.7 kB / 456.2 MB, free: 18.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.3554, allocations: 40.14 kB / 456.2 MB, free: 18.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007375/0.3561, allocations: 0.9528 MB / 457.2 MB, free: 17.92 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3561, allocations: 4.312 kB / 457.2 MB, free: 17.92 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.904e-05/0.3562, allocations: 13.81 kB / 457.2 MB, free: 17.92 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.491e-05/0.3562, allocations: 57.42 kB / 457.3 MB, free: 17.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.3573, allocations: 0.9049 MB / 458.2 MB, free: 17.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.359, allocations: 1.753 MB / 459.9 MB, free: 16.99 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.3591, allocations: 71.78 kB / 460 MB, free: 16.97 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.326e-05/0.3591, allocations: 31.17 kB / 460 MB, free: 16.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001654/0.3608, allocations: 1.385 MB / 461.4 MB, free: 16.67 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.3608, allocations: 33.5 kB / 461.4 MB, free: 16.63 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.714e-06/0.3608, allocations: 0.9375 kB / 461.4 MB, free: 16.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.000575/0.3614, allocations: 250.7 kB / 461.7 MB, free: 16.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.3614, allocations: 58.36 kB / 461.7 MB, free: 16.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.3616, allocations: 361.6 kB / 462.1 MB, free: 16.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.3616, allocations: 33.33 kB / 462.1 MB, free: 16.33 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.894e-05/0.3617, allocations: 364.9 kB / 462.5 MB, free: 16.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.3617, allocations: 75.89 kB / 462.6 MB, free: 16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-05/0.3618, allocations: 152.4 kB / 462.7 MB, free: 15.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.3619, allocations: 344.8 kB / 463.1 MB, free: 15.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.835e-05/0.362, allocations: 54.56 kB / 463.1 MB, free: 15.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.3621, allocations: 0.511 MB / 463.6 MB, free: 15.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.3625, allocations: 0.6524 MB / 464.3 MB, free: 14.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.3625, allocations: 13.34 kB / 464.3 MB, free: 14.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006131/0.3631, allocations: 0.5695 MB / 464.8 MB, free: 14.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3631, allocations: 11.19 kB / 464.9 MB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.3631, allocations: 15.12 kB / 464.9 MB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3632, allocations: 21.16 kB / 464.9 MB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.3635, allocations: 204.9 kB / 465.1 MB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000282/0.3637, allocations: 0.6091 MB / 465.7 MB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/0.3641, allocations: 102.4 kB / 465.8 MB, free: 13.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.3641, allocations: 50.38 kB / 465.9 MB, free: 13.83 MB / 442.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 0.0001125/0.3642, allocations: 174.3 kB / 466 MB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.3644, allocations: 100.2 kB / 466.1 MB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000199/0.3646, allocations: 163.1 kB / 466.3 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3646, allocations: 3.5 kB / 466.3 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3646, allocations: 3 kB / 466.3 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3646, allocations: 4.719 kB / 466.3 MB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.3649, allocations: 367.2 kB / 466.7 MB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3649, allocations: 3.094 kB / 466.7 MB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.353e-05/0.365, allocations: 29.98 kB / 466.7 MB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.365, allocations: 41.03 kB / 466.7 MB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.365, allocations: 1.922 kB / 466.7 MB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.3651, allocations: 3.844 kB / 466.7 MB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001833/0.3652, allocations: 0.5923 MB / 467.3 MB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3652, allocations: 1.094 kB / 467.3 MB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.3654, allocations: 231.7 kB / 467.5 MB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.3654, allocations: 6.031 kB / 467.6 MB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3655, allocations: 13.06 kB / 467.6 MB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.3655, allocations: 11.64 kB / 467.6 MB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.3655, allocations: 16.36 kB / 467.6 MB, free: 12.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.207e-05/0.3656, allocations: 118.6 kB / 467.7 MB, free: 12.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3656, allocations: 0.9375 kB / 467.7 MB, free: 12.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000951/0.3666, allocations: 352.3 kB / 468.1 MB, free: 12.54 MB / 442.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.001028/0.3676, allocations: 0.6348 MB / 468.7 MB, free: 12.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003057/0.3679, allocations: 289.6 kB / 469 MB, free: 12.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-05/0.3679, allocations: 14.03 kB / 469 MB, free: 12.39 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.069e-05/0.368, allocations: 50.97 kB / 469 MB, free: 12.38 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.3683, allocations: 126 kB / 469.2 MB, free: 12.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009095/0.3774, allocations: 6.856 MB / 476 MB, free: 11.83 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.289e-05/0.3774, allocations: 107.2 kB / 476.1 MB, free: 11.76 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003177/0.3777, allocations: 177 kB / 476.3 MB, free: 11.72 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.3779, allocations: 141.6 kB / 476.4 MB, free: 11.67 MB / 442.7 MB Notification: Performance of SimCode: time 7.81e-07/0.3779, allocations: 0 / 476.4 MB, free: 11.67 MB / 442.7 MB Notification: Performance of Templates: time 0.01346/0.3914, allocations: 11.17 MB / 487.6 MB, free: 9.457 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.688150188885629]