Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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) 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(Modelica.Media.Examples.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 109.4 kB / 18.4 MB, free: 4.68 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.001179/0.001179, allocations: 189.1 kB / 19.33 MB, free: 3.758 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.363/1.363, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.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.001274/0.001274, allocations: 51.94 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07413/0.07542, allocations: 46.62 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3257/0.4011, allocations: 151.2 MB / 0.5146 GB, free: 7.961 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003883/0.4051, allocations: 3.047 MB / 0.5176 GB, free: 4.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.4053, allocations: 0 / 0.5176 GB, free: 4.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.4057, allocations: 59.64 kB / 0.5177 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002628/0.4083, allocations: 1.013 MB / 0.5187 GB, free: 3.836 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.4089, allocations: 200.1 kB / 0.5189 GB, free: 3.641 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004748/0.4094, allocations: 342.7 kB / 0.5192 GB, free: 3.305 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.108e-05/0.4094, allocations: 17.06 kB / 0.5192 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002948/0.4097, allocations: 155.4 kB / 0.5193 GB, free: 3.137 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.41, allocations: 107.6 kB / 0.5195 GB, free: 3.031 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.41, allocations: 19.94 kB / 0.5195 GB, free: 3.012 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/0.4128, allocations: 1.457 MB / 0.5209 GB, free: 1.555 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.4131, allocations: 79.83 kB / 0.521 GB, free: 1.477 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.4132, allocations: 99.64 kB / 0.5211 GB, free: 1.379 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.4151, allocations: 0.99 MB / 0.522 GB, free: 396 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4152, allocations: 0 / 0.522 GB, free: 396 kB / 446.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.4152, allocations: 0 / 0.522 GB, free: 396 kB / 446.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.4152, allocations: 7.938 kB / 0.522 GB, free: 388 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.001164/0.4164, allocations: 0.5312 MB / 0.5226 GB, free: 15.8 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.4164, allocations: 12.03 kB / 0.5226 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.418, allocations: 192.5 kB / 0.5228 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.4184, allocations: 264 kB / 0.523 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.4184, allocations: 8.938 kB / 0.523 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.857e-05/0.4185, allocations: 27.84 kB / 0.523 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006533/0.4191, allocations: 377.5 kB / 0.5234 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4192, allocations: 0 / 0.5234 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.917e-05/0.4192, allocations: 12 kB / 0.5234 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.4192, allocations: 4 kB / 0.5234 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005837/0.4198, allocations: 415.6 kB / 0.5238 GB, free: 14.47 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.00176/0.4216, allocations: 0.8085 MB / 0.5246 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.422, allocations: 222.8 kB / 0.5248 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.4222, allocations: 129.5 kB / 0.5249 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001837/0.4241, allocations: 0.8853 MB / 0.5258 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.4241, allocations: 38.56 kB / 0.5258 GB, free: 12.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 2.214e-06/0.4241, allocations: 0 / 0.5258 GB, free: 12.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.001242/0.4254, allocations: 365.5 kB / 0.5262 GB, free: 11.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.4254, allocations: 85.05 kB / 0.5263 GB, free: 11.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.4255, allocations: 118.9 kB / 0.5264 GB, free: 11.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/0.4256, allocations: 29.7 kB / 0.5264 GB, free: 11.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.4257, allocations: 108.4 kB / 0.5265 GB, free: 11.43 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.709e-05/0.4258, allocations: 110.5 kB / 0.5266 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.4259, allocations: 65.92 kB / 0.5267 GB, free: 11.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.426, allocations: 322.8 kB / 0.527 GB, free: 10.92 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.4262, allocations: 96.61 kB / 0.5271 GB, free: 10.83 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.4265, allocations: 187.7 kB / 0.5273 GB, free: 10.61 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/0.427, allocations: 308.6 kB / 0.5276 GB, free: 10.27 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.427, allocations: 0 / 0.5276 GB, free: 10.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006354/0.4276, allocations: 341.3 kB / 0.5279 GB, free: 9.934 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.4276, allocations: 8 kB / 0.5279 GB, free: 9.926 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.4277, allocations: 4 kB / 0.5279 GB, free: 9.922 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.4277, allocations: 4 kB / 0.5279 GB, free: 9.918 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/0.428, allocations: 75.84 kB / 0.528 GB, free: 9.844 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.4281, allocations: 4 kB / 0.528 GB, free: 9.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.4283, allocations: 35.61 kB / 0.528 GB, free: 9.805 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-05/0.4284, allocations: 16 kB / 0.528 GB, free: 9.789 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.0001601/0.4285, allocations: 145.8 kB / 0.5282 GB, free: 9.637 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.4286, allocations: 19.75 kB / 0.5282 GB, free: 9.617 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006682/0.4293, allocations: 329.2 kB / 0.5285 GB, free: 9.281 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.4293, allocations: 4.875 kB / 0.5285 GB, free: 9.277 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4293, allocations: 0 / 0.5285 GB, free: 9.277 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4294, allocations: 0 / 0.5285 GB, free: 9.277 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006313/0.43, allocations: 331 kB / 0.5288 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.43, allocations: 0 / 0.5288 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.4303, allocations: 55.91 kB / 0.5289 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.4304, allocations: 6.875 kB / 0.5289 GB, free: 8.855 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.4304, allocations: 11.98 kB / 0.5289 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.4304, allocations: 4 kB / 0.5289 GB, free: 8.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4304, allocations: 0 / 0.5289 GB, free: 8.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008291/0.4313, allocations: 0.5028 MB / 0.5294 GB, free: 8.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-05/0.4313, allocations: 97.02 kB / 0.5295 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.4314, allocations: 4 kB / 0.5295 GB, free: 8.203 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/0.4317, allocations: 19.98 kB / 0.5295 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.4318, allocations: 11.98 kB / 0.5295 GB, free: 8.172 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/0.4318, allocations: 23.92 kB / 0.5295 GB, free: 8.148 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.757e-05/0.4319, allocations: 91.58 kB / 0.5296 GB, free: 8.059 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4319, allocations: 0 / 0.5296 GB, free: 8.059 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008989/0.4328, allocations: 223.7 kB / 0.5298 GB, free: 7.84 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.001198/0.434, allocations: 435.8 kB / 0.5302 GB, free: 7.406 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005503/0.4346, allocations: 259.8 kB / 0.5305 GB, free: 7.152 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4346, allocations: 0 / 0.5305 GB, free: 7.152 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.4348, allocations: 124.5 kB / 0.5306 GB, free: 7.031 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006949/0.4355, allocations: 91.58 kB / 0.5307 GB, free: 6.945 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.4368, allocations: 0.7503 MB / 0.5314 GB, free: 6.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.4371, allocations: 0.7361 MB / 0.5321 GB, free: 5.398 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.4373, allocations: 31.42 kB / 0.5322 GB, free: 5.367 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4373, allocations: 0 / 0.5322 GB, free: 5.367 MB / 462.1 MB Notification: Performance of Templates: time 0.01108/0.4484, allocations: 6.431 MB / 0.5385 GB, free: 14.93 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches