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.001018/0.001018, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 184.1 kB / 16.92 MB, free: 6.914 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.557/1.557, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.4135/0.4135, allocations: 43.57 MB / 315 MB, free: 9.066 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.0005669/0.0005669, allocations: 16.47 kB / 384.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1386, allocations: 58.87 MB / 443.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4701/0.6088, allocations: 147 MB / 0.5767 GB, free: 8.188 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003764/0.6126, allocations: 3.085 MB / 0.5798 GB, free: 5.117 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-05/0.6127, allocations: 4 kB / 0.5798 GB, free: 5.113 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003627/0.6131, allocations: 55.77 kB / 0.5798 GB, free: 5.059 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00194/0.615, allocations: 0.9231 MB / 0.5807 GB, free: 4.137 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.6155, allocations: 186.2 kB / 0.5809 GB, free: 3.957 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005201/0.616, allocations: 478.5 kB / 0.5813 GB, free: 3.488 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.637e-05/0.6161, allocations: 9.125 kB / 0.5814 GB, free: 3.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.6164, allocations: 131.5 kB / 0.5815 GB, free: 3.352 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.6166, allocations: 119.6 kB / 0.5816 GB, free: 3.234 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.6166, allocations: 8 kB / 0.5816 GB, free: 3.227 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002756/0.6194, allocations: 1.732 MB / 0.5833 GB, free: 1.492 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.993e-05/0.6195, allocations: 71.83 kB / 0.5834 GB, free: 1.422 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.6196, allocations: 125.3 kB / 0.5835 GB, free: 1.293 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.621, allocations: 1.103 MB / 0.5846 GB, free: 192 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.621, allocations: 0 / 0.5846 GB, free: 192 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.621, allocations: 0 / 0.5846 GB, free: 192 kB / 446.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.621, allocations: 0 / 0.5846 GB, free: 192 kB / 446.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.0008572/0.6219, allocations: 0.503 MB / 0.585 GB, free: 15.64 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.622, allocations: 8.031 kB / 0.5851 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.975e-05/0.622, allocations: 55.48 kB / 0.5851 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003706/0.6258, allocations: 382.7 kB / 0.5855 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.6262, allocations: 252.1 kB / 0.5857 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.6262, allocations: 18.16 kB / 0.5857 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.578e-05/0.6263, allocations: 19.94 kB / 0.5858 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009673/0.6272, allocations: 0.4884 MB / 0.5862 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.6273, allocations: 3.938 kB / 0.5862 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.957e-05/0.6273, allocations: 8 kB / 0.5862 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.6273, allocations: 4.625 kB / 0.5862 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.6284, allocations: 0.5152 MB / 0.5867 GB, free: 13.85 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.002167/0.6305, allocations: 0.9865 MB / 0.5877 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/0.6311, allocations: 303.8 kB / 0.588 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.6314, allocations: 149.6 kB / 0.5881 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001647/0.6331, allocations: 0.8932 MB / 0.589 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.6331, allocations: 34.56 kB / 0.589 GB, free: 11.28 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.543e-06/0.6331, allocations: 8 kB / 0.5891 GB, free: 11.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009456/0.6341, allocations: 401 kB / 0.5894 GB, free: 10.88 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.6342, allocations: 78.42 kB / 0.5895 GB, free: 10.78 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.6343, allocations: 121.7 kB / 0.5896 GB, free: 10.65 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.6343, allocations: 37.64 kB / 0.5897 GB, free: 10.61 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.607e-05/0.6344, allocations: 108.4 kB / 0.5898 GB, free: 10.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.288e-05/0.6345, allocations: 106.5 kB / 0.5899 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.6345, allocations: 33.7 kB / 0.5899 GB, free: 10.35 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.6347, allocations: 322.8 kB / 0.5902 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/0.6349, allocations: 116.6 kB / 0.5903 GB, free: 9.914 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.6352, allocations: 203.5 kB / 0.5905 GB, free: 9.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005699/0.6358, allocations: 339.3 kB / 0.5908 GB, free: 9.312 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6358, allocations: 0 / 0.5908 GB, free: 9.312 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007254/0.6366, allocations: 387.5 kB / 0.5912 GB, free: 8.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.6366, allocations: 4 kB / 0.5912 GB, free: 8.926 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.6366, allocations: 4 kB / 0.5912 GB, free: 8.922 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.6366, allocations: 5.219 kB / 0.5912 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.637, allocations: 75.89 kB / 0.5913 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.6371, allocations: 4.312 kB / 0.5913 GB, free: 8.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/0.6374, allocations: 38.86 kB / 0.5913 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-05/0.6374, allocations: 27.92 kB / 0.5914 GB, free: 8.777 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.0001474/0.6376, allocations: 145.6 kB / 0.5915 GB, free: 8.625 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.6377, allocations: 19.89 kB / 0.5915 GB, free: 8.605 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008017/0.6385, allocations: 369.1 kB / 0.5919 GB, free: 8.246 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.6385, allocations: 7.938 kB / 0.5919 GB, free: 8.238 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6385, allocations: 0 / 0.5919 GB, free: 8.238 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.6386, allocations: 7.984 kB / 0.5919 GB, free: 8.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005856/0.6391, allocations: 357.5 kB / 0.5922 GB, free: 7.828 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.6392, allocations: 4 kB / 0.5922 GB, free: 7.824 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/0.6396, allocations: 55.89 kB / 0.5923 GB, free: 7.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.6396, allocations: 4 kB / 0.5923 GB, free: 7.766 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.6396, allocations: 12 kB / 0.5923 GB, free: 7.754 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.6396, allocations: 7.984 kB / 0.5923 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6396, allocations: 4 kB / 0.5923 GB, free: 7.742 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009168/0.6406, allocations: 0.5458 MB / 0.5928 GB, free: 7.184 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.6406, allocations: 92.94 kB / 0.5929 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.6407, allocations: 8.062 kB / 0.5929 GB, free: 7.066 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.6411, allocations: 23.89 kB / 0.593 GB, free: 7.043 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.6411, allocations: 19.91 kB / 0.593 GB, free: 7.023 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.6411, allocations: 19.98 kB / 0.593 GB, free: 7.004 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.865e-05/0.6412, allocations: 88.22 kB / 0.5931 GB, free: 6.918 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6412, allocations: 0 / 0.5931 GB, free: 6.918 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008853/0.6421, allocations: 235.8 kB / 0.5933 GB, free: 6.688 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.002144/0.6443, allocations: 1.421 MB / 0.5947 GB, free: 5.242 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005833/0.6449, allocations: 303.3 kB / 0.595 GB, free: 4.949 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6449, allocations: 0 / 0.595 GB, free: 4.949 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.6451, allocations: 143.8 kB / 0.5951 GB, free: 4.809 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006808/0.6458, allocations: 89.23 kB / 0.5952 GB, free: 4.723 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003749/0.6496, allocations: 2.921 MB / 0.5981 GB, free: 1.664 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.6499, allocations: 0.7287 MB / 0.5988 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004782/0.6504, allocations: 84.61 kB / 0.5989 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.6506, allocations: 63.41 kB / 0.5989 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of SimCode: time 8.21e-07/0.6506, allocations: 0 / 0.5989 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/0.6744, allocations: 10.21 MB / 0.6089 GB, free: 6.621 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/0.6747, allocations: 188.9 kB / 0.6091 GB, free: 6.371 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/2.868, allocations: 0 / 0.6091 GB, free: 6.371 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