Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",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.006699/0.006699, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.001213/0.001213, allocations: 192.8 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.1 MB / 222.6 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3866/0.3866, allocations: 43.49 MB / 313.5 MB, free: 8.543 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 63.91 kB / 382.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1227, allocations: 57.78 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3737/0.4964, allocations: 149 MB / 0.5751 GB, free: 7.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003626/0.5001, allocations: 3.131 MB / 0.5781 GB, free: 4.066 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.826e-05/0.5002, allocations: 8 kB / 0.5781 GB, free: 4.059 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003564/0.5005, allocations: 51.77 kB / 0.5782 GB, free: 4.008 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002036/0.5026, allocations: 0.9231 MB / 0.5791 GB, free: 3.086 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.5031, allocations: 181.8 kB / 0.5793 GB, free: 2.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004609/0.5036, allocations: 482.5 kB / 0.5797 GB, free: 2.438 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.5036, allocations: 9.125 kB / 0.5797 GB, free: 2.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.5039, allocations: 139.5 kB / 0.5799 GB, free: 2.293 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.5041, allocations: 122.9 kB / 0.58 GB, free: 2.176 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.5041, allocations: 8 kB / 0.58 GB, free: 2.168 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002884/0.507, allocations: 1.729 MB / 0.5817 GB, free: 448 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.5071, allocations: 67.83 kB / 0.5817 GB, free: 380 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.5073, allocations: 99.58 kB / 0.5818 GB, free: 280 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.5088, allocations: 1.107 MB / 0.5829 GB, free: 15.16 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.5088, allocations: 4 kB / 0.5829 GB, free: 15.16 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.5089, allocations: 0 / 0.5829 GB, free: 15.16 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.5089, allocations: 4 kB / 0.5829 GB, free: 15.16 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.000896/0.5098, allocations: 0.542 MB / 0.5834 GB, free: 14.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.5098, allocations: 12.03 kB / 0.5835 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.405e-05/0.5099, allocations: 50.73 kB / 0.5835 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003553/0.5134, allocations: 386.7 kB / 0.5839 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.5138, allocations: 256.1 kB / 0.5841 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.5138, allocations: 12.75 kB / 0.5841 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.962e-05/0.5139, allocations: 31.78 kB / 0.5842 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000949/0.5149, allocations: 492.1 kB / 0.5846 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.5149, allocations: 0 / 0.5846 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/0.515, allocations: 8.75 kB / 0.5846 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.515, allocations: 11.94 kB / 0.5847 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.516, allocations: 0.5113 MB / 0.5852 GB, free: 12.77 MB / 462.1 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.002154/0.5181, allocations: 0.9867 MB / 0.5861 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005673/0.5187, allocations: 298.7 kB / 0.5864 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.519, allocations: 159.9 kB / 0.5866 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001693/0.5207, allocations: 0.8893 MB / 0.5874 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.5207, allocations: 38.56 kB / 0.5875 GB, free: 10.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.423e-06/0.5208, allocations: 0 / 0.5875 GB, free: 10.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.000939/0.5217, allocations: 401.9 kB / 0.5878 GB, free: 9.801 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.5218, allocations: 81.11 kB / 0.5879 GB, free: 9.703 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.205e-05/0.5219, allocations: 113.8 kB / 0.588 GB, free: 9.582 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.5219, allocations: 33.7 kB / 0.5881 GB, free: 9.543 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.522, allocations: 112.4 kB / 0.5882 GB, free: 9.426 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.5221, allocations: 114.3 kB / 0.5883 GB, free: 9.312 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.5222, allocations: 62.02 kB / 0.5883 GB, free: 9.246 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.5223, allocations: 330.8 kB / 0.5886 GB, free: 8.914 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.5226, allocations: 116.5 kB / 0.5888 GB, free: 8.801 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.5229, allocations: 203.4 kB / 0.589 GB, free: 8.566 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005211/0.5234, allocations: 336.5 kB / 0.5893 GB, free: 8.203 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5234, allocations: 4 kB / 0.5893 GB, free: 8.199 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000707/0.5241, allocations: 388.9 kB / 0.5897 GB, free: 7.816 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.5241, allocations: 8 kB / 0.5897 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.5242, allocations: 0 / 0.5897 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.5242, allocations: 8 kB / 0.5897 GB, free: 7.801 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004157/0.5246, allocations: 75.89 kB / 0.5897 GB, free: 7.727 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.5246, allocations: 4 kB / 0.5897 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/0.5249, allocations: 35.95 kB / 0.5898 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/0.525, allocations: 16 kB / 0.5898 GB, free: 7.672 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.5251, allocations: 149.6 kB / 0.5899 GB, free: 7.516 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.85e-05/0.5252, allocations: 15.81 kB / 0.5899 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007721/0.526, allocations: 374.4 kB / 0.5903 GB, free: 7.137 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.526, allocations: 8 kB / 0.5903 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.526, allocations: 0 / 0.5903 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.526, allocations: 3.984 kB / 0.5903 GB, free: 7.125 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005591/0.5266, allocations: 357.5 kB / 0.5907 GB, free: 6.723 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5266, allocations: 0 / 0.5907 GB, free: 6.723 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.527, allocations: 63.89 kB / 0.5907 GB, free: 6.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.527, allocations: 0 / 0.5907 GB, free: 6.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/0.5271, allocations: 12 kB / 0.5907 GB, free: 6.648 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.5271, allocations: 2.5 kB / 0.5907 GB, free: 6.648 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5271, allocations: 0 / 0.5907 GB, free: 6.648 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008455/0.5279, allocations: 0.5536 MB / 0.5913 GB, free: 6.082 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.528, allocations: 96.86 kB / 0.5914 GB, free: 5.969 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.528, allocations: 8.047 kB / 0.5914 GB, free: 5.961 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.5284, allocations: 15.98 kB / 0.5914 GB, free: 5.945 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.5285, allocations: 23.98 kB / 0.5914 GB, free: 5.922 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.145e-05/0.5285, allocations: 19.97 kB / 0.5914 GB, free: 5.902 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.488e-05/0.5286, allocations: 91.98 kB / 0.5915 GB, free: 5.812 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5286, allocations: 0 / 0.5915 GB, free: 5.812 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008256/0.5294, allocations: 239.7 kB / 0.5917 GB, free: 5.578 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,medium.T) * 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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00207/0.5315, allocations: 1.422 MB / 0.5931 GB, free: 4.129 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005724/0.5321, allocations: 292 kB / 0.5934 GB, free: 3.844 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5321, allocations: 0 / 0.5934 GB, free: 3.844 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002524/0.5324, allocations: 151.7 kB / 0.5936 GB, free: 3.695 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006323/0.533, allocations: 83.14 kB / 0.5936 GB, free: 3.617 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003436/0.5364, allocations: 2.793 MB / 0.5964 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.5368, allocations: 0.7365 MB / 0.5971 GB, free: 15.93 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004866/0.5373, allocations: 88.06 kB / 0.5972 GB, free: 15.85 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.5375, allocations: 67.34 kB / 0.5972 GB, free: 15.78 MB / 478.1 MB Notification: Performance of SimCode: time 7.22e-07/0.5375, allocations: 0 / 0.5972 GB, free: 15.78 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07297/0.6105, allocations: 10.29 MB / 0.6073 GB, free: 5.523 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002318/0.6107, allocations: 193.5 kB / 0.6075 GB, free: 5.27 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/2.699, allocations: 0 / 0.6075 GB, free: 5.27 MB / 478.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches