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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 110.4 kB / 17.78 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 183.8 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1977/0.1977, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 67.89 kB / 470 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3539, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.1693/0.5233, allocations: 150.4 MB / 0.6653 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007449/0.5308, allocations: 6.829 MB / 0.672 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.531, allocations: 4 kB / 0.672 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.5314, allocations: 83.48 kB / 0.6721 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005396/0.5368, allocations: 2.196 MB / 0.6742 GB, free: 12 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.5372, allocations: 143.3 kB / 0.6744 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007052/0.5379, allocations: 0.5178 MB / 0.6749 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.207e-05/0.538, allocations: 24.3 kB / 0.6749 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004532/0.5384, allocations: 235.1 kB / 0.6751 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008502/0.5393, allocations: 462.6 kB / 0.6756 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.546e-05/0.5394, allocations: 12 kB / 0.6756 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005582/0.545, allocations: 2.63 MB / 0.6781 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002108/0.5452, allocations: 171.4 kB / 0.6783 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003206/0.5455, allocations: 207.1 kB / 0.6785 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003719/0.5493, allocations: 1.851 MB / 0.6803 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.5493, allocations: 4 kB / 0.6803 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.056e-06/0.5493, allocations: 0 / 0.6803 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.5493, allocations: 3.938 kB / 0.6803 GB, free: 5.762 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.002395/0.5517, allocations: 0.9598 MB / 0.6812 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.5518, allocations: 12.03 kB / 0.6813 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.5519, allocations: 82.7 kB / 0.6813 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003718/0.5556, allocations: 0.5037 MB / 0.6818 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000601/0.5562, allocations: 383.2 kB / 0.6822 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.5564, allocations: 131.5 kB / 0.6823 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.5565, allocations: 28 kB / 0.6823 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.558, allocations: 1.105 MB / 0.6834 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.558, allocations: 0 / 0.6834 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-05/0.5581, allocations: 12 kB / 0.6834 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.501e-05/0.5582, allocations: 56.97 kB / 0.6835 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002937/0.5612, allocations: 2.268 MB / 0.6857 GB, free: 84 kB / 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.003979/0.5652, allocations: 2.632 MB / 0.6883 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.5654, allocations: 110.5 kB / 0.6884 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.5655, allocations: 53.08 kB / 0.6884 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00373/0.5693, allocations: 3.253 MB / 0.6916 GB, free: 9.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.5693, allocations: 30.56 kB / 0.6916 GB, free: 9.301 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.5693, allocations: 0 / 0.6916 GB, free: 9.301 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.001094/0.5704, allocations: 304.3 kB / 0.6919 GB, free: 9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.5705, allocations: 59.34 kB / 0.692 GB, free: 8.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/0.5708, allocations: 372 kB / 0.6923 GB, free: 8.559 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.5709, allocations: 29.7 kB / 0.6924 GB, free: 8.523 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.5711, allocations: 369.2 kB / 0.6927 GB, free: 8.152 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.16e-05/0.5711, allocations: 67.19 kB / 0.6928 GB, free: 8.086 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.5713, allocations: 162.4 kB / 0.6929 GB, free: 7.918 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002149/0.5716, allocations: 342.8 kB / 0.6933 GB, free: 7.574 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.5718, allocations: 121.9 kB / 0.6934 GB, free: 7.457 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000475/0.5722, allocations: 0.5764 MB / 0.6939 GB, free: 6.656 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008303/0.5731, allocations: 0.739 MB / 0.6947 GB, free: 5.695 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.5731, allocations: 12 kB / 0.6947 GB, free: 5.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001422/0.5745, allocations: 0.7304 MB / 0.6954 GB, free: 4.949 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.5746, allocations: 16.25 kB / 0.6954 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.5746, allocations: 16 kB / 0.6954 GB, free: 4.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.449e-05/0.5746, allocations: 24 kB / 0.6954 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/0.5751, allocations: 183.7 kB / 0.6956 GB, free: 4.715 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003989/0.5755, allocations: 0.6171 MB / 0.6962 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/0.576, allocations: 98.95 kB / 0.6963 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.088e-05/0.5761, allocations: 60.05 kB / 0.6964 GB, free: 3.918 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.0002013/0.5763, allocations: 205.5 kB / 0.6966 GB, free: 3.707 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003417/0.5766, allocations: 91.47 kB / 0.6967 GB, free: 3.617 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/0.577, allocations: 211.2 kB / 0.6969 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.577, allocations: 4 kB / 0.6969 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.577, allocations: 0 / 0.6969 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.577, allocations: 0 / 0.6969 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000681/0.5777, allocations: 0.5383 MB / 0.6974 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.5777, allocations: 7.938 kB / 0.6974 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.5779, allocations: 31.98 kB / 0.6974 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.5779, allocations: 0 / 0.6974 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.5779, allocations: 4 kB / 0.6974 GB, free: 2.734 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002886/0.5782, allocations: 0.5937 MB / 0.698 GB, free: 2.117 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.5782, allocations: 0 / 0.698 GB, free: 2.117 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.5785, allocations: 260.3 kB / 0.6983 GB, free: 1.832 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.5786, allocations: 116.8 kB / 0.6984 GB, free: 1.699 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.084e-05/0.5787, allocations: 15.83 kB / 0.6984 GB, free: 1.684 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.5789, allocations: 8 kB / 0.6984 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.579, allocations: 7.984 kB / 0.6984 GB, free: 1.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.579, allocations: 12 kB / 0.6984 GB, free: 1.656 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000229/0.5792, allocations: 239.2 kB / 0.6986 GB, free: 1.426 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5792, allocations: 0 / 0.6986 GB, free: 1.426 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001224/0.5805, allocations: 343.8 kB / 0.699 GB, free: 1.09 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.002228/0.5827, allocations: 1.333 MB / 0.7003 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006696/0.5834, allocations: 346.1 kB / 0.7006 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.5834, allocations: 0 / 0.7006 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.5835, allocations: 53.52 kB / 0.7007 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005371/0.5841, allocations: 59.28 kB / 0.7007 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.5951, allocations: 8.723 MB / 0.7092 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.5955, allocations: 0.7879 MB / 0.71 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005563/0.5961, allocations: 231.4 kB / 0.7102 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.5962, allocations: 115.4 kB / 0.7103 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of SimCode: time 9.42e-07/0.5962, allocations: 0 / 0.7103 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2728/0.869, allocations: 13.02 MB / 0.723 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.35, allocations: 11.8 kB / 0.7231 GB, free: 184.7 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches