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.0008588/0.0008588, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.0009131/0.0009131, allocations: 168.1 kB / 24.82 MB, free: 8.879 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.045/1.045, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.3091/0.3091, allocations: 32.79 MB / 294.6 MB, free: 1.242 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.924e-06/1.924e-06, allocations: 0 / 376.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.663e-05/3.855e-05, allocations: 5.125 kB / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.3835/0.3835, allocations: 143.6 MB / 0.5079 GB, free: 21.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007865/0.3914, allocations: 6.873 MB / 0.5146 GB, free: 16.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.3916, allocations: 1.312 kB / 0.5146 GB, free: 16.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004911/0.3921, allocations: 85.81 kB / 0.5147 GB, free: 16.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006448/0.3986, allocations: 2.32 MB / 0.517 GB, free: 15.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.3989, allocations: 142.8 kB / 0.5171 GB, free: 15.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000724/0.3996, allocations: 0.5248 MB / 0.5176 GB, free: 15.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.744e-05/0.3997, allocations: 14.48 kB / 0.5176 GB, free: 15.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005975/0.4003, allocations: 319.2 kB / 0.5179 GB, free: 15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008295/0.4011, allocations: 472.6 kB / 0.5184 GB, free: 14.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.535e-05/0.4012, allocations: 13.44 kB / 0.5184 GB, free: 14.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005006/0.4062, allocations: 2.344 MB / 0.5207 GB, free: 14.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.4064, allocations: 178 kB / 0.5209 GB, free: 13.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.4065, allocations: 158.3 kB / 0.521 GB, free: 13.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004155/0.4107, allocations: 1.945 MB / 0.5229 GB, free: 13.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4107, allocations: 0 / 0.5229 GB, free: 13.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4107, allocations: 4 kB / 0.5229 GB, free: 13.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.4107, allocations: 0 / 0.5229 GB, free: 13.37 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.002247/0.4129, allocations: 1.022 MB / 0.5239 GB, free: 12.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.413, allocations: 10.56 kB / 0.5239 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002567/0.4156, allocations: 0.5869 MB / 0.5245 GB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006129/0.4162, allocations: 301.2 kB / 0.5248 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.4163, allocations: 232.8 kB / 0.525 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.4164, allocations: 38.44 kB / 0.525 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.4174, allocations: 1.007 MB / 0.526 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.4174, allocations: 0 / 0.526 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.827e-05/0.4175, allocations: 21.66 kB / 0.526 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.596e-05/0.4176, allocations: 53.16 kB / 0.5261 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/0.4193, allocations: 1.181 MB / 0.5272 GB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/0.4217, allocations: 2.198 MB / 0.5294 GB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.4219, allocations: 88.47 kB / 0.5295 GB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/0.4219, allocations: 42.11 kB / 0.5295 GB, free: 9.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00232/0.4243, allocations: 1.492 MB / 0.531 GB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.4243, allocations: 39.98 kB / 0.531 GB, free: 9.074 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.4243, allocations: 0 / 0.531 GB, free: 9.074 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=16): time 0.000788/0.4251, allocations: 274.2 kB / 0.5313 GB, free: 8.992 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.4251, allocations: 55.94 kB / 0.5313 GB, free: 8.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.4254, allocations: 463.4 kB / 0.5318 GB, free: 8.621 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.4254, allocations: 32.36 kB / 0.5318 GB, free: 8.586 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.4256, allocations: 432.7 kB / 0.5322 GB, free: 8.215 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.4256, allocations: 73.95 kB / 0.5323 GB, free: 8.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.4258, allocations: 178.5 kB / 0.5325 GB, free: 8.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.216e-05/0.4259, allocations: 0.5265 MB / 0.533 GB, free: 7.555 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.658e-05/0.426, allocations: 66.8 kB / 0.533 GB, free: 7.551 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.4263, allocations: 0.7159 MB / 0.5337 GB, free: 6.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005529/0.4268, allocations: 0.8673 MB / 0.5346 GB, free: 5.656 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/0.4268, allocations: 6.125 kB / 0.5346 GB, free: 5.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001004/0.4278, allocations: 0.6524 MB / 0.5352 GB, free: 5.414 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.4279, allocations: 18.22 kB / 0.5352 GB, free: 5.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.4279, allocations: 15.95 kB / 0.5353 GB, free: 5.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.409e-05/0.4279, allocations: 22.19 kB / 0.5353 GB, free: 5.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.4283, allocations: 185.2 kB / 0.5355 GB, free: 5.391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002748/0.4286, allocations: 0.9283 MB / 0.5364 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/0.429, allocations: 96.61 kB / 0.5365 GB, free: 4.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/0.429, allocations: 54.62 kB / 0.5365 GB, free: 4.402 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.0001343/0.4291, allocations: 216.5 kB / 0.5367 GB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/0.4294, allocations: 98.03 kB / 0.5368 GB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.4297, allocations: 198.3 kB / 0.537 GB, free: 4.047 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4297, allocations: 6.344 kB / 0.537 GB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.4297, allocations: 4 kB / 0.537 GB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4297, allocations: 0 / 0.537 GB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/0.4302, allocations: 489.5 kB / 0.5375 GB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4302, allocations: 2.938 kB / 0.5375 GB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.15e-05/0.4303, allocations: 29.91 kB / 0.5375 GB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.4303, allocations: 6.047 kB / 0.5375 GB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.4303, allocations: 6.781 kB / 0.5375 GB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001861/0.4305, allocations: 0.9071 MB / 0.5384 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4305, allocations: 2.906 kB / 0.5384 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.4307, allocations: 314.8 kB / 0.5387 GB, free: 2.426 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.4308, allocations: 39.06 kB / 0.5387 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.4308, allocations: 9.172 kB / 0.5387 GB, free: 2.398 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.431, allocations: 8.281 kB / 0.5388 GB, free: 2.398 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.431, allocations: 14.33 kB / 0.5388 GB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.431, allocations: 7.969 kB / 0.5388 GB, free: 2.395 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001355/0.4311, allocations: 252.3 kB / 0.539 GB, free: 2.238 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4311, allocations: 4.062 kB / 0.539 GB, free: 2.234 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001429/0.4326, allocations: 355 kB / 0.5394 GB, free: 2.16 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.001201/0.4338, allocations: 0.6516 MB / 0.54 GB, free: 1.902 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004044/0.4342, allocations: 307.3 kB / 0.5403 GB, free: 1.762 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4342, allocations: 3.938 kB / 0.5403 GB, free: 1.758 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.419e-05/0.4342, allocations: 52.86 kB / 0.5403 GB, free: 1.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.4346, allocations: 81.2 kB / 0.5404 GB, free: 1.688 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007159/0.4418, allocations: 6.961 MB / 0.5472 GB, free: 12.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.438e-05/0.4418, allocations: 101.3 kB / 0.5473 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003994/0.4422, allocations: 177 kB / 0.5475 GB, free: 12.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.4425, allocations: 178.1 kB / 0.5477 GB, free: 12.21 MB / 426.7 MB Notification: Performance of SimCode: time 2.004e-06/0.4425, allocations: 0 / 0.5477 GB, free: 12.21 MB / 426.7 MB Notification: Performance of Templates: time 0.01674/0.4592, allocations: 11.13 MB / 0.5585 GB, free: 1.117 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.116730988956988]