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.00125/0.00125, allocations: 106.6 kB / 15.98 MB, free: 6.352 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.001417/0.001417, allocations: 200.7 kB / 16.91 MB, free: 6.195 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.649/1.649, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.4024/0.4024, allocations: 43.49 MB / 313.6 MB, free: 8.484 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.001713/0.001713, allocations: 63.91 kB / 382.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1394, allocations: 57.78 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4576/0.5971, allocations: 149.1 MB / 0.5754 GB, free: 6.957 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003681/0.6008, allocations: 3.021 MB / 0.5783 GB, free: 3.949 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.044e-05/0.6009, allocations: 7.938 kB / 0.5783 GB, free: 3.941 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004081/0.6013, allocations: 55.77 kB / 0.5784 GB, free: 3.887 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002406/0.6038, allocations: 0.9427 MB / 0.5793 GB, free: 2.945 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.6043, allocations: 180 kB / 0.5795 GB, free: 2.773 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004154/0.6048, allocations: 354.7 kB / 0.5798 GB, free: 2.426 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.902e-05/0.6048, allocations: 17.11 kB / 0.5798 GB, free: 2.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.6051, allocations: 152 kB / 0.58 GB, free: 2.262 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.6053, allocations: 123.6 kB / 0.5801 GB, free: 2.141 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.6053, allocations: 12 kB / 0.5801 GB, free: 2.129 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/0.608, allocations: 1.577 MB / 0.5816 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.6082, allocations: 79.77 kB / 0.5817 GB, free: 484 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.6083, allocations: 99.64 kB / 0.5818 GB, free: 384 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.6098, allocations: 1.071 MB / 0.5829 GB, free: 15.3 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.6098, allocations: 0 / 0.5829 GB, free: 15.3 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6099, allocations: 0 / 0.5829 GB, free: 15.3 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.6099, allocations: 0 / 0.5829 GB, free: 15.3 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.001002/0.6109, allocations: 0.5498 MB / 0.5834 GB, free: 14.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.6109, allocations: 15.89 kB / 0.5834 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.6111, allocations: 51.42 kB / 0.5835 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003695/0.6148, allocations: 382.7 kB / 0.5838 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.6152, allocations: 264 kB / 0.5841 GB, free: 13.97 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/0.6152, allocations: 16.75 kB / 0.5841 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.421e-05/0.6153, allocations: 23.84 kB / 0.5841 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009785/0.6163, allocations: 496.1 kB / 0.5846 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.6163, allocations: 0 / 0.5846 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.098e-05/0.6164, allocations: 13 kB / 0.5846 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.6164, allocations: 4 kB / 0.5846 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.6175, allocations: 0.5152 MB / 0.5851 GB, free: 12.91 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.002124/0.6196, allocations: 0.9828 MB / 0.5861 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005731/0.6202, allocations: 294.8 kB / 0.5863 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.6205, allocations: 155.1 kB / 0.5865 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001679/0.6221, allocations: 0.8893 MB / 0.5874 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.6222, allocations: 42.56 kB / 0.5874 GB, free: 10.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.984e-06/0.6222, allocations: 0 / 0.5874 GB, free: 10.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009172/0.6231, allocations: 404.1 kB / 0.5878 GB, free: 9.938 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.6232, allocations: 81.11 kB / 0.5879 GB, free: 9.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.44e-05/0.6233, allocations: 117.8 kB / 0.588 GB, free: 9.715 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.6233, allocations: 33.7 kB / 0.588 GB, free: 9.676 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.105e-05/0.6234, allocations: 108.4 kB / 0.5881 GB, free: 9.562 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.568e-05/0.6235, allocations: 110.4 kB / 0.5882 GB, free: 9.453 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.6236, allocations: 66.02 kB / 0.5883 GB, free: 9.383 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.6237, allocations: 322.8 kB / 0.5886 GB, free: 9.059 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.624, allocations: 112.6 kB / 0.5887 GB, free: 8.949 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.6242, allocations: 215.4 kB / 0.5889 GB, free: 8.703 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005207/0.6248, allocations: 330.9 kB / 0.5892 GB, free: 8.348 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.6248, allocations: 7.938 kB / 0.5892 GB, free: 8.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006856/0.6255, allocations: 377.1 kB / 0.5896 GB, free: 7.965 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.6255, allocations: 8 kB / 0.5896 GB, free: 7.957 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.6255, allocations: 3.984 kB / 0.5896 GB, free: 7.953 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.6256, allocations: 8 kB / 0.5896 GB, free: 7.945 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.626, allocations: 75.84 kB / 0.5897 GB, free: 7.871 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.626, allocations: 12.3 kB / 0.5897 GB, free: 7.859 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.6263, allocations: 27.75 kB / 0.5897 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.275e-05/0.6263, allocations: 23.11 kB / 0.5897 GB, free: 7.812 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.0001453/0.6265, allocations: 149.6 kB / 0.5899 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.673e-05/0.6266, allocations: 15.81 kB / 0.5899 GB, free: 7.641 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007668/0.6274, allocations: 371.1 kB / 0.5902 GB, free: 7.281 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.6274, allocations: 4 kB / 0.5903 GB, free: 7.277 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.6274, allocations: 3.984 kB / 0.5903 GB, free: 7.273 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.6274, allocations: 0 / 0.5903 GB, free: 7.273 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000555/0.628, allocations: 361.5 kB / 0.5906 GB, free: 6.867 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.628, allocations: 0 / 0.5906 GB, free: 6.867 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/0.6284, allocations: 59.89 kB / 0.5907 GB, free: 6.809 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.6284, allocations: 0 / 0.5907 GB, free: 6.809 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/0.6284, allocations: 15.98 kB / 0.5907 GB, free: 6.793 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.6285, allocations: 4 kB / 0.5907 GB, free: 6.789 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6285, allocations: 2.109 kB / 0.5907 GB, free: 6.789 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008642/0.6293, allocations: 0.5574 MB / 0.5912 GB, free: 6.219 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.6294, allocations: 96.86 kB / 0.5913 GB, free: 6.105 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.6294, allocations: 4.062 kB / 0.5913 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/0.6298, allocations: 23.98 kB / 0.5913 GB, free: 6.078 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.6299, allocations: 19.97 kB / 0.5914 GB, free: 6.059 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-05/0.6299, allocations: 19.98 kB / 0.5914 GB, free: 6.039 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.389e-05/0.63, allocations: 83.28 kB / 0.5915 GB, free: 5.957 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.63, allocations: 0 / 0.5915 GB, free: 5.957 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008479/0.6308, allocations: 235.8 kB / 0.5917 GB, free: 5.727 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.002043/0.6329, allocations: 1.414 MB / 0.5931 GB, free: 4.285 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006056/0.6335, allocations: 319.7 kB / 0.5934 GB, free: 3.973 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.6335, allocations: 0 / 0.5934 GB, free: 3.973 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.6338, allocations: 151.7 kB / 0.5935 GB, free: 3.824 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006285/0.6344, allocations: 83.69 kB / 0.5936 GB, free: 3.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.6378, allocations: 2.799 MB / 0.5963 GB, free: 0.832 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.6381, allocations: 0.7364 MB / 0.597 GB, free: 72 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005111/0.6386, allocations: 86.59 kB / 0.5971 GB, free: 15.98 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.6388, allocations: 59.36 kB / 0.5972 GB, free: 15.93 MB / 478.1 MB Notification: Performance of SimCode: time 3.31e-07/0.6388, allocations: 0 / 0.5972 GB, free: 15.93 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.6696, allocations: 10.47 MB / 0.6074 GB, free: 5.492 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/0.6699, allocations: 197.8 kB / 0.6076 GB, free: 5.234 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/2.906, allocations: 0 / 0.6076 GB, free: 5.234 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