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.001097/0.001097, 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.001232/0.001232, 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.394/1.394, 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.247/0.247, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001577, allocations: 86.89 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1344, allocations: 62.44 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4261/0.5606, allocations: 152.8 MB / 0.6181 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004364/0.565, allocations: 3.242 MB / 0.6212 GB, free: 7.309 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001828/0.5652, allocations: 0 / 0.6212 GB, free: 7.309 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004434/0.5657, allocations: 71.58 kB / 0.6213 GB, free: 7.238 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00302/0.5688, allocations: 1.064 MB / 0.6224 GB, free: 6.172 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/0.5693, allocations: 198.9 kB / 0.6225 GB, free: 5.98 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004974/0.5699, allocations: 366.7 kB / 0.6229 GB, free: 5.621 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.577e-05/0.5699, allocations: 9.109 kB / 0.6229 GB, free: 5.613 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.5702, allocations: 159.5 kB / 0.6231 GB, free: 5.457 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.5705, allocations: 111.6 kB / 0.6232 GB, free: 5.348 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/0.5705, allocations: 12 kB / 0.6232 GB, free: 5.336 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004655/0.5752, allocations: 1.559 MB / 0.6247 GB, free: 3.773 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.5754, allocations: 91.7 kB / 0.6248 GB, free: 3.684 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002653/0.5757, allocations: 107.6 kB / 0.6249 GB, free: 3.578 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002458/0.5782, allocations: 1.017 MB / 0.6259 GB, free: 2.559 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5782, allocations: 0 / 0.6259 GB, free: 2.559 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5782, allocations: 0 / 0.6259 GB, free: 2.559 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.5782, allocations: 0 / 0.6259 GB, free: 2.559 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.001069/0.5793, allocations: 0.5507 MB / 0.6264 GB, free: 1.961 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.5793, allocations: 12.03 kB / 0.6264 GB, free: 1.949 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.026e-05/0.5794, allocations: 54.73 kB / 0.6265 GB, free: 1.887 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004172/0.5836, allocations: 388.7 kB / 0.6269 GB, free: 1.508 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004796/0.5841, allocations: 264 kB / 0.6271 GB, free: 1.211 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.5841, allocations: 20.31 kB / 0.6271 GB, free: 1.191 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.5843, allocations: 20 kB / 0.6271 GB, free: 1.172 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.5855, allocations: 0.4921 MB / 0.6276 GB, free: 0.668 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.5855, allocations: 0 / 0.6276 GB, free: 0.668 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.478e-05/0.5856, allocations: 8 kB / 0.6276 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/0.5856, allocations: 8 kB / 0.6276 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.5867, allocations: 0.5277 MB / 0.6282 GB, free: 128 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.002536/0.5893, allocations: 0.9969 MB / 0.6291 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006535/0.5899, allocations: 301 kB / 0.6294 GB, free: 14.76 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.5902, allocations: 162.6 kB / 0.6296 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001861/0.5921, allocations: 0.9645 MB / 0.6305 GB, free: 13.47 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.5922, allocations: 38.5 kB / 0.6305 GB, free: 13.42 MB / 478.1 MB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/0.5922, allocations: 0 / 0.6305 GB, free: 13.42 MB / 478.1 MB Notification: Performance of matching and sorting (n=31): time 0.001034/0.5932, allocations: 425.8 kB / 0.631 GB, free: 13 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.5933, allocations: 81.11 kB / 0.631 GB, free: 12.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.581e-05/0.5934, allocations: 115.4 kB / 0.6311 GB, free: 12.78 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.023e-05/0.5934, allocations: 37.69 kB / 0.6312 GB, free: 12.74 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.5935, allocations: 116.3 kB / 0.6313 GB, free: 12.62 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.5936, allocations: 106.4 kB / 0.6314 GB, free: 12.51 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.5938, allocations: 69.95 kB / 0.6315 GB, free: 12.44 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5939, allocations: 330.8 kB / 0.6318 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.5942, allocations: 124.2 kB / 0.6319 GB, free: 11.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003199/0.5945, allocations: 198.9 kB / 0.6321 GB, free: 11.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006194/0.5951, allocations: 363.6 kB / 0.6324 GB, free: 11.37 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.5951, allocations: 0 / 0.6324 GB, free: 11.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008024/0.596, allocations: 407.4 kB / 0.6328 GB, free: 10.96 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.596, allocations: 4 kB / 0.6328 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.596, allocations: 4 kB / 0.6328 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.596, allocations: 4 kB / 0.6328 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.5965, allocations: 79.83 kB / 0.6329 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.5965, allocations: 4 kB / 0.6329 GB, free: 10.87 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.5968, allocations: 32.44 kB / 0.6329 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/0.5969, allocations: 20.2 kB / 0.633 GB, free: 10.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.0001671/0.5971, allocations: 141.7 kB / 0.6331 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.5972, allocations: 23.8 kB / 0.6331 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008659/0.5981, allocations: 376.5 kB / 0.6335 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.5981, allocations: 8 kB / 0.6335 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5981, allocations: 0 / 0.6335 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.5981, allocations: 0 / 0.6335 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006294/0.5988, allocations: 382 kB / 0.6338 GB, free: 9.844 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.5988, allocations: 0 / 0.6338 GB, free: 9.844 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004611/0.5993, allocations: 59.89 kB / 0.6339 GB, free: 9.785 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.54e-05/0.5993, allocations: 4 kB / 0.6339 GB, free: 9.781 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.5993, allocations: 8 kB / 0.6339 GB, free: 9.773 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.5993, allocations: 4.484 kB / 0.6339 GB, free: 9.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.5993, allocations: 0 / 0.6339 GB, free: 9.77 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009987/0.6003, allocations: 0.5777 MB / 0.6345 GB, free: 9.176 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.033e-05/0.6004, allocations: 96.8 kB / 0.6346 GB, free: 9.062 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/0.6005, allocations: 13.05 kB / 0.6346 GB, free: 9.051 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.6009, allocations: 15.98 kB / 0.6346 GB, free: 9.035 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.601, allocations: 15.98 kB / 0.6346 GB, free: 9.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.494e-05/0.601, allocations: 19.98 kB / 0.6346 GB, free: 9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.592e-05/0.6011, allocations: 91.27 kB / 0.6347 GB, free: 8.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6011, allocations: 0 / 0.6347 GB, free: 8.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000979/0.6021, allocations: 239.8 kB / 0.635 GB, free: 8.676 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.002536/0.6046, allocations: 1.445 MB / 0.6364 GB, free: 7.203 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007266/0.6054, allocations: 330.3 kB / 0.6367 GB, free: 6.883 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.6054, allocations: 4.062 kB / 0.6367 GB, free: 6.879 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.6057, allocations: 159.3 kB / 0.6368 GB, free: 6.727 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007152/0.6064, allocations: 84.14 kB / 0.6369 GB, free: 6.645 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003975/0.6104, allocations: 2.786 MB / 0.6396 GB, free: 3.711 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.6108, allocations: 0.7402 MB / 0.6404 GB, free: 2.945 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005303/0.6113, allocations: 89.95 kB / 0.6404 GB, free: 2.859 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.6115, allocations: 63.41 kB / 0.6405 GB, free: 2.801 MB / 478.1 MB Notification: Performance of SimCode: time 1.754e-06/0.6115, allocations: 3.938 kB / 0.6405 GB, free: 2.797 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03831/0.6498, allocations: 10.96 MB / 0.6512 GB, free: 7.934 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.035/8.685, allocations: 19.98 kB / 0.6512 GB, free: 7.914 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.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 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv","/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