Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008238/0.0008237, allocations: 95.62 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009237/0.0009238, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2224/0.2224, allocations: 46.18 MB / 345.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002741/0.0002741, allocations: 11.98 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1386, allocations: 63.56 MB / 483.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4794/0.618, allocations: 148.7 MB / 0.617 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003969/0.622, allocations: 3.287 MB / 0.6202 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.961e-05/0.6221, allocations: 4 kB / 0.6203 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004014/0.6225, allocations: 63.7 kB / 0.6203 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002153/0.6247, allocations: 0.9832 MB / 0.6213 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.6252, allocations: 184.8 kB / 0.6214 GB, free: 11.44 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00056/0.6257, allocations: 0.5101 MB / 0.6219 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.389e-05/0.6258, allocations: 9.109 kB / 0.622 GB, free: 10.92 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.6261, allocations: 151.4 kB / 0.6221 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.6263, allocations: 123.6 kB / 0.6222 GB, free: 10.65 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.6263, allocations: 8 kB / 0.6222 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002975/0.6293, allocations: 1.808 MB / 0.624 GB, free: 8.832 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.6294, allocations: 79.75 kB / 0.6241 GB, free: 8.754 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.6296, allocations: 133.3 kB / 0.6242 GB, free: 8.617 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.6311, allocations: 1.142 MB / 0.6253 GB, free: 7.473 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6311, allocations: 4 kB / 0.6253 GB, free: 7.469 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6311, allocations: 0 / 0.6253 GB, free: 7.469 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.6311, allocations: 0 / 0.6253 GB, free: 7.469 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008193/0.6319, allocations: 0.5 MB / 0.6258 GB, free: 6.922 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.632, allocations: 8.875 kB / 0.6258 GB, free: 6.914 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.01e-05/0.6321, allocations: 58.67 kB / 0.6259 GB, free: 6.848 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003771/0.6358, allocations: 393.1 kB / 0.6262 GB, free: 6.465 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.6362, allocations: 263.1 kB / 0.6265 GB, free: 6.172 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.6362, allocations: 20.31 kB / 0.6265 GB, free: 6.152 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.056e-05/0.6363, allocations: 20 kB / 0.6265 GB, free: 6.133 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009563/0.6373, allocations: 500 kB / 0.627 GB, free: 5.633 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.6373, allocations: 0 / 0.627 GB, free: 5.633 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.878e-05/0.6374, allocations: 8 kB / 0.627 GB, free: 5.625 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.6374, allocations: 11.98 kB / 0.627 GB, free: 5.613 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.6384, allocations: 0.5256 MB / 0.6275 GB, free: 5.09 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.002259/0.6407, allocations: 1.005 MB / 0.6285 GB, free: 4.031 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005755/0.6413, allocations: 300.9 kB / 0.6288 GB, free: 3.719 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.6416, allocations: 157.6 kB / 0.629 GB, free: 3.559 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001737/0.6433, allocations: 0.9762 MB / 0.6299 GB, free: 2.418 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.6434, allocations: 34.56 kB / 0.6299 GB, free: 2.375 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 1.532e-06/0.6434, allocations: 0 / 0.6299 GB, free: 2.375 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.0009373/0.6443, allocations: 420.5 kB / 0.6303 GB, free: 1.961 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.6444, allocations: 85.11 kB / 0.6304 GB, free: 1.859 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.359e-05/0.6445, allocations: 114.3 kB / 0.6305 GB, free: 1.738 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.6445, allocations: 33.7 kB / 0.6306 GB, free: 1.699 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.6446, allocations: 108.4 kB / 0.6307 GB, free: 1.586 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.547e-05/0.6447, allocations: 114.3 kB / 0.6308 GB, free: 1.473 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-05/0.6447, allocations: 37.7 kB / 0.6308 GB, free: 1.43 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.6449, allocations: 326.8 kB / 0.6311 GB, free: 1.102 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.6451, allocations: 116.3 kB / 0.6312 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.6454, allocations: 214.8 kB / 0.6314 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005568/0.646, allocations: 357.2 kB / 0.6318 GB, free: 368 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.646, allocations: 0 / 0.6318 GB, free: 368 kB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000719/0.6467, allocations: 391.5 kB / 0.6322 GB, free: 15.97 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.6467, allocations: 4.312 kB / 0.6322 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.6468, allocations: 8 kB / 0.6322 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.6468, allocations: 4 kB / 0.6322 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/0.6472, allocations: 75.89 kB / 0.6322 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.6472, allocations: 4.312 kB / 0.6323 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.6476, allocations: 39.67 kB / 0.6323 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/0.6476, allocations: 19.98 kB / 0.6323 GB, free: 15.82 MB / 478.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 (40): * Single equations (assignments): 39 * Array equations: 1 * 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.000148/0.6478, allocations: 149.6 kB / 0.6324 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.04e-05/0.6479, allocations: 11.91 kB / 0.6325 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007776/0.6487, allocations: 386.1 kB / 0.6328 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.6487, allocations: 4 kB / 0.6328 GB, free: 15.26 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6487, allocations: 0 / 0.6328 GB, free: 15.26 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.6487, allocations: 4 kB / 0.6328 GB, free: 15.26 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005771/0.6493, allocations: 377 kB / 0.6332 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6493, allocations: 7.312 kB / 0.6332 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/0.6497, allocations: 55.97 kB / 0.6333 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.6497, allocations: 0 / 0.6333 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.6498, allocations: 15.98 kB / 0.6333 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.6498, allocations: 3.938 kB / 0.6333 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6498, allocations: 3.938 kB / 0.6333 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008877/0.6507, allocations: 0.5757 MB / 0.6338 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.6507, allocations: 88.95 kB / 0.6339 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.6508, allocations: 8.062 kB / 0.6339 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/0.6512, allocations: 15.98 kB / 0.6339 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.6512, allocations: 23.95 kB / 0.634 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.6513, allocations: 19.98 kB / 0.634 GB, free: 14 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.161e-05/0.6513, allocations: 99.2 kB / 0.6341 GB, free: 13.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6513, allocations: 0 / 0.6341 GB, free: 13.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009055/0.6523, allocations: 251.6 kB / 0.6343 GB, free: 13.65 MB / 478.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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.002245/0.6545, allocations: 1.445 MB / 0.6357 GB, free: 12.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006322/0.6551, allocations: 307.9 kB / 0.636 GB, free: 11.88 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.6552, allocations: 0 / 0.636 GB, free: 11.88 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.6555, allocations: 159.7 kB / 0.6362 GB, free: 11.73 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007068/0.6562, allocations: 93.75 kB / 0.6363 GB, free: 11.64 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/0.6603, allocations: 2.986 MB / 0.6392 GB, free: 8.504 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.6607, allocations: 0.7404 MB / 0.6399 GB, free: 7.734 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005091/0.6612, allocations: 82.25 kB / 0.64 GB, free: 7.656 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.6614, allocations: 63.41 kB / 0.6401 GB, free: 7.598 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6614, allocations: 0 / 0.6401 GB, free: 7.598 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.6898, allocations: 10.59 MB / 0.6504 GB, free: 13.17 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/0.6901, allocations: 199.9 kB / 0.6506 GB, free: 12.91 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/2.922, allocations: 0 / 0.6506 GB, free: 12.91 MB / 494.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches