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.001229/0.001234, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001332, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 72.53 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1169, allocations: 62.45 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.382/0.4989, allocations: 152.8 MB / 0.6181 GB, free: 10.49 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003682/0.5027, allocations: 3.242 MB / 0.6213 GB, free: 7.266 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.441e-05/0.5028, allocations: 3.938 kB / 0.6213 GB, free: 7.262 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.5032, allocations: 55.66 kB / 0.6213 GB, free: 7.207 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002455/0.5057, allocations: 1.064 MB / 0.6223 GB, free: 6.141 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005391/0.5062, allocations: 199.1 kB / 0.6225 GB, free: 5.949 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004353/0.5067, allocations: 362.6 kB / 0.6229 GB, free: 5.594 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.365e-05/0.5067, allocations: 17.11 kB / 0.6229 GB, free: 5.578 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003511/0.5071, allocations: 159.5 kB / 0.6231 GB, free: 5.422 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.5073, allocations: 115.6 kB / 0.6232 GB, free: 5.309 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.475e-05/0.5074, allocations: 12 kB / 0.6232 GB, free: 5.297 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002906/0.5103, allocations: 1.555 MB / 0.6247 GB, free: 3.738 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.5104, allocations: 91.7 kB / 0.6248 GB, free: 3.648 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.5106, allocations: 111.6 kB / 0.6249 GB, free: 3.539 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002042/0.5126, allocations: 1.017 MB / 0.6259 GB, free: 2.52 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5127, allocations: 0 / 0.6259 GB, free: 2.52 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.592e-06/0.5127, allocations: 0 / 0.6259 GB, free: 2.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.5127, allocations: 0 / 0.6259 GB, free: 2.52 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.00122/0.5139, allocations: 0.5468 MB / 0.6264 GB, free: 1.926 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.514, allocations: 12.03 kB / 0.6264 GB, free: 1.914 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.068e-05/0.5141, allocations: 54.73 kB / 0.6265 GB, free: 1.852 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004073/0.5181, allocations: 392.7 kB / 0.6269 GB, free: 1.469 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.5186, allocations: 264 kB / 0.6271 GB, free: 1.172 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.5186, allocations: 20.31 kB / 0.6271 GB, free: 1.152 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.72e-05/0.5187, allocations: 19.94 kB / 0.6271 GB, free: 1.133 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.5198, allocations: 0.4961 MB / 0.6276 GB, free: 0.625 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.5198, allocations: 0 / 0.6276 GB, free: 0.625 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-05/0.5199, allocations: 8 kB / 0.6276 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.5199, allocations: 4 kB / 0.6276 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.521, allocations: 0.5277 MB / 0.6282 GB, free: 88 kB / 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.002455/0.5234, allocations: 1.001 MB / 0.6291 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006226/0.5241, allocations: 305 kB / 0.6294 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.5244, allocations: 153.6 kB / 0.6296 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001827/0.5262, allocations: 0.9722 MB / 0.6305 GB, free: 13.42 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.5263, allocations: 38.56 kB / 0.6306 GB, free: 13.38 MB / 478.1 MB Notification: Performance of pre-optimization done (n=31): time 1.943e-06/0.5263, allocations: 0 / 0.6306 GB, free: 13.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=31): time 0.0009871/0.5273, allocations: 419.5 kB / 0.631 GB, free: 12.96 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.5273, allocations: 85.11 kB / 0.631 GB, free: 12.86 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.537e-05/0.5274, allocations: 121.8 kB / 0.6312 GB, free: 12.73 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/0.5275, allocations: 33.7 kB / 0.6312 GB, free: 12.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.099e-05/0.5276, allocations: 116.3 kB / 0.6313 GB, free: 12.57 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.5277, allocations: 110.3 kB / 0.6314 GB, free: 12.46 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.5278, allocations: 62.02 kB / 0.6315 GB, free: 12.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.528, allocations: 326.8 kB / 0.6318 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.5282, allocations: 128.2 kB / 0.6319 GB, free: 11.95 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.5285, allocations: 209.1 kB / 0.6321 GB, free: 11.71 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/0.5291, allocations: 360.1 kB / 0.6324 GB, free: 11.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.5291, allocations: 0 / 0.6324 GB, free: 11.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007588/0.5299, allocations: 389.1 kB / 0.6328 GB, free: 10.93 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5299, allocations: 4.312 kB / 0.6328 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.53, allocations: 8 kB / 0.6328 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.53, allocations: 4 kB / 0.6328 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.5304, allocations: 75.83 kB / 0.6329 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.5304, allocations: 4 kB / 0.6329 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.5308, allocations: 39.67 kB / 0.6329 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.52e-05/0.5308, allocations: 15.98 kB / 0.633 GB, free: 10.79 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.0001537/0.531, allocations: 145.7 kB / 0.6331 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.5311, allocations: 15.81 kB / 0.6331 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008182/0.5319, allocations: 391.6 kB / 0.6335 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.532, allocations: 4 kB / 0.6335 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.532, allocations: 4 kB / 0.6335 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.532, allocations: 3.984 kB / 0.6335 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006253/0.5326, allocations: 369.1 kB / 0.6338 GB, free: 9.812 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.5326, allocations: 0 / 0.6338 GB, free: 9.812 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/0.5331, allocations: 63.89 kB / 0.6339 GB, free: 9.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.5331, allocations: 8 kB / 0.6339 GB, free: 9.742 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.5331, allocations: 11.98 kB / 0.6339 GB, free: 9.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.5331, allocations: 3.938 kB / 0.6339 GB, free: 9.73 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5331, allocations: 0 / 0.6339 GB, free: 9.73 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009622/0.5341, allocations: 0.5726 MB / 0.6345 GB, free: 9.141 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-05/0.5342, allocations: 96.86 kB / 0.6346 GB, free: 9.027 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/0.5342, allocations: 15.98 kB / 0.6346 GB, free: 9.012 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.5347, allocations: 11.98 kB / 0.6346 GB, free: 9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.5347, allocations: 19.98 kB / 0.6346 GB, free: 8.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.5348, allocations: 15.98 kB / 0.6346 GB, free: 8.965 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.349e-05/0.5348, allocations: 91.58 kB / 0.6347 GB, free: 8.875 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5348, allocations: 0 / 0.6347 GB, free: 8.875 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008979/0.5357, allocations: 239.8 kB / 0.635 GB, free: 8.641 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.002466/0.5382, allocations: 1.449 MB / 0.6364 GB, free: 7.164 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007195/0.5389, allocations: 328 kB / 0.6367 GB, free: 6.844 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.5389, allocations: 0 / 0.6367 GB, free: 6.844 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002815/0.5392, allocations: 152.5 kB / 0.6368 GB, free: 6.695 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006969/0.5399, allocations: 94.66 kB / 0.6369 GB, free: 6.605 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.5442, allocations: 2.787 MB / 0.6396 GB, free: 3.672 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.5446, allocations: 0.7363 MB / 0.6404 GB, free: 2.91 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004973/0.5451, allocations: 85.97 kB / 0.6404 GB, free: 2.828 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.5453, allocations: 71.34 kB / 0.6405 GB, free: 2.762 MB / 478.1 MB Notification: Performance of SimCode: time 1.803e-06/0.5453, allocations: 0 / 0.6405 GB, free: 2.762 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03405/0.5793, allocations: 10.97 MB / 0.6512 GB, free: 7.891 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/8.183, allocations: 11.98 kB / 0.6512 GB, free: 7.879 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