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.0007179/0.0007181, allocations: 95.06 kB / 17.3 MB, free: 6.387 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.0008309/0.000831, allocations: 178.4 kB / 18.21 MB, free: 5.551 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.314/1.314, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.000479/0.0004791, allocations: 12 kB / 281.5 MB, free: 3.32 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07507/0.07557, allocations: 47.58 MB / 329.1 MB, free: 3.664 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.2932/0.3688, allocations: 147 MB / 476.1 MB, free: 6.652 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003272/0.3721, allocations: 3.089 MB / 479.2 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.394e-05/0.3722, allocations: 0 / 479.2 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.3725, allocations: 59.7 kB / 479.2 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.3741, allocations: 0.92 MB / 480.2 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.3745, allocations: 183.6 kB / 480.3 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004155/0.3749, allocations: 482.5 kB / 480.8 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.3749, allocations: 13.02 kB / 480.8 MB, free: 1.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.3751, allocations: 139.5 kB / 481 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.3753, allocations: 127.5 kB / 481.1 MB, free: 1.668 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.3753, allocations: 8 kB / 481.1 MB, free: 1.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002306/0.3777, allocations: 1.718 MB / 482.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.015e-05/0.3777, allocations: 75.77 kB / 482.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.3779, allocations: 121.3 kB / 483 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.379, allocations: 1.114 MB / 484.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.379, allocations: 4 kB / 484.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3791, allocations: 0 / 484.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.3791, allocations: 0 / 484.1 MB, free: 14.62 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.0006404/0.3797, allocations: 0.4963 MB / 484.6 MB, free: 14.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3797, allocations: 8.031 kB / 484.6 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.482e-05/0.3798, allocations: 54.73 kB / 484.7 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003541/0.3834, allocations: 372.2 kB / 485 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.3837, allocations: 260 kB / 485.3 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3837, allocations: 20.5 kB / 485.3 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.934e-05/0.3838, allocations: 16 kB / 485.3 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008959/0.3847, allocations: 0.4895 MB / 485.8 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3847, allocations: 0 / 485.8 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-05/0.3848, allocations: 19.97 kB / 485.8 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3848, allocations: 4 kB / 485.8 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009525/0.3857, allocations: 0.5036 MB / 486.3 MB, free: 12.29 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.00216/0.3879, allocations: 1.001 MB / 487.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005556/0.3885, allocations: 290.7 kB / 487.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/0.3887, allocations: 149.7 kB / 487.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001511/0.3902, allocations: 0.8969 MB / 488.7 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.3903, allocations: 42.5 kB / 488.7 MB, free: 9.684 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.422e-06/0.3903, allocations: 0 / 488.7 MB, free: 9.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008594/0.3912, allocations: 414.6 kB / 489.1 MB, free: 9.277 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.3912, allocations: 81.11 kB / 489.2 MB, free: 9.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.264e-05/0.3913, allocations: 109.8 kB / 489.3 MB, free: 9.062 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.3913, allocations: 33.7 kB / 489.3 MB, free: 9.023 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.3914, allocations: 108.4 kB / 489.4 MB, free: 8.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.874e-05/0.3915, allocations: 110.4 kB / 489.5 MB, free: 8.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/0.3916, allocations: 29.7 kB / 489.6 MB, free: 8.766 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3917, allocations: 326.8 kB / 489.9 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.3919, allocations: 116.6 kB / 490 MB, free: 8.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.3922, allocations: 203.5 kB / 490.2 MB, free: 8.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005072/0.3927, allocations: 342 kB / 490.5 MB, free: 7.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.3927, allocations: 7.938 kB / 490.6 MB, free: 7.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000657/0.3934, allocations: 381 kB / 490.9 MB, free: 7.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3934, allocations: 8 kB / 490.9 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3934, allocations: 320 / 490.9 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3934, allocations: 8 kB / 490.9 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.3938, allocations: 79.89 kB / 491 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.3938, allocations: 7.938 kB / 491 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.3941, allocations: 31.77 kB / 491.1 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.3942, allocations: 16 kB / 491.1 MB, free: 7.188 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.0001285/0.3943, allocations: 141.7 kB / 491.2 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.934e-05/0.3944, allocations: 19.81 kB / 491.2 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007362/0.3952, allocations: 370.4 kB / 491.6 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3952, allocations: 4 kB / 491.6 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3952, allocations: 0 / 491.6 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3952, allocations: 0 / 491.6 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005222/0.3957, allocations: 364.6 kB / 491.9 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3957, allocations: 0 / 491.9 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/0.3962, allocations: 67.89 kB / 492 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3962, allocations: 0 / 492 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.3962, allocations: 15.98 kB / 492 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3962, allocations: 0 / 492 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3962, allocations: 0 / 492 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008099/0.397, allocations: 0.5568 MB / 492.6 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.3971, allocations: 100.9 kB / 492.7 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.3971, allocations: 4.062 kB / 492.7 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.3975, allocations: 15.98 kB / 492.7 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.3976, allocations: 23.97 kB / 492.7 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.3976, allocations: 19.98 kB / 492.7 MB, free: 5.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.918e-05/0.3977, allocations: 83.27 kB / 492.8 MB, free: 5.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3977, allocations: 0 / 492.8 MB, free: 5.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007139/0.3984, allocations: 243.8 kB / 493.1 MB, free: 5.09 MB / 382.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.001878/0.4003, allocations: 1.415 MB / 494.5 MB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005472/0.4008, allocations: 303.7 kB / 494.8 MB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4008, allocations: 0.625 kB / 494.8 MB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002423/0.4011, allocations: 152.4 kB / 494.9 MB, free: 3.199 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006364/0.4017, allocations: 80.77 kB / 495 MB, free: 3.121 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.4049, allocations: 2.901 MB / 497.9 MB, free: 80 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.4052, allocations: 0.74 MB / 498.6 MB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000464/0.4057, allocations: 92.3 kB / 498.7 MB, free: 15.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.4059, allocations: 59.42 kB / 498.8 MB, free: 15.16 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4059, allocations: 0 / 498.8 MB, free: 15.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9768/1.383, allocations: 10.3 MB / 0.4972 GB, free: 4.852 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002647/1.383, allocations: 194.6 kB / 0.4974 GB, free: 4.598 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.784/4.167, allocations: 0 / 0.4974 GB, free: 4.598 MB / 398.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","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches