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: translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001006, allocations: 96.78 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 205.1 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2271/0.2271, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.0002901, allocations: 11.98 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.121, allocations: 63.55 MB / 483.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3876/0.5086, allocations: 148.7 MB / 0.6176 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004029/0.5127, allocations: 3.291 MB / 0.6208 GB, free: 12.69 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.5129, allocations: 4 kB / 0.6208 GB, free: 12.69 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.5132, allocations: 59.7 kB / 0.6209 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002361/0.5156, allocations: 0.9829 MB / 0.6218 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.5161, allocations: 181.2 kB / 0.622 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006203/0.5167, allocations: 0.5102 MB / 0.6225 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.5168, allocations: 13.11 kB / 0.6225 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000328/0.5171, allocations: 147.5 kB / 0.6226 GB, free: 10.8 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.5174, allocations: 127.5 kB / 0.6228 GB, free: 10.68 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.5174, allocations: 11.98 kB / 0.6228 GB, free: 10.67 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003277/0.5207, allocations: 1.812 MB / 0.6245 GB, free: 8.852 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.5209, allocations: 71.83 kB / 0.6246 GB, free: 8.781 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.521, allocations: 129.3 kB / 0.6247 GB, free: 8.648 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.5223, allocations: 0.7835 MB / 0.6255 GB, free: 7.863 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5223, allocations: 0 / 0.6255 GB, free: 7.863 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5223, allocations: 0 / 0.6255 GB, free: 7.863 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.5223, allocations: 0 / 0.6255 GB, free: 7.863 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.001033/0.5234, allocations: 0.5054 MB / 0.626 GB, free: 7.312 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.5234, allocations: 8.031 kB / 0.626 GB, free: 7.305 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003965/0.5274, allocations: 385.2 kB / 0.6264 GB, free: 6.93 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.5278, allocations: 260.2 kB / 0.6266 GB, free: 6.637 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.5278, allocations: 20.25 kB / 0.6266 GB, free: 6.617 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.494e-05/0.5279, allocations: 20 kB / 0.6267 GB, free: 6.598 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.529, allocations: 496 kB / 0.6271 GB, free: 6.102 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.529, allocations: 0 / 0.6271 GB, free: 6.102 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.477e-05/0.5291, allocations: 12 kB / 0.6271 GB, free: 6.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/0.5291, allocations: 15.98 kB / 0.6272 GB, free: 6.074 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.5302, allocations: 0.5294 MB / 0.6277 GB, free: 5.547 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.002349/0.5325, allocations: 0.9932 MB / 0.6286 GB, free: 4.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006317/0.5332, allocations: 308.9 kB / 0.6289 GB, free: 4.18 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.5335, allocations: 169.5 kB / 0.6291 GB, free: 4.008 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001802/0.5353, allocations: 0.9722 MB / 0.63 GB, free: 2.871 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.5354, allocations: 30.56 kB / 0.6301 GB, free: 2.832 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 1.813e-06/0.5354, allocations: 0 / 0.6301 GB, free: 2.832 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.00101/0.5364, allocations: 425 kB / 0.6305 GB, free: 2.414 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.5364, allocations: 77.11 kB / 0.6306 GB, free: 2.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.888e-05/0.5365, allocations: 118.4 kB / 0.6307 GB, free: 2.195 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.5366, allocations: 33.7 kB / 0.6307 GB, free: 2.156 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.5367, allocations: 116.3 kB / 0.6308 GB, free: 2.035 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.4e-05/0.5368, allocations: 110.4 kB / 0.6309 GB, free: 1.926 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.956e-05/0.5369, allocations: 33.7 kB / 0.6309 GB, free: 1.887 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.537, allocations: 330.8 kB / 0.6313 GB, free: 1.555 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.5372, allocations: 116.3 kB / 0.6314 GB, free: 1.441 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.5376, allocations: 206.8 kB / 0.6316 GB, free: 1.203 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005987/0.5382, allocations: 353 kB / 0.6319 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.5382, allocations: 3.938 kB / 0.6319 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007612/0.539, allocations: 393.1 kB / 0.6323 GB, free: 440 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.539, allocations: 4 kB / 0.6323 GB, free: 436 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.539, allocations: 4 kB / 0.6323 GB, free: 432 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.539, allocations: 4 kB / 0.6323 GB, free: 428 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.5395, allocations: 75.83 kB / 0.6324 GB, free: 352 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.5395, allocations: 4 kB / 0.6324 GB, free: 348 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.5398, allocations: 43.95 kB / 0.6324 GB, free: 304 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/0.5399, allocations: 19.98 kB / 0.6324 GB, free: 284 kB / 462.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.0001648/0.5401, allocations: 145.7 kB / 0.6326 GB, free: 128 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.723e-05/0.5402, allocations: 11.91 kB / 0.6326 GB, free: 116 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008628/0.541, allocations: 388.4 kB / 0.633 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.5411, allocations: 8 kB / 0.633 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.5411, allocations: 0 / 0.633 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.5411, allocations: 7.938 kB / 0.633 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006419/0.5417, allocations: 375 kB / 0.6333 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5417, allocations: 0 / 0.6333 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000434/0.5422, allocations: 63.89 kB / 0.6334 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.5422, allocations: 0 / 0.6334 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.5422, allocations: 12 kB / 0.6334 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.5422, allocations: 0 / 0.6334 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5422, allocations: 0 / 0.6334 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009387/0.5432, allocations: 0.5847 MB / 0.634 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.48e-05/0.5433, allocations: 88.95 kB / 0.6341 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.5433, allocations: 8.062 kB / 0.6341 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.5437, allocations: 19.89 kB / 0.6341 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.5438, allocations: 23.97 kB / 0.6341 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/0.5438, allocations: 15.98 kB / 0.6341 GB, free: 14.45 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.074e-05/0.5439, allocations: 91.27 kB / 0.6342 GB, free: 14.36 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5439, allocations: 0 / 0.6342 GB, free: 14.36 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009055/0.5448, allocations: 247.8 kB / 0.6344 GB, free: 14.12 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.001301/0.5461, allocations: 463.1 kB / 0.6349 GB, free: 13.66 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006547/0.5468, allocations: 315.7 kB / 0.6352 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5468, allocations: 0.625 kB / 0.6352 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000291/0.5471, allocations: 158.1 kB / 0.6353 GB, free: 13.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007035/0.5478, allocations: 83.91 kB / 0.6354 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.5492, allocations: 0.9522 MB / 0.6363 GB, free: 12.12 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.5495, allocations: 0.7442 MB / 0.6371 GB, free: 11.35 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.5497, allocations: 43.41 kB / 0.6371 GB, free: 11.31 MB / 478.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5497, allocations: 0 / 0.6371 GB, free: 11.31 MB / 478.1 MB Notification: Performance of Templates: time 0.01103/0.5608, allocations: 6.739 MB / 0.6437 GB, free: 4.582 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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