Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00172/0.00172, allocations: 116.5 kB / 20.43 MB, free: 1.305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002049/0.002049, allocations: 206.6 kB / 23.74 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2252/0.2252, allocations: 46.93 MB / 360.8 MB, free: 4.152 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002468/0.002468, allocations: 83.88 kB / 0.4962 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3184, allocations: 66.08 MB / 0.5607 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.19/0.5083, allocations: 153.8 MB / 0.7109 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008791/0.5171, allocations: 6.852 MB / 0.7176 GB, free: 3.012 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.5174, allocations: 0 / 0.7176 GB, free: 3.012 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004655/0.5178, allocations: 83.55 kB / 0.7177 GB, free: 2.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006768/0.5246, allocations: 2.284 MB / 0.7199 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.5251, allocations: 141.5 kB / 0.7201 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001013/0.5261, allocations: 0.5217 MB / 0.7206 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.646e-05/0.5262, allocations: 20.56 kB / 0.7206 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006407/0.5268, allocations: 262.9 kB / 0.7209 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.528, allocations: 494.5 kB / 0.7213 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.497e-05/0.5281, allocations: 12 kB / 0.7213 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006379/0.5345, allocations: 2.798 MB / 0.7241 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.5347, allocations: 171.6 kB / 0.7242 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004049/0.5351, allocations: 211 kB / 0.7244 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004803/0.5399, allocations: 1.859 MB / 0.7262 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5399, allocations: 3.938 kB / 0.7263 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.435e-06/0.54, allocations: 0 / 0.7263 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.969e-05/0.54, allocations: 0 / 0.7263 GB, free: 10.16 MB / 0.5606 GB 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.002821/0.5428, allocations: 0.9175 MB / 0.7271 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.5428, allocations: 8.031 kB / 0.7272 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.543, allocations: 94.64 kB / 0.7272 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003891/0.5469, allocations: 0.4962 MB / 0.7277 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008599/0.5477, allocations: 321.5 kB / 0.728 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/0.548, allocations: 226.3 kB / 0.7283 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.5481, allocations: 28 kB / 0.7283 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.5499, allocations: 1.117 MB / 0.7294 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.5499, allocations: 7.938 kB / 0.7294 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-05/0.55, allocations: 16 kB / 0.7294 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-05/0.5501, allocations: 52.97 kB / 0.7294 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003493/0.5536, allocations: 2.276 MB / 0.7317 GB, free: 4.461 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004151/0.5577, allocations: 2.286 MB / 0.7339 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.558, allocations: 96.91 kB / 0.734 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.5581, allocations: 53.08 kB / 0.734 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003793/0.5619, allocations: 1.393 MB / 0.7354 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.5619, allocations: 38.56 kB / 0.7354 GB, free: 460 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.5619, allocations: 0 / 0.7354 GB, free: 460 kB / 0.5606 GB 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.001084/0.563, allocations: 297.3 kB / 0.7357 GB, free: 156 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.5631, allocations: 51.41 kB / 0.7358 GB, free: 92 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2496/0.8127, allocations: 380.3 kB / 0.7361 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.773e-05/0.8128, allocations: 30.08 kB / 0.7362 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.813, allocations: 373.8 kB / 0.7365 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.157e-05/0.8131, allocations: 71.48 kB / 0.7366 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/0.8133, allocations: 165.1 kB / 0.7367 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.809e-05/0.8134, allocations: 340.4 kB / 0.7371 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.8137, allocations: 129.9 kB / 0.7372 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/0.8142, allocations: 0.5677 MB / 0.7377 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007251/0.8149, allocations: 0.7374 MB / 0.7385 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/0.8149, allocations: 4.875 kB / 0.7385 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001512/0.8164, allocations: 0.7561 MB / 0.7392 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.8164, allocations: 10.59 kB / 0.7392 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.8164, allocations: 19.38 kB / 0.7392 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/0.8165, allocations: 22.66 kB / 0.7393 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.817, allocations: 185.7 kB / 0.7394 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002494/0.8172, allocations: 0.6166 MB / 0.74 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/0.8177, allocations: 95.14 kB / 0.7401 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.8177, allocations: 59.61 kB / 0.7402 GB, free: 172.4 MB / 0.5606 GB 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.000164/0.8179, allocations: 206.7 kB / 0.7404 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003122/0.8182, allocations: 92.02 kB / 0.7405 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000298/0.8185, allocations: 192.7 kB / 0.7407 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.8185, allocations: 9.141 kB / 0.7407 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8185, allocations: 0 / 0.7407 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.8185, allocations: 1.125 kB / 0.7407 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.819, allocations: 0.5124 MB / 0.7412 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.819, allocations: 3.141 kB / 0.7412 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.8192, allocations: 31.61 kB / 0.7412 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.8192, allocations: 0.6562 kB / 0.7412 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.8192, allocations: 7.969 kB / 0.7412 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001846/0.8194, allocations: 0.5957 MB / 0.7418 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.8194, allocations: 3.938 kB / 0.7418 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.8196, allocations: 266.5 kB / 0.742 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-05/0.8196, allocations: 38.64 kB / 0.7421 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.275e-05/0.8197, allocations: 4.672 kB / 0.7421 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.8199, allocations: 16.11 kB / 0.7421 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.8199, allocations: 7.531 kB / 0.7421 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.82, allocations: 14.06 kB / 0.7421 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001883/0.8202, allocations: 245.6 kB / 0.7424 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8202, allocations: 0 / 0.7424 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001032/0.8212, allocations: 354.2 kB / 0.7427 GB, free: 170.7 MB / 0.5606 GB 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.001496/0.8227, allocations: 1.324 MB / 0.744 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004649/0.8232, allocations: 326.6 kB / 0.7443 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8232, allocations: 0 / 0.7443 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.922e-05/0.8233, allocations: 45.66 kB / 0.7443 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.8237, allocations: 57.5 kB / 0.7444 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009712/0.8334, allocations: 10.22 MB / 0.7544 GB, free: 160 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.8337, allocations: 0.7918 MB / 0.7552 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004563/0.8341, allocations: 241.9 kB / 0.7554 GB, free: 159 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.8342, allocations: 119.4 kB / 0.7555 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of SimCode: time 7.32e-07/0.8342, allocations: 0 / 0.7555 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03915/0.8734, allocations: 13.51 MB / 0.7687 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.14, allocations: 0 / 0.7687 GB, free: 145.4 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.279403988970444]