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.001008/0.001008, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.00124/0.00124, allocations: 168.8 kB / 24.91 MB, free: 9.199 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.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.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.2868/0.2868, allocations: 34.26 MB / 296.1 MB, free: 0.7344 MB / 266.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.212e-06/1.212e-06, allocations: 0 / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.393e-05, allocations: 9.359 kB / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.376/0.376, allocations: 145.7 MB / 470.9 MB, free: 12.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006911/0.3829, allocations: 6.962 MB / 477.9 MB, free: 12.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002677/0.3832, allocations: 6.688 kB / 477.9 MB, free: 12.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00046/0.3836, allocations: 66.77 kB / 478 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006348/0.39, allocations: 2.334 MB / 480.3 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.3903, allocations: 150.6 kB / 480.5 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008561/0.3912, allocations: 0.5238 MB / 481 MB, free: 11.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.842e-05/0.3912, allocations: 16.05 kB / 481 MB, free: 11.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006188/0.3918, allocations: 326.8 kB / 481.3 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007196/0.3926, allocations: 438.8 kB / 481.7 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.693e-05/0.3926, allocations: 10.94 kB / 481.8 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005232/0.3979, allocations: 2.302 MB / 484.1 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.3981, allocations: 177 kB / 484.2 MB, free: 11.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.3983, allocations: 159.8 kB / 484.4 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005881/0.4042, allocations: 1.952 MB / 486.3 MB, free: 11.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.4042, allocations: 0 / 486.3 MB, free: 11.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4042, allocations: 0 / 486.3 MB, free: 11.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.4042, allocations: 0 / 486.3 MB, free: 11.36 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.00246/0.4067, allocations: 0.8983 MB / 487.2 MB, free: 10.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/0.4067, allocations: 8.438 kB / 487.2 MB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002268/0.409, allocations: 0.6342 MB / 487.9 MB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005845/0.4096, allocations: 269.3 kB / 488.1 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.4097, allocations: 242.2 kB / 488.4 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.937e-05/0.4098, allocations: 38.56 kB / 488.4 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008735/0.4107, allocations: 0.9457 MB / 489.4 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.4107, allocations: 3.938 kB / 489.4 MB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-05/0.4107, allocations: 15.59 kB / 489.4 MB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.838e-05/0.4108, allocations: 54.38 kB / 489.4 MB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.412, allocations: 0.9075 MB / 490.3 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.4143, allocations: 1.753 MB / 492.1 MB, free: 8.426 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.4145, allocations: 67.47 kB / 492.2 MB, free: 8.391 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.488e-05/0.4145, allocations: 28.47 kB / 492.2 MB, free: 8.379 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002201/0.4167, allocations: 1.392 MB / 493.6 MB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.4167, allocations: 38.06 kB / 493.6 MB, free: 7.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.775e-06/0.4167, allocations: 3.312 kB / 493.6 MB, free: 7.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007065/0.4175, allocations: 240.7 kB / 493.9 MB, free: 7.723 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.4175, allocations: 61.88 kB / 493.9 MB, free: 7.656 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.4177, allocations: 363 kB / 494.3 MB, free: 7.449 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.4178, allocations: 29.27 kB / 494.3 MB, free: 7.418 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.4179, allocations: 377.1 kB / 494.7 MB, free: 7.105 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.4179, allocations: 72.62 kB / 494.7 MB, free: 7.059 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.4181, allocations: 155.8 kB / 494.9 MB, free: 7.012 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.584e-05/0.4181, allocations: 338.5 kB / 495.2 MB, free: 6.691 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.349e-05/0.4182, allocations: 57.95 kB / 495.3 MB, free: 6.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.4184, allocations: 0.5047 MB / 495.8 MB, free: 6.082 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.4188, allocations: 0.6595 MB / 496.4 MB, free: 5.387 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/0.4189, allocations: 9.688 kB / 496.5 MB, free: 5.383 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.000709/0.4196, allocations: 0.5567 MB / 497 MB, free: 5.137 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.4196, allocations: 17.53 kB / 497 MB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.4196, allocations: 13.72 kB / 497 MB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/0.4196, allocations: 22.19 kB / 497.1 MB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.42, allocations: 184.8 kB / 497.2 MB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002255/0.4202, allocations: 0.6122 MB / 497.9 MB, free: 4.492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.4205, allocations: 98.81 kB / 498 MB, free: 4.438 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.544e-05/0.4206, allocations: 47.25 kB / 498 MB, free: 4.438 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 0.0001289/0.4207, allocations: 170 kB / 498.2 MB, free: 4.297 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002493/0.421, allocations: 107.1 kB / 498.3 MB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.4212, allocations: 152.4 kB / 498.4 MB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4212, allocations: 3.438 kB / 498.4 MB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.4212, allocations: 3.938 kB / 498.4 MB, free: 4.148 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4212, allocations: 11.88 kB / 498.4 MB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004325/0.4217, allocations: 371.6 kB / 498.8 MB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4217, allocations: 3.281 kB / 498.8 MB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.104e-05/0.4217, allocations: 31.06 kB / 498.8 MB, free: 3.844 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.4217, allocations: 6.312 kB / 498.8 MB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.4217, allocations: 6.594 kB / 498.8 MB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00015/0.4219, allocations: 0.5798 MB / 499.4 MB, free: 3.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4219, allocations: 2.938 kB / 499.4 MB, free: 3.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.422, allocations: 234.8 kB / 499.7 MB, free: 3.043 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.4221, allocations: 27 kB / 499.7 MB, free: 3.027 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.4221, allocations: 6.359 kB / 499.7 MB, free: 3.027 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.4223, allocations: 16.12 kB / 499.7 MB, free: 3.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/0.4223, allocations: 20.11 kB / 499.7 MB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.4223, allocations: 14.23 kB / 499.7 MB, free: 3.004 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.77e-05/0.4224, allocations: 114.8 kB / 499.9 MB, free: 2.969 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.4224, allocations: 4.062 kB / 499.9 MB, free: 2.965 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001121/0.4235, allocations: 355.7 kB / 0.4885 GB, free: 2.906 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.001116/0.4246, allocations: 0.6291 MB / 0.4891 GB, free: 2.609 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003451/0.425, allocations: 274.3 kB / 0.4894 GB, free: 2.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.249e-05/0.425, allocations: 9.969 kB / 0.4894 GB, free: 2.512 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.963e-05/0.4251, allocations: 45.88 kB / 0.4894 GB, free: 2.492 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.4253, allocations: 70.12 kB / 0.4895 GB, free: 2.473 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006114/0.4314, allocations: 6.839 MB / 0.4962 GB, free: 36 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.492e-05/0.4315, allocations: 112.5 kB / 0.4963 GB, free: 15.94 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003585/0.4319, allocations: 182.4 kB / 0.4964 GB, free: 15.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.4321, allocations: 146.1 kB / 0.4966 GB, free: 15.78 MB / 426.7 MB Notification: Performance of SimCode: time 1.683e-06/0.4321, allocations: 0 / 0.4966 GB, free: 15.78 MB / 426.7 MB Notification: Performance of Templates: time 0.01425/0.4463, allocations: 11.05 MB / 0.5074 GB, free: 8.02 MB / 426.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 -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: 4.080941691994667]