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: translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 112.7 kB / 17.04 MB, free: 6.066 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.001717/0.001717, allocations: 195 kB / 17.97 MB, free: 5.148 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 / 223.8 MB, free: 12.27 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.2104/0.2104, allocations: 43.51 MB / 314.7 MB, free: 492 kB / 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.001483/0.001483, allocations: 63.91 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09476/0.09625, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4111/0.5074, allocations: 151.2 MB / 0.5792 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003254/0.5107, allocations: 3.033 MB / 0.5822 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.5109, allocations: 0 / 0.5822 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000375/0.5113, allocations: 61.05 kB / 0.5823 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002346/0.5136, allocations: 1.006 MB / 0.5832 GB, free: 12.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.5142, allocations: 201.5 kB / 0.5834 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003965/0.5146, allocations: 353.1 kB / 0.5838 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.232e-05/0.5146, allocations: 12.58 kB / 0.5838 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.5148, allocations: 147.4 kB / 0.5839 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.515, allocations: 117.5 kB / 0.584 GB, free: 12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.5151, allocations: 12.69 kB / 0.584 GB, free: 12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002454/0.5175, allocations: 1.461 MB / 0.5855 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.5177, allocations: 79.12 kB / 0.5856 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.5178, allocations: 103.2 kB / 0.5856 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.5193, allocations: 0.9822 MB / 0.5866 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.5193, allocations: 4 kB / 0.5866 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.5193, allocations: 0 / 0.5866 GB, free: 11.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.5193, allocations: 0 / 0.5866 GB, free: 11.37 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.0008976/0.5202, allocations: 0.547 MB / 0.5871 GB, free: 10.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.5203, allocations: 7.5 kB / 0.5872 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.5216, allocations: 205 kB / 0.5873 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.522, allocations: 248.7 kB / 0.5876 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.522, allocations: 15.59 kB / 0.5876 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.28e-05/0.5221, allocations: 20.28 kB / 0.5876 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005395/0.5227, allocations: 373.7 kB / 0.588 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.5227, allocations: 0 / 0.588 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.5227, allocations: 8.688 kB / 0.588 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.5227, allocations: 13.19 kB / 0.588 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000528/0.5233, allocations: 417.7 kB / 0.5884 GB, free: 10.38 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.001628/0.5249, allocations: 0.8099 MB / 0.5892 GB, free: 9.879 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.5253, allocations: 218.6 kB / 0.5894 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.5255, allocations: 117.7 kB / 0.5895 GB, free: 9.777 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001739/0.5272, allocations: 0.8954 MB / 0.5904 GB, free: 8.945 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.5272, allocations: 40.69 kB / 0.5904 GB, free: 8.902 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 2.023e-06/0.5273, allocations: 0 / 0.5904 GB, free: 8.902 MB / 430.1 MB Notification: Performance of matching and sorting (n=29): time 0.001181/0.5284, allocations: 365.4 kB / 0.5908 GB, free: 8.809 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.5285, allocations: 83.42 kB / 0.5908 GB, free: 8.711 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.12e-05/0.5286, allocations: 112.2 kB / 0.591 GB, free: 8.609 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.5287, allocations: 31.42 kB / 0.591 GB, free: 8.578 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.5287, allocations: 113 kB / 0.5911 GB, free: 8.469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.746e-05/0.5288, allocations: 106 kB / 0.5912 GB, free: 8.395 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.45e-05/0.5289, allocations: 65.77 kB / 0.5913 GB, free: 8.367 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5291, allocations: 323.3 kB / 0.5916 GB, free: 8.051 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.5292, allocations: 101 kB / 0.5917 GB, free: 8.035 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.5295, allocations: 189.3 kB / 0.5918 GB, free: 7.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.5299, allocations: 295.5 kB / 0.5921 GB, free: 7.793 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.53, allocations: 0 / 0.5921 GB, free: 7.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000578/0.5305, allocations: 349.1 kB / 0.5925 GB, free: 7.695 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.5306, allocations: 7.531 kB / 0.5925 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.5306, allocations: 5.844 kB / 0.5925 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.5306, allocations: 5.562 kB / 0.5925 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.5309, allocations: 74.47 kB / 0.5925 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.531, allocations: 6.859 kB / 0.5926 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.5312, allocations: 24.88 kB / 0.5926 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.5312, allocations: 16.66 kB / 0.5926 GB, free: 7.66 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.0001544/0.5314, allocations: 147.9 kB / 0.5927 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.5315, allocations: 14.78 kB / 0.5927 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006495/0.5322, allocations: 329.6 kB / 0.5931 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.5322, allocations: 4.75 kB / 0.5931 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.5322, allocations: 0 / 0.5931 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.5322, allocations: 3.984 kB / 0.5931 GB, free: 7.418 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005471/0.5328, allocations: 329.4 kB / 0.5934 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5328, allocations: 2.5 kB / 0.5934 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/0.5331, allocations: 56 kB / 0.5934 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.5331, allocations: 6.5 kB / 0.5934 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.5332, allocations: 12.3 kB / 0.5935 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.5332, allocations: 2.125 kB / 0.5935 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5332, allocations: 6.688 kB / 0.5935 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007081/0.5339, allocations: 0.5049 MB / 0.594 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.904e-05/0.534, allocations: 89.48 kB / 0.594 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.534, allocations: 9.875 kB / 0.5941 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003139/0.5343, allocations: 15.2 kB / 0.5941 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.5344, allocations: 19 kB / 0.5941 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/0.5344, allocations: 20.14 kB / 0.5941 GB, free: 6.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.43e-05/0.5345, allocations: 89.77 kB / 0.5942 GB, free: 6.691 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5345, allocations: 0 / 0.5942 GB, free: 6.691 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009176/0.5354, allocations: 229.8 kB / 0.5944 GB, free: 6.645 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.0009657/0.5364, allocations: 427.5 kB / 0.5948 GB, free: 6.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005402/0.5369, allocations: 253.3 kB / 0.5951 GB, free: 6.391 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.537, allocations: 0 / 0.5951 GB, free: 6.391 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.5371, allocations: 124 kB / 0.5952 GB, free: 6.375 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006163/0.5378, allocations: 89.53 kB / 0.5953 GB, free: 6.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.5389, allocations: 0.7294 MB / 0.596 GB, free: 5.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.5392, allocations: 0.7335 MB / 0.5967 GB, free: 5.102 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002957/0.5396, allocations: 74.12 kB / 0.5968 GB, free: 5.059 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.795e-05/0.5397, allocations: 31.77 kB / 0.5968 GB, free: 5.047 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5397, allocations: 0 / 0.5968 GB, free: 5.047 MB / 430.1 MB Notification: Performance of Templates: time 0.01327/0.5529, allocations: 8.229 MB / 0.6048 GB, free: 0.9141 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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