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.001079/0.001079, allocations: 97.98 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.001129/0.001129, 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 1.334/1.334, 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.001312/0.001312, allocations: 47.94 kB / 280.7 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08309/0.08441, 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.3032/0.3877, allocations: 151.2 MB / 478.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003358/0.3911, allocations: 3.045 MB / 481.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.3912, allocations: 0 / 481.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.3916, allocations: 59.64 kB / 481.7 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.3938, allocations: 0.9974 MB / 482.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.3943, allocations: 206 kB / 482.9 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.3946, allocations: 358.6 kB / 483.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.3947, allocations: 13.08 kB / 483.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.3949, allocations: 147.5 kB / 483.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.3951, allocations: 103.6 kB / 483.5 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.3951, allocations: 12 kB / 483.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.3974, allocations: 1.5 MB / 485 MB, free: 9.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.659e-05/0.3975, allocations: 83.7 kB / 485.1 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.3977, allocations: 99.64 kB / 485.1 MB, free: 9.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.3989, allocations: 0.9939 MB / 486.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3989, allocations: 0 / 486.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3989, allocations: 3.938 kB / 486.1 MB, free: 8.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.3989, allocations: 0 / 486.1 MB, free: 8.273 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.0007878/0.3997, allocations: 0.543 MB / 486.7 MB, free: 7.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.3998, allocations: 8.031 kB / 486.7 MB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.903e-05/0.3999, allocations: 58.72 kB / 486.8 MB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003777/0.4036, allocations: 384.7 kB / 487.1 MB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.404, allocations: 264 kB / 487.4 MB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.404, allocations: 16.75 kB / 487.4 MB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-05/0.4041, allocations: 23.94 kB / 487.4 MB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009523/0.4051, allocations: 497.3 kB / 487.9 MB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4051, allocations: 0 / 487.9 MB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.86e-05/0.4052, allocations: 4 kB / 487.9 MB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.4052, allocations: 8 kB / 487.9 MB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.4062, allocations: 0.5114 MB / 488.4 MB, free: 5.879 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.00223/0.4084, allocations: 0.9852 MB / 489.4 MB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000581/0.409, allocations: 297 kB / 489.7 MB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.4093, allocations: 157.6 kB / 489.9 MB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001866/0.4112, allocations: 0.8892 MB / 490.8 MB, free: 3.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.4112, allocations: 34.56 kB / 490.8 MB, free: 3.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 4.138e-06/0.4113, allocations: 0 / 490.8 MB, free: 3.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009931/0.4123, allocations: 407.2 kB / 491.2 MB, free: 2.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.4123, allocations: 85.11 kB / 491.3 MB, free: 2.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.825e-05/0.4124, allocations: 121.8 kB / 491.4 MB, free: 2.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.4125, allocations: 29.7 kB / 491.4 MB, free: 2.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.182e-05/0.4126, allocations: 108.4 kB / 491.5 MB, free: 2.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.434e-05/0.4127, allocations: 114.4 kB / 491.6 MB, free: 2.398 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.4128, allocations: 62.02 kB / 491.7 MB, free: 2.332 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.4129, allocations: 322.8 kB / 492 MB, free: 2.008 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.4132, allocations: 116.6 kB / 492.1 MB, free: 1.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/0.4135, allocations: 203.5 kB / 492.3 MB, free: 1.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005649/0.414, allocations: 335.3 kB / 492.7 MB, free: 1.297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4141, allocations: 0 / 492.7 MB, free: 1.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007237/0.4148, allocations: 389.9 kB / 493 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4148, allocations: 4 kB / 493 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.4148, allocations: 4 kB / 493 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.4148, allocations: 4 kB / 493 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004357/0.4153, allocations: 75.89 kB / 493.1 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.4153, allocations: 4 kB / 493.1 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.4156, allocations: 39.61 kB / 493.2 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.241e-05/0.4157, allocations: 16 kB / 493.2 MB, free: 0.7656 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.0001631/0.4159, allocations: 149.8 kB / 493.3 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.416, allocations: 15.84 kB / 493.3 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000824/0.4168, allocations: 369.6 kB / 493.7 MB, free: 240 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.4168, allocations: 4.875 kB / 493.7 MB, free: 236 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4169, allocations: 0 / 493.7 MB, free: 236 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.4169, allocations: 0 / 493.7 MB, free: 236 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000608/0.4175, allocations: 380.5 kB / 494.1 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4175, allocations: 4 kB / 494.1 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004218/0.4179, allocations: 59.91 kB / 494.1 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.4179, allocations: 0.625 kB / 494.1 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.418, allocations: 19.92 kB / 494.2 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.418, allocations: 0 / 494.2 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.418, allocations: 0 / 494.2 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009294/0.4189, allocations: 0.5561 MB / 494.7 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.69e-05/0.419, allocations: 92.95 kB / 494.8 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.4191, allocations: 4.062 kB / 494.8 MB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.4195, allocations: 15.98 kB / 494.8 MB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.4195, allocations: 19.91 kB / 494.8 MB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/0.4196, allocations: 19.98 kB / 494.9 MB, free: 14.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.117e-05/0.4196, allocations: 92.83 kB / 495 MB, free: 14.9 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4196, allocations: 0 / 495 MB, free: 14.9 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009358/0.4206, allocations: 231.7 kB / 495.2 MB, free: 14.67 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.002697/0.4233, allocations: 1.41 MB / 496.6 MB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006987/0.424, allocations: 307.7 kB / 496.9 MB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.424, allocations: 8.5 kB / 496.9 MB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002669/0.4243, allocations: 147.8 kB / 497 MB, free: 12.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/0.425, allocations: 86.92 kB / 497.1 MB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004044/0.429, allocations: 2.724 MB / 499.9 MB, free: 9.828 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.4294, allocations: 0.7321 MB / 0.4889 GB, free: 9.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005035/0.4299, allocations: 93.94 kB / 0.4889 GB, free: 8.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.43, allocations: 63.42 kB / 0.489 GB, free: 8.918 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.43, allocations: 0 / 0.489 GB, free: 8.918 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.46, allocations: 10.67 MB / 0.4994 GB, free: 14.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.853/8.314, allocations: 11.94 kB / 0.4994 GB, free: 14.17 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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