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.001733/0.001733, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001845/0.001845, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.398/1.398, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2127/0.2127, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002511/0.002511, allocations: 71.88 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3741, allocations: 60.82 MB / 0.5184 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.1814/0.5556, allocations: 150.4 MB / 0.6653 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008023/0.5636, allocations: 6.821 MB / 0.672 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.5638, allocations: 4 kB / 0.672 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004517/0.5643, allocations: 79.44 kB / 0.6721 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006771/0.5711, allocations: 2.211 MB / 0.6742 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.5715, allocations: 139.5 kB / 0.6744 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007132/0.5722, allocations: 0.5178 MB / 0.6749 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.344e-05/0.5723, allocations: 20.31 kB / 0.6749 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003979/0.5727, allocations: 235.1 kB / 0.6751 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008324/0.5735, allocations: 466.6 kB / 0.6756 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.793e-05/0.5736, allocations: 12 kB / 0.6756 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00592/0.5795, allocations: 2.626 MB / 0.6781 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001993/0.5797, allocations: 167.5 kB / 0.6783 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.58, allocations: 211.1 kB / 0.6785 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003464/0.5835, allocations: 1.848 MB / 0.6803 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5835, allocations: 0 / 0.6803 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.886e-06/0.5835, allocations: 4 kB / 0.6803 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.5835, allocations: 7.938 kB / 0.6803 GB, free: 5.664 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.002349/0.5859, allocations: 0.9598 MB / 0.6812 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.5859, allocations: 8.031 kB / 0.6813 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.144e-05/0.586, allocations: 86.72 kB / 0.6813 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003493/0.5895, allocations: 0.5037 MB / 0.6818 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007615/0.5903, allocations: 367.3 kB / 0.6822 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.5905, allocations: 135.5 kB / 0.6823 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-05/0.5906, allocations: 32 kB / 0.6823 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.5921, allocations: 1.101 MB / 0.6834 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.5921, allocations: 4 kB / 0.6834 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-05/0.5922, allocations: 16 kB / 0.6834 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.465e-05/0.5923, allocations: 60.95 kB / 0.6835 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003071/0.5954, allocations: 2.26 MB / 0.6857 GB, free: 15.99 MB / 0.545 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.004657/0.6, allocations: 2.643 MB / 0.6883 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.6003, allocations: 102.5 kB / 0.6884 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.6004, allocations: 53.08 kB / 0.6884 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003861/0.6043, allocations: 3.25 MB / 0.6916 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.6043, allocations: 34.56 kB / 0.6916 GB, free: 9.207 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.655e-06/0.6044, allocations: 0 / 0.6916 GB, free: 9.207 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.001164/0.6055, allocations: 305.2 kB / 0.6919 GB, free: 8.902 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.6056, allocations: 51.41 kB / 0.692 GB, free: 8.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.606, allocations: 384 kB / 0.6923 GB, free: 8.457 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.6061, allocations: 25.7 kB / 0.6924 GB, free: 8.426 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.6063, allocations: 361.2 kB / 0.6927 GB, free: 8.062 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.566e-05/0.6064, allocations: 67.19 kB / 0.6928 GB, free: 7.996 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.6066, allocations: 162.4 kB / 0.6929 GB, free: 7.828 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.6067, allocations: 346.8 kB / 0.6933 GB, free: 7.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.6069, allocations: 121.9 kB / 0.6934 GB, free: 7.363 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005594/0.6075, allocations: 0.5725 MB / 0.6939 GB, free: 6.566 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007866/0.6083, allocations: 0.749 MB / 0.6947 GB, free: 5.598 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.6083, allocations: 4 kB / 0.6947 GB, free: 5.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001375/0.6097, allocations: 0.7351 MB / 0.6954 GB, free: 4.852 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.6097, allocations: 12 kB / 0.6954 GB, free: 4.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/0.6098, allocations: 16.88 kB / 0.6954 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.929e-05/0.6098, allocations: 20 kB / 0.6954 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004765/0.6103, allocations: 195.7 kB / 0.6956 GB, free: 4.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000353/0.6106, allocations: 0.6171 MB / 0.6962 GB, free: 3.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.611, allocations: 94.97 kB / 0.6963 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.631e-05/0.6111, allocations: 56 kB / 0.6964 GB, free: 3.824 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.0002022/0.6113, allocations: 201.4 kB / 0.6966 GB, free: 3.617 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003238/0.6117, allocations: 99.56 kB / 0.6967 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003979/0.6121, allocations: 203.2 kB / 0.6969 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.6121, allocations: 0 / 0.6969 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.6121, allocations: 0 / 0.6969 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6121, allocations: 4 kB / 0.6969 GB, free: 3.301 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00074/0.6129, allocations: 0.5421 MB / 0.6974 GB, free: 2.684 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6129, allocations: 4 kB / 0.6974 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.613, allocations: 28.17 kB / 0.6974 GB, free: 2.652 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.613, allocations: 8 kB / 0.6974 GB, free: 2.645 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.613, allocations: 4 kB / 0.6974 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003353/0.6134, allocations: 0.5898 MB / 0.698 GB, free: 2.027 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6134, allocations: 48 / 0.698 GB, free: 2.027 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.6137, allocations: 268.2 kB / 0.6983 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.6138, allocations: 112.7 kB / 0.6984 GB, free: 1.605 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.196e-05/0.6138, allocations: 7.844 kB / 0.6984 GB, free: 1.598 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.614, allocations: 12 kB / 0.6984 GB, free: 1.586 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/0.6141, allocations: 11.98 kB / 0.6984 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.6141, allocations: 15.98 kB / 0.6984 GB, free: 1.559 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002208/0.6143, allocations: 239.2 kB / 0.6986 GB, free: 1.328 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6143, allocations: 0 / 0.6986 GB, free: 1.328 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00117/0.6155, allocations: 339.8 kB / 0.699 GB, free: 0.9961 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.001957/0.6175, allocations: 1.337 MB / 0.7003 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006512/0.6181, allocations: 343.5 kB / 0.7006 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.6182, allocations: 0 / 0.7006 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.6183, allocations: 55.83 kB / 0.7007 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.6188, allocations: 57.84 kB / 0.7007 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.6296, allocations: 8.721 MB / 0.7092 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.63, allocations: 0.784 MB / 0.71 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005621/0.6306, allocations: 247.2 kB / 0.7102 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.6308, allocations: 115.4 kB / 0.7103 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.6308, allocations: 0 / 0.7103 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2864/0.9171, allocations: 13.01 MB / 0.723 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.65, allocations: 12.41 kB / 0.723 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