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.001364/0.001363, allocations: 114.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001557/0.001557, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2419/0.2419, allocations: 46.11 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 74.81 kB / 417.1 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.142, allocations: 62.44 MB / 479.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4911/0.6331, allocations: 150.7 MB / 0.6155 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004412/0.6376, allocations: 3.247 MB / 0.6187 GB, free: 9.746 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/0.6378, allocations: 0 / 0.6187 GB, free: 9.746 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005649/0.6384, allocations: 51.77 kB / 0.6187 GB, free: 9.695 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003238/0.6417, allocations: 0.9988 MB / 0.6197 GB, free: 8.695 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005401/0.6423, allocations: 179.1 kB / 0.6199 GB, free: 8.523 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005146/0.6428, allocations: 370.6 kB / 0.6202 GB, free: 8.16 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.814e-05/0.6429, allocations: 17.11 kB / 0.6202 GB, free: 8.145 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002715/0.6432, allocations: 155.5 kB / 0.6204 GB, free: 7.992 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.6434, allocations: 127.6 kB / 0.6205 GB, free: 7.867 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.6434, allocations: 12 kB / 0.6205 GB, free: 7.855 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003034/0.6465, allocations: 1.644 MB / 0.6221 GB, free: 6.207 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.6466, allocations: 83.7 kB / 0.6222 GB, free: 6.125 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.6467, allocations: 111.6 kB / 0.6223 GB, free: 6.016 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002145/0.6489, allocations: 1.111 MB / 0.6234 GB, free: 4.902 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6489, allocations: 0 / 0.6234 GB, free: 4.902 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6489, allocations: 0 / 0.6234 GB, free: 4.902 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.6489, allocations: 0 / 0.6234 GB, free: 4.902 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.001059/0.65, allocations: 0.5507 MB / 0.6239 GB, free: 4.305 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.6501, allocations: 8.031 kB / 0.6239 GB, free: 4.297 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.742e-05/0.6501, allocations: 54.73 kB / 0.624 GB, free: 4.234 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003722/0.6539, allocations: 400.7 kB / 0.6244 GB, free: 3.844 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.6543, allocations: 256 kB / 0.6246 GB, free: 3.555 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.6543, allocations: 16.31 kB / 0.6246 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.368e-05/0.6544, allocations: 24 kB / 0.6247 GB, free: 3.516 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009978/0.6554, allocations: 0.4921 MB / 0.6251 GB, free: 3.012 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.6554, allocations: 0 / 0.6251 GB, free: 3.012 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-05/0.6555, allocations: 15.98 kB / 0.6252 GB, free: 2.996 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/0.6555, allocations: 8 kB / 0.6252 GB, free: 2.988 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.6565, allocations: 0.5256 MB / 0.6257 GB, free: 2.465 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.002341/0.6589, allocations: 1.001 MB / 0.6267 GB, free: 1.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005942/0.6595, allocations: 297 kB / 0.6269 GB, free: 1.102 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.6598, allocations: 165.6 kB / 0.6271 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001891/0.6617, allocations: 0.9645 MB / 0.628 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.6617, allocations: 34.56 kB / 0.6281 GB, free: 15.76 MB / 478.1 MB Notification: Performance of pre-optimization done (n=31): time 2.194e-06/0.6617, allocations: 0 / 0.6281 GB, free: 15.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=31): time 0.001004/0.6627, allocations: 421.8 kB / 0.6285 GB, free: 15.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.6628, allocations: 77.11 kB / 0.6286 GB, free: 15.25 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.6629, allocations: 130.6 kB / 0.6287 GB, free: 15.11 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.663, allocations: 33.7 kB / 0.6287 GB, free: 15.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.663, allocations: 116.3 kB / 0.6288 GB, free: 14.95 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.03e-05/0.6631, allocations: 106.4 kB / 0.6289 GB, free: 14.85 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.6633, allocations: 66.02 kB / 0.629 GB, free: 14.78 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.6634, allocations: 322.8 kB / 0.6293 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.6636, allocations: 120.3 kB / 0.6294 GB, free: 14.34 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.6639, allocations: 202.9 kB / 0.6296 GB, free: 14.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005413/0.6645, allocations: 359 kB / 0.6299 GB, free: 13.72 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6645, allocations: 4 kB / 0.6299 GB, free: 13.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007155/0.6652, allocations: 399.6 kB / 0.6303 GB, free: 13.32 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.6652, allocations: 4 kB / 0.6303 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.6653, allocations: 7.938 kB / 0.6303 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.6653, allocations: 4.312 kB / 0.6303 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/0.6657, allocations: 79.89 kB / 0.6304 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.6657, allocations: 6.188 kB / 0.6304 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.6661, allocations: 35.62 kB / 0.6305 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.596e-05/0.6661, allocations: 23.98 kB / 0.6305 GB, free: 13.16 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.0001577/0.6663, allocations: 145.7 kB / 0.6306 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.6664, allocations: 19.8 kB / 0.6306 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000817/0.6672, allocations: 380.5 kB / 0.631 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.6673, allocations: 4 kB / 0.631 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.6673, allocations: 0 / 0.631 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.6673, allocations: 7.984 kB / 0.631 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006134/0.6679, allocations: 373.1 kB / 0.6314 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.6679, allocations: 0 / 0.6314 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/0.6683, allocations: 63.89 kB / 0.6314 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.6684, allocations: 4 kB / 0.6314 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/0.6684, allocations: 11.98 kB / 0.6314 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.6684, allocations: 4 kB / 0.6314 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6684, allocations: 0 / 0.6314 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009109/0.6693, allocations: 0.5771 MB / 0.632 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.6694, allocations: 96.86 kB / 0.6321 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.6695, allocations: 12.05 kB / 0.6321 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004227/0.6699, allocations: 15.98 kB / 0.6321 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.6699, allocations: 19.91 kB / 0.6322 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.67, allocations: 19.98 kB / 0.6322 GB, free: 11.34 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.01e-05/0.6701, allocations: 91.58 kB / 0.6323 GB, free: 11.25 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6701, allocations: 0 / 0.6323 GB, free: 11.25 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009431/0.671, allocations: 239.7 kB / 0.6325 GB, free: 11.01 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.002554/0.6736, allocations: 1.457 MB / 0.6339 GB, free: 9.527 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007634/0.6743, allocations: 329.9 kB / 0.6342 GB, free: 9.207 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.6744, allocations: 0.625 kB / 0.6342 GB, free: 9.207 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.6747, allocations: 158.9 kB / 0.6344 GB, free: 9.055 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007137/0.6754, allocations: 91.41 kB / 0.6345 GB, free: 8.969 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004767/0.6802, allocations: 2.853 MB / 0.6372 GB, free: 5.973 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/0.6807, allocations: 0.7324 MB / 0.638 GB, free: 5.211 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006055/0.6813, allocations: 82.02 kB / 0.638 GB, free: 5.133 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/0.6816, allocations: 67.41 kB / 0.6381 GB, free: 5.07 MB / 478.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6816, allocations: 0 / 0.6381 GB, free: 5.07 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03066/0.7123, allocations: 10.87 MB / 0.6487 GB, free: 10.35 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/0.7126, allocations: 203.2 kB / 0.6489 GB, free: 10.09 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.237/2.95, allocations: 0 / 0.6489 GB, free: 10.09 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