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: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_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.001719/0.001718, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001805/0.001805, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.589/2.589, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001542/0.001543, allocations: 51.92 kB / 280.7 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1038, allocations: 46.63 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.4885/0.5923, allocations: 151.2 MB / 478.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004574/0.5969, allocations: 3.041 MB / 481.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.5971, allocations: 4 kB / 481.6 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005338/0.5977, allocations: 63.58 kB / 481.7 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002889/0.6006, allocations: 1.001 MB / 482.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006041/0.6013, allocations: 197.9 kB / 482.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000514/0.6018, allocations: 358.6 kB / 483.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.098e-05/0.6019, allocations: 13.08 kB / 483.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/0.6022, allocations: 147.5 kB / 483.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.6025, allocations: 107.6 kB / 483.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.456e-05/0.6025, allocations: 12 kB / 483.5 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003094/0.6056, allocations: 1.504 MB / 485 MB, free: 9.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.6058, allocations: 75.78 kB / 485 MB, free: 9.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.606, allocations: 115.5 kB / 485.2 MB, free: 9.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002152/0.6082, allocations: 0.9861 MB / 486.1 MB, free: 8.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.6082, allocations: 3.938 kB / 486.2 MB, free: 8.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6082, allocations: 0 / 486.2 MB, free: 8.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.6082, allocations: 0 / 486.2 MB, free: 8.281 MB / 382.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.001162/0.6094, allocations: 0.543 MB / 486.7 MB, free: 7.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.704e-05/0.6094, allocations: 12.03 kB / 486.7 MB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.148e-05/0.6095, allocations: 50.73 kB / 486.8 MB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004437/0.614, allocations: 380.7 kB / 487.1 MB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.6144, allocations: 268 kB / 487.4 MB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.6144, allocations: 16.75 kB / 487.4 MB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-05/0.6145, allocations: 23.94 kB / 487.4 MB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.6157, allocations: 485.3 kB / 487.9 MB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.6157, allocations: 0 / 487.9 MB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.092e-05/0.6158, allocations: 12 kB / 487.9 MB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.6158, allocations: 4 kB / 487.9 MB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.617, allocations: 0.5152 MB / 488.4 MB, free: 5.895 MB / 382.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.002698/0.6197, allocations: 0.9891 MB / 489.4 MB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006923/0.6204, allocations: 297 kB / 489.7 MB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.6208, allocations: 157.6 kB / 489.9 MB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002112/0.6229, allocations: 0.8892 MB / 490.8 MB, free: 3.348 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.6229, allocations: 34.56 kB / 490.8 MB, free: 3.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 3.967e-06/0.623, allocations: 4 kB / 490.8 MB, free: 3.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.001347/0.6243, allocations: 410.4 kB / 491.2 MB, free: 2.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.6244, allocations: 81.11 kB / 491.3 MB, free: 2.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.6247, allocations: 109.8 kB / 491.4 MB, free: 2.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/0.6248, allocations: 33.7 kB / 491.4 MB, free: 2.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.154e-05/0.6249, allocations: 108.4 kB / 491.5 MB, free: 2.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.6251, allocations: 110.4 kB / 491.6 MB, free: 2.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.6252, allocations: 65.95 kB / 491.7 MB, free: 2.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6254, allocations: 326.8 kB / 492 MB, free: 2.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.6257, allocations: 120.6 kB / 492.1 MB, free: 1.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.626, allocations: 195.5 kB / 492.3 MB, free: 1.676 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/0.6267, allocations: 348 kB / 492.7 MB, free: 1.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6267, allocations: 0 / 492.7 MB, free: 1.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000819/0.6275, allocations: 381.7 kB / 493 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.6275, allocations: 8 kB / 493 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.6276, allocations: 4 kB / 493 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.6276, allocations: 4 kB / 493 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004974/0.6281, allocations: 75.89 kB / 493.1 MB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.6281, allocations: 4 kB / 493.1 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003484/0.6285, allocations: 35.61 kB / 493.2 MB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.6285, allocations: 20 kB / 493.2 MB, free: 0.7734 MB / 382.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.0002484/0.6288, allocations: 149.8 kB / 493.3 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.6289, allocations: 11.91 kB / 493.3 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009125/0.6299, allocations: 372.5 kB / 493.7 MB, free: 248 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.6299, allocations: 0 / 493.7 MB, free: 248 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.6299, allocations: 4.875 kB / 493.7 MB, free: 244 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.6299, allocations: 3.984 kB / 493.7 MB, free: 240 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007104/0.6306, allocations: 372.5 kB / 494.1 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.6306, allocations: 4 kB / 494.1 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004769/0.6311, allocations: 63.89 kB / 494.1 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.6311, allocations: 0 / 494.1 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.6312, allocations: 15.88 kB / 494.2 MB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.6312, allocations: 4 kB / 494.2 MB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.6312, allocations: 0 / 494.2 MB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.6323, allocations: 0.5513 MB / 494.7 MB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.758e-05/0.6324, allocations: 88.95 kB / 494.8 MB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.541e-05/0.6324, allocations: 12.05 kB / 494.8 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004618/0.6329, allocations: 19.97 kB / 494.8 MB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.6329, allocations: 15.98 kB / 494.8 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.395e-05/0.633, allocations: 15.98 kB / 494.9 MB, free: 15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.567e-05/0.6331, allocations: 91.98 kB / 495 MB, free: 14.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6331, allocations: 4 kB / 495 MB, free: 14.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001204/0.6343, allocations: 231.7 kB / 495.2 MB, free: 14.68 MB / 398.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.002963/0.6373, allocations: 1.41 MB / 496.6 MB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007986/0.6381, allocations: 307.7 kB / 496.9 MB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/0.6381, allocations: 8.562 kB / 496.9 MB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003397/0.6385, allocations: 147.8 kB / 497 MB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000765/0.6392, allocations: 80.39 kB / 497.1 MB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005595/0.6448, allocations: 2.734 MB / 499.9 MB, free: 9.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/0.6454, allocations: 0.736 MB / 0.4889 GB, free: 9.078 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005955/0.646, allocations: 81.83 kB / 0.4889 GB, free: 9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.6462, allocations: 67.41 kB / 0.489 GB, free: 8.934 MB / 398.1 MB Notification: Performance of SimCode: time 6.72e-07/0.6462, allocations: 0 / 0.489 GB, free: 8.934 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04254/0.6888, allocations: 10.67 MB / 0.4994 GB, free: 14.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.39, allocations: 7.938 kB / 0.4994 GB, free: 14.18 MB / 414.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.csv","/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