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.001069/0.001069, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00146/0.002529, allocations: 449.8 kB / 10.44 MB, free: 252 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.001027/0.001027, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.002397, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09305/1.091, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.2517/0.2517, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02425/0.2759, allocations: 13.1 MB / 291.5 MB, free: 7.332 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.172e-06/1.172e-06, allocations: 0 / 292.8 MB, free: 6.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.562e-05, allocations: 2.312 kB / 292.8 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.1656/0.1656, allocations: 146.2 MB / 439 MB, free: 3.453 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1883/0.3539, allocations: 6.978 MB / 446 MB, free: 3.637 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.3541, allocations: 1.125 kB / 446 MB, free: 3.637 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.3544, allocations: 77.39 kB / 446.1 MB, free: 3.637 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004598/0.359, allocations: 2.227 MB / 448.3 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.3593, allocations: 147.1 kB / 448.4 MB, free: 3.543 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006667/0.3599, allocations: 0.5291 MB / 449 MB, free: 3.543 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.817e-05/0.36, allocations: 14.52 kB / 449 MB, free: 3.535 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005239/0.3605, allocations: 323.5 kB / 449.3 MB, free: 3.535 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006135/0.3611, allocations: 435 kB / 449.7 MB, free: 3.531 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.161e-05/0.3612, allocations: 12.59 kB / 449.7 MB, free: 3.531 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003884/0.3651, allocations: 2.396 MB / 452.1 MB, free: 3.492 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.3652, allocations: 155.7 kB / 452.3 MB, free: 3.492 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.3653, allocations: 130.5 kB / 452.4 MB, free: 3.492 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00243/0.3678, allocations: 1.679 MB / 454.1 MB, free: 3.406 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/0.3678, allocations: 0 / 454.1 MB, free: 3.406 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3678, allocations: 0.9062 kB / 454.1 MB, free: 3.406 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.3678, allocations: 0 / 454.1 MB, free: 3.406 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.002058/0.3699, allocations: 1.201 MB / 455.3 MB, free: 18.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.704e-05/0.3699, allocations: 10.66 kB / 455.3 MB, free: 18.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/0.3717, allocations: 0.6301 MB / 455.9 MB, free: 18.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.3721, allocations: 274.6 kB / 456.2 MB, free: 18.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.464e-05/0.3722, allocations: 237.8 kB / 456.4 MB, free: 18.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.418e-05/0.3723, allocations: 35.62 kB / 456.5 MB, free: 18.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006432/0.3729, allocations: 0.9536 MB / 457.4 MB, free: 17.94 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3729, allocations: 0.8125 kB / 457.4 MB, free: 17.94 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.966e-05/0.373, allocations: 20.33 kB / 457.4 MB, free: 17.94 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.07e-05/0.373, allocations: 49.3 kB / 457.5 MB, free: 17.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009953/0.374, allocations: 0.9075 MB / 458.4 MB, free: 17.92 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.3756, allocations: 1.745 MB / 460.1 MB, free: 17.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.3757, allocations: 69.97 kB / 460.2 MB, free: 16.99 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/0.3758, allocations: 32.38 kB / 460.2 MB, free: 16.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001542/0.3773, allocations: 1.392 MB / 461.6 MB, free: 16.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.3773, allocations: 40.12 kB / 461.7 MB, free: 16.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.3773, allocations: 1.062 kB / 461.7 MB, free: 16.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006602/0.378, allocations: 323.1 kB / 462 MB, free: 16.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.378, allocations: 60.31 kB / 462 MB, free: 16.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.3782, allocations: 355.4 kB / 462.4 MB, free: 16.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.3782, allocations: 30.55 kB / 462.4 MB, free: 16.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.341e-05/0.3783, allocations: 376.7 kB / 462.8 MB, free: 16.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.3783, allocations: 74.56 kB / 462.9 MB, free: 16.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.937e-05/0.3784, allocations: 150.1 kB / 463 MB, free: 15.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.3785, allocations: 341.5 kB / 463.3 MB, free: 15.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.394e-05/0.3786, allocations: 62.25 kB / 463.4 MB, free: 15.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.3788, allocations: 0.5084 MB / 463.9 MB, free: 15.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/0.3792, allocations: 0.7083 MB / 464.6 MB, free: 14.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.3792, allocations: 10.5 kB / 464.6 MB, free: 14.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006148/0.3798, allocations: 0.5587 MB / 465.2 MB, free: 14.49 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.3799, allocations: 14.19 kB / 465.2 MB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.3799, allocations: 15.53 kB / 465.2 MB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.3799, allocations: 20.66 kB / 465.2 MB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.3802, allocations: 206.8 kB / 465.4 MB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000246/0.3804, allocations: 0.6126 MB / 466.1 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.3807, allocations: 103.6 kB / 466.2 MB, free: 13.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.3807, allocations: 54.16 kB / 466.2 MB, free: 13.85 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.0001121/0.3808, allocations: 167 kB / 466.4 MB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/0.381, allocations: 99.3 kB / 466.5 MB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.3812, allocations: 159.7 kB / 466.6 MB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3812, allocations: 3.312 kB / 466.6 MB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.3812, allocations: 3.094 kB / 466.6 MB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3812, allocations: 4.594 kB / 466.6 MB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.3816, allocations: 371.7 kB / 467 MB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3816, allocations: 3.312 kB / 467 MB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.3816, allocations: 33.56 kB / 467 MB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.3817, allocations: 36.59 kB / 467.1 MB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3817, allocations: 4.375 kB / 467.1 MB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.3817, allocations: 2.594 kB / 467.1 MB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002007/0.3819, allocations: 0.5897 MB / 467.7 MB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3819, allocations: 3.969 kB / 467.7 MB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.382, allocations: 236.1 kB / 467.9 MB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.3821, allocations: 3.031 kB / 467.9 MB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.3822, allocations: 14.84 kB / 467.9 MB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.3822, allocations: 11.86 kB / 467.9 MB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.3822, allocations: 14.12 kB / 467.9 MB, free: 12.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.238e-05/0.3823, allocations: 115.2 kB / 468.1 MB, free: 12.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3823, allocations: 0 / 468.1 MB, free: 12.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000875/0.3831, allocations: 354.5 kB / 468.4 MB, free: 12.55 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.001089/0.3842, allocations: 0.6326 MB / 469 MB, free: 12.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003603/0.3846, allocations: 301.5 kB / 469.3 MB, free: 12.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.125e-05/0.3846, allocations: 10.59 kB / 469.3 MB, free: 12.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.614e-05/0.3847, allocations: 62.23 kB / 469.4 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.0003673/0.3851, allocations: 232.9 kB / 469.6 MB, free: 12.28 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009207/0.3943, allocations: 6.86 MB / 476.5 MB, free: 11.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.5e-05/0.3943, allocations: 112.2 kB / 476.6 MB, free: 11.65 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003238/0.3946, allocations: 178.5 kB / 476.8 MB, free: 11.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.3948, allocations: 136.2 kB / 476.9 MB, free: 11.56 MB / 442.7 MB Notification: Performance of SimCode: time 1.393e-06/0.3948, allocations: 0 / 476.9 MB, free: 11.56 MB / 442.7 MB Notification: Performance of Templates: time 0.01214/0.407, allocations: 10.5 MB / 487.4 MB, free: 9.59 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6883325250819325]