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.001501/0.0015, allocations: 105 kB / 16.27 MB, free: 5.977 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.0012/0.0012, allocations: 188.1 kB / 17.19 MB, free: 5.613 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.1 MB / 223.1 MB, free: 12.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.234/0.234, allocations: 43.53 MB / 313.9 MB, free: 0.5195 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.001841/0.001841, allocations: 68.92 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1127, allocations: 57.78 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.467/0.5797, allocations: 151.2 MB / 0.5779 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00359/0.5834, allocations: 3.037 MB / 0.5809 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.5836, allocations: 2.781 kB / 0.5809 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004456/0.5841, allocations: 57.86 kB / 0.5809 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003009/0.5872, allocations: 1.004 MB / 0.5819 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000547/0.5877, allocations: 204.3 kB / 0.5821 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005505/0.5883, allocations: 351.7 kB / 0.5825 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.897e-05/0.5884, allocations: 16.95 kB / 0.5825 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003703/0.5887, allocations: 146.6 kB / 0.5826 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.589, allocations: 112.8 kB / 0.5827 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.081e-05/0.5891, allocations: 16.25 kB / 0.5827 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.5921, allocations: 1.494 MB / 0.5842 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.5922, allocations: 77.52 kB / 0.5843 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.5924, allocations: 98.81 kB / 0.5844 GB, free: 12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.5943, allocations: 0.9834 MB / 0.5853 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5943, allocations: 0 / 0.5853 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.5943, allocations: 0 / 0.5853 GB, free: 11.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.5943, allocations: 2.125 kB / 0.5853 GB, free: 11.65 MB / 430.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.000933/0.5953, allocations: 0.5454 MB / 0.5859 GB, free: 11.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.5953, allocations: 13.73 kB / 0.5859 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.975e-05/0.5954, allocations: 56.3 kB / 0.5859 GB, free: 11.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004/0.5994, allocations: 377.5 kB / 0.5863 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.5999, allocations: 256.5 kB / 0.5865 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/0.5999, allocations: 15.59 kB / 0.5865 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.6001, allocations: 27.69 kB / 0.5866 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.6012, allocations: 497 kB / 0.587 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.6012, allocations: 0 / 0.587 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.105e-05/0.6013, allocations: 8.938 kB / 0.587 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.6013, allocations: 5.906 kB / 0.5871 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.6023, allocations: 0.5244 MB / 0.5876 GB, free: 10.47 MB / 430.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.002595/0.6049, allocations: 0.9833 MB / 0.5885 GB, free: 9.863 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006308/0.6056, allocations: 298.2 kB / 0.5888 GB, free: 9.773 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.6059, allocations: 155.2 kB / 0.589 GB, free: 9.738 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002005/0.6079, allocations: 0.8921 MB / 0.5898 GB, free: 8.906 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.6079, allocations: 41.03 kB / 0.5899 GB, free: 8.863 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 2.264e-06/0.6079, allocations: 0 / 0.5899 GB, free: 8.863 MB / 430.1 MB Notification: Performance of matching and sorting (n=29): time 0.001118/0.6091, allocations: 401 kB / 0.5903 GB, free: 8.773 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.6091, allocations: 84.03 kB / 0.5903 GB, free: 8.676 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.6093, allocations: 113.3 kB / 0.5904 GB, free: 8.574 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.6093, allocations: 31.73 kB / 0.5905 GB, free: 8.543 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.6094, allocations: 108.4 kB / 0.5906 GB, free: 8.438 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.6096, allocations: 108.4 kB / 0.5907 GB, free: 8.359 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.6097, allocations: 63.05 kB / 0.5907 GB, free: 8.336 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.6099, allocations: 328.7 kB / 0.5911 GB, free: 8.016 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.6101, allocations: 117.8 kB / 0.5912 GB, free: 8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.6104, allocations: 198.9 kB / 0.5914 GB, free: 7.883 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005432/0.611, allocations: 345.3 kB / 0.5917 GB, free: 7.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.611, allocations: 0 / 0.5917 GB, free: 7.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007355/0.6117, allocations: 390.6 kB / 0.5921 GB, free: 7.648 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.6118, allocations: 4.562 kB / 0.5921 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.6118, allocations: 4.25 kB / 0.5921 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.6118, allocations: 4.906 kB / 0.5921 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/0.6123, allocations: 77.27 kB / 0.5921 GB, free: 7.633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.6123, allocations: 8.625 kB / 0.5922 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003404/0.6127, allocations: 28.11 kB / 0.5922 GB, free: 7.613 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-05/0.6127, allocations: 18.5 kB / 0.5922 GB, free: 7.613 MB / 430.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.0001847/0.6129, allocations: 149 kB / 0.5923 GB, free: 7.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.613, allocations: 18.25 kB / 0.5924 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008133/0.6139, allocations: 371.8 kB / 0.5927 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.6139, allocations: 1.812 kB / 0.5927 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.6139, allocations: 6.797 kB / 0.5927 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.6139, allocations: 0 / 0.5927 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000612/0.6145, allocations: 369.7 kB / 0.5931 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.6145, allocations: 2.469 kB / 0.5931 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/0.615, allocations: 61.83 kB / 0.5931 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.615, allocations: 3.438 kB / 0.5931 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.615, allocations: 6.094 kB / 0.5931 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.615, allocations: 1.812 kB / 0.5931 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.615, allocations: 3.312 kB / 0.5931 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008475/0.6159, allocations: 0.5523 MB / 0.5937 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.616, allocations: 93.17 kB / 0.5938 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/0.616, allocations: 11.11 kB / 0.5938 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/0.6165, allocations: 22.3 kB / 0.5938 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.6165, allocations: 13.7 kB / 0.5938 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/0.6166, allocations: 17.52 kB / 0.5938 GB, free: 6.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.9e-05/0.6166, allocations: 94.69 kB / 0.5939 GB, free: 6.578 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6166, allocations: 4 kB / 0.5939 GB, free: 6.574 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000944/0.6176, allocations: 229.7 kB / 0.5941 GB, free: 6.535 MB / 430.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.002279/0.6199, allocations: 1.409 MB / 0.5955 GB, free: 5.617 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000651/0.6205, allocations: 311 kB / 0.5958 GB, free: 5.559 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.6206, allocations: 3.844 kB / 0.5958 GB, free: 5.559 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.6208, allocations: 146.2 kB / 0.596 GB, free: 5.535 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.6215, allocations: 82.61 kB / 0.596 GB, free: 5.504 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004013/0.6255, allocations: 2.742 MB / 0.5987 GB, free: 3.512 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.626, allocations: 0.7326 MB / 0.5994 GB, free: 2.797 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000526/0.6265, allocations: 87.03 kB / 0.5995 GB, free: 2.742 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.6267, allocations: 57.48 kB / 0.5996 GB, free: 2.727 MB / 430.1 MB Notification: Performance of SimCode: time 3.6e-07/0.6267, allocations: 1.844 kB / 0.5996 GB, free: 2.727 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03498/0.6617, allocations: 10.6 MB / 0.6099 GB, free: 11.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.617, allocations: 3.438 kB / 0.6099 GB, free: 11.95 MB / 446.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches