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.001338/0.001338, allocations: 120.1 kB / 18.49 MB, free: 4.586 MB / 14.72 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.001869/0.001869, allocations: 215 kB / 21.45 MB, free: 1.641 MB / 14.72 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.502/1.502, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.2457/0.2457, allocations: 46.92 MB / 357.8 MB, free: 10.31 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 67.89 kB / 0.4916 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.143, allocations: 65.99 MB / 0.5561 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.521/0.664, allocations: 153.7 MB / 0.7062 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007972/0.672, allocations: 6.848 MB / 0.7129 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.6721, allocations: 0 / 0.7129 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004127/0.6725, allocations: 83.48 kB / 0.713 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005533/0.6781, allocations: 2.217 MB / 0.7151 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.6784, allocations: 138.9 kB / 0.7153 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007959/0.6792, allocations: 0.5178 MB / 0.7158 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.177e-05/0.6793, allocations: 12.84 kB / 0.7158 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000483/0.6798, allocations: 263.6 kB / 0.716 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008725/0.6806, allocations: 490.6 kB / 0.7165 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.6807, allocations: 12 kB / 0.7165 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005943/0.6866, allocations: 2.751 MB / 0.7192 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.6868, allocations: 163.5 kB / 0.7194 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002504/0.687, allocations: 219 kB / 0.7196 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003287/0.6903, allocations: 1.859 MB / 0.7214 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.6903, allocations: 0 / 0.7214 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6903, allocations: 0 / 0.7214 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.6903, allocations: 11.94 kB / 0.7214 GB, free: 8.223 MB / 0.5294 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.002466/0.6928, allocations: 0.9811 MB / 0.7224 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.6929, allocations: 12.03 kB / 0.7224 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.57e-05/0.6929, allocations: 13.19 kB / 0.7224 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.693, allocations: 90.69 kB / 0.7225 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003733/0.6967, allocations: 0.4962 MB / 0.723 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006009/0.6973, allocations: 375.5 kB / 0.7233 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.6975, allocations: 131.5 kB / 0.7234 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.6976, allocations: 35.98 kB / 0.7235 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.6992, allocations: 1.101 MB / 0.7246 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.6992, allocations: 0 / 0.7246 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.762e-05/0.6993, allocations: 16 kB / 0.7246 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-05/0.6994, allocations: 56.97 kB / 0.7246 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003371/0.7028, allocations: 2.264 MB / 0.7268 GB, free: 2.508 MB / 0.5294 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.004346/0.7071, allocations: 2.634 MB / 0.7294 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.7074, allocations: 106.4 kB / 0.7295 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.7075, allocations: 45.97 kB / 0.7296 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004726/0.7122, allocations: 3.289 MB / 0.7328 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.602e-05/0.7123, allocations: 34.56 kB / 0.7328 GB, free: 11.69 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.863e-06/0.7123, allocations: 0 / 0.7328 GB, free: 11.69 MB / 0.545 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.001103/0.7134, allocations: 307.3 kB / 0.7331 GB, free: 11.39 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.7134, allocations: 51.41 kB / 0.7331 GB, free: 11.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004207/0.7138, allocations: 384.1 kB / 0.7335 GB, free: 10.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.7139, allocations: 29.7 kB / 0.7335 GB, free: 10.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.7141, allocations: 374.8 kB / 0.7339 GB, free: 10.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.31e-05/0.7142, allocations: 75.45 kB / 0.734 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.7144, allocations: 166.5 kB / 0.7341 GB, free: 10.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.7146, allocations: 338.8 kB / 0.7344 GB, free: 9.953 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.7148, allocations: 125.9 kB / 0.7346 GB, free: 9.832 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006023/0.7154, allocations: 0.5725 MB / 0.7351 GB, free: 9.039 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000867/0.7163, allocations: 0.7372 MB / 0.7358 GB, free: 8.082 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.098e-06/0.7163, allocations: 11.88 kB / 0.7359 GB, free: 8.074 MB / 0.545 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001381/0.7176, allocations: 0.7399 MB / 0.7366 GB, free: 7.328 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.7177, allocations: 24.17 kB / 0.7366 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.7177, allocations: 16 kB / 0.7366 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.766e-05/0.7177, allocations: 23.94 kB / 0.7366 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/0.7183, allocations: 183.7 kB / 0.7368 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004206/0.7187, allocations: 0.6171 MB / 0.7374 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004241/0.7191, allocations: 99.25 kB / 0.7375 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.091e-05/0.7192, allocations: 60 kB / 0.7376 GB, free: 6.289 MB / 0.545 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.0002428/0.7194, allocations: 213.5 kB / 0.7378 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/0.7198, allocations: 91.67 kB / 0.7379 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004271/0.7202, allocations: 193.4 kB / 0.738 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.7202, allocations: 4 kB / 0.738 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7202, allocations: 0 / 0.738 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.7202, allocations: 0 / 0.738 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008017/0.721, allocations: 0.5434 MB / 0.7386 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.721, allocations: 0 / 0.7386 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.7212, allocations: 31.98 kB / 0.7386 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.7212, allocations: 4 kB / 0.7386 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.7212, allocations: 4 kB / 0.7386 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003784/0.7216, allocations: 0.5937 MB / 0.7392 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.7216, allocations: 3.938 kB / 0.7392 GB, free: 4.492 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.7218, allocations: 252.7 kB / 0.7394 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.722, allocations: 120.8 kB / 0.7396 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/0.722, allocations: 7.938 kB / 0.7396 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.7223, allocations: 11.98 kB / 0.7396 GB, free: 4.055 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.7223, allocations: 8 kB / 0.7396 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.7223, allocations: 15.98 kB / 0.7396 GB, free: 4.031 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003036/0.7226, allocations: 239.2 kB / 0.7398 GB, free: 3.801 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.7226, allocations: 0 / 0.7398 GB, free: 3.801 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001773/0.7244, allocations: 351.2 kB / 0.7402 GB, free: 3.457 MB / 0.545 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.002915/0.7273, allocations: 1.333 MB / 0.7415 GB, free: 2.082 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.7283, allocations: 327.2 kB / 0.7418 GB, free: 1.766 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.7283, allocations: 0 / 0.7418 GB, free: 1.766 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.7285, allocations: 47.86 kB / 0.7418 GB, free: 1.719 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006987/0.7292, allocations: 70.97 kB / 0.7419 GB, free: 1.656 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/0.7447, allocations: 10.21 MB / 0.7519 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.7452, allocations: 0.789 MB / 0.7526 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005826/0.7458, allocations: 239.3 kB / 0.7529 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.7459, allocations: 127.3 kB / 0.753 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of SimCode: time 9.42e-07/0.7459, allocations: 0 / 0.753 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03421/0.7802, allocations: 13.07 MB / 0.7657 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.15, allocations: 0 / 0.7657 GB, free: 8.816 MB / 0.5762 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 16.80237050098367]