Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001633/0.001633, allocations: 188.8 kB / 16.09 MB, free: 5.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 226.5 MB / 243.4 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007105/0.0007106, allocations: 96.03 kB / 295.5 MB, free: 6.641 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3031/0.3031, allocations: 44.82 MB / 392.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002821, allocations: 12 kB / 465.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2974, allocations: 62.96 MB / 0.516 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.1413/0.4387, allocations: 136.5 MB / 0.6493 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.007919/0.4467, allocations: 6.328 MB / 0.6554 GB, free: 10.21 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/0.447, allocations: 7.938 kB / 0.6555 GB, free: 10.21 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004638/0.4475, allocations: 63.69 kB / 0.6555 GB, free: 10.14 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005501/0.453, allocations: 1.957 MB / 0.6574 GB, free: 8.184 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.4534, allocations: 132.9 kB / 0.6575 GB, free: 8.059 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.4545, allocations: 0.6308 MB / 0.6582 GB, free: 7.422 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.816e-05/0.4545, allocations: 16.3 kB / 0.6582 GB, free: 7.406 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005138/0.4551, allocations: 223.2 kB / 0.6584 GB, free: 7.188 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.4561, allocations: 0.5612 MB / 0.6589 GB, free: 6.625 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 6.104e-05/0.4562, allocations: 8 kB / 0.6589 GB, free: 6.617 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006344/0.4626, allocations: 3.738 MB / 0.6626 GB, free: 2.871 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.4628, allocations: 175.5 kB / 0.6628 GB, free: 2.699 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.4631, allocations: 232.9 kB / 0.663 GB, free: 2.465 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002441/0.4655, allocations: 1.436 MB / 0.6644 GB, free: 1.027 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4655, allocations: 0 / 0.6644 GB, free: 1.027 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.4655, allocations: 0 / 0.6644 GB, free: 1.027 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.902e-06/0.4656, allocations: 3.938 kB / 0.6644 GB, free: 1.023 MB / 474.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.002114/0.4677, allocations: 0.8779 MB / 0.6653 GB, free: 100 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4677, allocations: 12.03 kB / 0.6653 GB, free: 88 kB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.4679, allocations: 86.73 kB / 0.6653 GB, free: 15.99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.479, allocations: 1.284 MB / 0.6666 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008419/0.4799, allocations: 375.3 kB / 0.667 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.4801, allocations: 127.5 kB / 0.6671 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002451/0.4803, allocations: 28 kB / 0.6671 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/0.4831, allocations: 1.433 MB / 0.6685 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.4831, allocations: 0 / 0.6685 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/0.4833, allocations: 19.98 kB / 0.6685 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-05/0.4834, allocations: 56.95 kB / 0.6686 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005385/0.4888, allocations: 2.615 MB / 0.6711 GB, free: 9.969 MB / 490.7 MB 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.005223/0.494, allocations: 3.868 MB / 0.6749 GB, free: 5.621 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.4943, allocations: 82.45 kB / 0.675 GB, free: 5.531 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.319e-05/0.4943, allocations: 33 kB / 0.675 GB, free: 5.496 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004048/0.4984, allocations: 3.246 MB / 0.6782 GB, free: 1.762 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.4985, allocations: 34.56 kB / 0.6782 GB, free: 1.719 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 2.093e-06/0.4985, allocations: 0 / 0.6782 GB, free: 1.719 MB / 490.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=12): time 0.001187/0.4997, allocations: 360.5 kB / 0.6786 GB, free: 1.363 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.4997, allocations: 51.41 kB / 0.6786 GB, free: 1.301 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.5001, allocations: 385.2 kB / 0.679 GB, free: 0.918 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.5001, allocations: 29.7 kB / 0.679 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.5003, allocations: 373 kB / 0.6794 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.5004, allocations: 55.38 kB / 0.6794 GB, free: 468 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.5004, allocations: 12 kB / 0.6794 GB, free: 456 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.5005, allocations: 346.8 kB / 0.6798 GB, free: 100 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2233/0.7239, allocations: 112.7 kB / 0.6799 GB, free: 143.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004839/0.7244, allocations: 0.5758 MB / 0.6804 GB, free: 142.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006984/0.7251, allocations: 0.738 MB / 0.6812 GB, free: 142.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.7251, allocations: 4.812 kB / 0.6812 GB, free: 142.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001183/0.7263, allocations: 0.691 MB / 0.6818 GB, free: 142.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.7263, allocations: 12.25 kB / 0.6818 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/0.7264, allocations: 17.23 kB / 0.6819 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.264e-05/0.7264, allocations: 24.59 kB / 0.6819 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005525/0.727, allocations: 189.9 kB / 0.6821 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002952/0.7273, allocations: 0.6135 MB / 0.6827 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004528/0.7277, allocations: 93.33 kB / 0.6828 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.82e-05/0.7279, allocations: 67.12 kB / 0.6828 GB, free: 141.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001979/0.7281, allocations: 208.2 kB / 0.683 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.733e-05/0.7281, allocations: 34.09 kB / 0.683 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000351/0.7285, allocations: 181.4 kB / 0.6832 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.7285, allocations: 1.281 kB / 0.6832 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7285, allocations: 0.5625 kB / 0.6832 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.7285, allocations: 3.375 kB / 0.6832 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.729, allocations: 479 kB / 0.6837 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.729, allocations: 2.656 kB / 0.6837 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.7291, allocations: 25.69 kB / 0.6837 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.7291, allocations: 0 / 0.6837 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.7292, allocations: 3.562 kB / 0.6837 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001629/0.7293, allocations: 0.5865 MB / 0.6843 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.7293, allocations: 3.938 kB / 0.6843 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.7295, allocations: 214.9 kB / 0.6845 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.151e-05/0.7296, allocations: 128.3 kB / 0.6846 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.7297, allocations: 6.938 kB / 0.6846 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.7299, allocations: 10.95 kB / 0.6846 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.113e-05/0.7299, allocations: 6.781 kB / 0.6846 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.73, allocations: 14.44 kB / 0.6847 GB, free: 139.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001822/0.7301, allocations: 242.4 kB / 0.6849 GB, free: 139.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.7301, allocations: 0 / 0.6849 GB, free: 139.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001089/0.7312, allocations: 356.7 kB / 0.6852 GB, free: 139.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001901/0.7331, allocations: 1.293 MB / 0.6865 GB, free: 139.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005286/0.7337, allocations: 340 kB / 0.6868 GB, free: 139 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.7337, allocations: 3.938 kB / 0.6868 GB, free: 139 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.312e-05/0.7338, allocations: 29.66 kB / 0.6868 GB, free: 139 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.7342, allocations: 44.78 kB / 0.6869 GB, free: 138.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009469/0.7437, allocations: 7.613 MB / 0.6943 GB, free: 135.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.7439, allocations: 0.7782 MB / 0.6951 GB, free: 135 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.7442, allocations: 152.2 kB / 0.6952 GB, free: 134.9 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/0.7442, allocations: 0 / 0.6952 GB, free: 134.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.395/6.139, allocations: 10.55 MB / 0.7055 GB, free: 133.6 MB / 490.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches