Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009129/0.0009132, allocations: 98.47 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 177.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 223.3 MB / 241.9 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2167/0.2167, allocations: 44.26 MB / 337.3 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003345, allocations: 10.03 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.151, allocations: 61.94 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5495/0.7006, allocations: 135.9 MB / 0.5933 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004381/0.705, allocations: 2.918 MB / 0.5962 GB, free: 8.309 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.949e-05/0.7052, allocations: 0 / 0.5962 GB, free: 8.309 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.7055, allocations: 43.78 kB / 0.5962 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002353/0.7079, allocations: 0.7076 MB / 0.5969 GB, free: 7.555 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005156/0.7084, allocations: 164.4 kB / 0.597 GB, free: 7.398 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006038/0.709, allocations: 406.5 kB / 0.5974 GB, free: 7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.277e-05/0.7091, allocations: 17.06 kB / 0.5975 GB, free: 6.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003481/0.7095, allocations: 139.5 kB / 0.5976 GB, free: 6.844 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.7097, allocations: 115.6 kB / 0.5977 GB, free: 6.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/0.7098, allocations: 8 kB / 0.5977 GB, free: 6.723 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.7123, allocations: 1.064 MB / 0.5987 GB, free: 5.656 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.7124, allocations: 75.81 kB / 0.5988 GB, free: 5.582 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.16e-05/0.7125, allocations: 61.64 kB / 0.5989 GB, free: 5.516 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.7135, allocations: 0.5983 MB / 0.5995 GB, free: 4.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.7135, allocations: 0 / 0.5995 GB, free: 4.918 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.7135, allocations: 0 / 0.5995 GB, free: 4.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.7136, allocations: 4 kB / 0.5995 GB, free: 4.914 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008734/0.7144, allocations: 0.4998 MB / 0.5999 GB, free: 4.367 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.7145, allocations: 12.03 kB / 0.6 GB, free: 4.355 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00342/0.7179, allocations: 375.3 kB / 0.6003 GB, free: 3.988 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.7183, allocations: 262.8 kB / 0.6006 GB, free: 3.691 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.7184, allocations: 16.36 kB / 0.6006 GB, free: 3.676 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.986e-05/0.7184, allocations: 27.89 kB / 0.6006 GB, free: 3.648 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009664/0.7194, allocations: 473.6 kB / 0.6011 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.7194, allocations: 7.922 kB / 0.6011 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.792e-05/0.7195, allocations: 12 kB / 0.6011 GB, free: 3.156 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.7195, allocations: 4 kB / 0.6011 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.7205, allocations: 0.5057 MB / 0.6016 GB, free: 2.648 MB / 430.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.002198/0.7227, allocations: 0.9853 MB / 0.6025 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005765/0.7233, allocations: 289 kB / 0.6028 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.7236, allocations: 149.7 kB / 0.603 GB, free: 1.156 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001738/0.7254, allocations: 0.9879 MB / 0.6039 GB, free: 4 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.7254, allocations: 38.5 kB / 0.604 GB, free: 15.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.693e-06/0.7254, allocations: 0 / 0.604 GB, free: 15.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009516/0.7264, allocations: 409.8 kB / 0.6044 GB, free: 15.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.7265, allocations: 77.11 kB / 0.6044 GB, free: 15.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.562e-05/0.7266, allocations: 113.8 kB / 0.6045 GB, free: 15.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.7266, allocations: 33.7 kB / 0.6046 GB, free: 15.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.389e-05/0.7267, allocations: 112.4 kB / 0.6047 GB, free: 15.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.115e-05/0.7268, allocations: 106.5 kB / 0.6048 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.7268, allocations: 4 kB / 0.6048 GB, free: 15.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.7269, allocations: 330.8 kB / 0.6051 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.7272, allocations: 112.6 kB / 0.6052 GB, free: 14.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.7275, allocations: 199.5 kB / 0.6054 GB, free: 14.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.7278, allocations: 143.7 kB / 0.6055 GB, free: 14.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7278, allocations: 4 kB / 0.6055 GB, free: 14.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007031/0.7285, allocations: 372 kB / 0.6059 GB, free: 13.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.7286, allocations: 8 kB / 0.6059 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.7286, allocations: 4.625 kB / 0.6059 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.114e-05/0.7287, allocations: 8.812 kB / 0.6059 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/0.7291, allocations: 76.2 kB / 0.606 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.7291, allocations: 15.92 kB / 0.606 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.7294, allocations: 31.69 kB / 0.606 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.203e-05/0.7295, allocations: 23.98 kB / 0.606 GB, free: 13.73 MB / 446.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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.7296, allocations: 130.3 kB / 0.6062 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.493e-05/0.7297, allocations: 19.86 kB / 0.6062 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008211/0.7305, allocations: 378.5 kB / 0.6066 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.7306, allocations: 4 kB / 0.6066 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.7306, allocations: 3.5 kB / 0.6066 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.7306, allocations: 7.984 kB / 0.6066 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006591/0.7312, allocations: 345.4 kB / 0.6069 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.7313, allocations: 3.953 kB / 0.6069 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004129/0.7317, allocations: 63.89 kB / 0.607 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.7317, allocations: 4 kB / 0.607 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.7318, allocations: 12 kB / 0.607 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.7318, allocations: 3.984 kB / 0.607 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.7318, allocations: 0 / 0.607 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009325/0.7327, allocations: 0.5505 MB / 0.6075 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.7328, allocations: 104.8 kB / 0.6076 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.7328, allocations: 8.062 kB / 0.6076 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.7332, allocations: 23.92 kB / 0.6076 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.7333, allocations: 19.91 kB / 0.6077 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.7333, allocations: 19.98 kB / 0.6077 GB, free: 11.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.794e-05/0.7334, allocations: 83.28 kB / 0.6078 GB, free: 11.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7334, allocations: 0 / 0.6078 GB, free: 11.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007921/0.7342, allocations: 223.8 kB / 0.608 GB, free: 11.65 MB / 446.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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000976/0.7351, allocations: 362.8 kB / 0.6083 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006102/0.7358, allocations: 291.7 kB / 0.6086 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.7358, allocations: 4 kB / 0.6086 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.736, allocations: 149.8 kB / 0.6088 GB, free: 10.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006175/0.7367, allocations: 78.22 kB / 0.6088 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.738, allocations: 0.9019 MB / 0.6097 GB, free: 9.844 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.7384, allocations: 0.7364 MB / 0.6104 GB, free: 9.078 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005155/0.7389, allocations: 89.98 kB / 0.6105 GB, free: 8.992 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.739, allocations: 31.42 kB / 0.6105 GB, free: 8.965 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.739, allocations: 4 kB / 0.6105 GB, free: 8.961 MB / 446.1 MB Notification: Performance of Templates: time 0.01359/0.7526, allocations: 7.883 MB / 0.6182 GB, free: 1.125 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches