Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001708/0.001708, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.002275/0.002275, allocations: 189.4 kB / 17.19 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2247/0.2247, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 68.92 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1393, allocations: 57.79 MB / 440.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5817/0.721, allocations: 151.2 MB / 0.5778 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003928/0.725, allocations: 3.036 MB / 0.5808 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.7252, allocations: 0 / 0.5808 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004581/0.7257, allocations: 61.84 kB / 0.5808 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002815/0.7286, allocations: 1.008 MB / 0.5818 GB, free: 11.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005759/0.7292, allocations: 201.4 kB / 0.582 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000527/0.7297, allocations: 353.8 kB / 0.5824 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.553e-05/0.7298, allocations: 12.23 kB / 0.5824 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.73, allocations: 148.5 kB / 0.5825 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.7303, allocations: 107.4 kB / 0.5826 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.7303, allocations: 14.06 kB / 0.5826 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002987/0.7333, allocations: 1.493 MB / 0.5841 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.7334, allocations: 78.03 kB / 0.5842 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.7336, allocations: 103.2 kB / 0.5843 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.7352, allocations: 0.9825 MB / 0.5852 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.7352, allocations: 0 / 0.5852 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.7352, allocations: 0 / 0.5852 GB, free: 11.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.7353, allocations: 0 / 0.5852 GB, free: 11.2 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.0009612/0.7362, allocations: 0.5482 MB / 0.5858 GB, free: 10.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.7363, allocations: 7 kB / 0.5858 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003918/0.7402, allocations: 382.6 kB / 0.5861 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.7406, allocations: 260 kB / 0.5864 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.7406, allocations: 19.45 kB / 0.5864 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-05/0.7407, allocations: 27.58 kB / 0.5864 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009781/0.7417, allocations: 493.7 kB / 0.5869 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.7417, allocations: 0 / 0.5869 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.185e-05/0.7418, allocations: 10.03 kB / 0.5869 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.7418, allocations: 4.812 kB / 0.5869 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.7428, allocations: 0.5226 MB / 0.5874 GB, free: 10.06 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.002551/0.7454, allocations: 0.9851 MB / 0.5884 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006959/0.7461, allocations: 297.7 kB / 0.5887 GB, free: 9.367 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.7464, allocations: 155.1 kB / 0.5888 GB, free: 9.328 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002048/0.7485, allocations: 0.8946 MB / 0.5897 GB, free: 8.496 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/0.7486, allocations: 37.28 kB / 0.5897 GB, free: 8.457 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 2.545e-06/0.7486, allocations: 0 / 0.5897 GB, free: 8.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=29): time 0.001142/0.7497, allocations: 401.1 kB / 0.5901 GB, free: 8.371 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/0.7498, allocations: 83.92 kB / 0.5902 GB, free: 8.273 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.75, allocations: 110.9 kB / 0.5903 GB, free: 8.168 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.892e-05/0.75, allocations: 35.36 kB / 0.5903 GB, free: 8.137 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.7501, allocations: 108.3 kB / 0.5904 GB, free: 8.031 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.7503, allocations: 107.3 kB / 0.5905 GB, free: 7.953 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.7504, allocations: 64.36 kB / 0.5906 GB, free: 7.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.7506, allocations: 324.4 kB / 0.5909 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.7509, allocations: 115.7 kB / 0.591 GB, free: 7.594 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003241/0.7512, allocations: 206.2 kB / 0.5912 GB, free: 7.473 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006225/0.7518, allocations: 345.3 kB / 0.5915 GB, free: 7.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.7519, allocations: 5.344 kB / 0.5915 GB, free: 7.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007533/0.7526, allocations: 380.1 kB / 0.5919 GB, free: 7.246 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.7527, allocations: 5 kB / 0.5919 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.7527, allocations: 6.688 kB / 0.5919 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.7527, allocations: 8.891 kB / 0.5919 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/0.7531, allocations: 69.78 kB / 0.592 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/0.7532, allocations: 8.578 kB / 0.592 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.7535, allocations: 26.31 kB / 0.592 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.7535, allocations: 22.77 kB / 0.592 GB, free: 7.207 MB / 430.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001815/0.7537, allocations: 141.2 kB / 0.5922 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.7538, allocations: 22.22 kB / 0.5922 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008018/0.7547, allocations: 375.9 kB / 0.5926 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.7547, allocations: 1.812 kB / 0.5926 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.7547, allocations: 6.812 kB / 0.5926 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.7547, allocations: 3.984 kB / 0.5926 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006191/0.7553, allocations: 366.6 kB / 0.5929 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.7553, allocations: 4 kB / 0.5929 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/0.7558, allocations: 61.86 kB / 0.593 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.7558, allocations: 2.531 kB / 0.593 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.685e-05/0.7558, allocations: 8 kB / 0.593 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.7558, allocations: 3.344 kB / 0.593 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.7558, allocations: 0 / 0.593 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009455/0.7568, allocations: 0.554 MB / 0.5935 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.11e-05/0.7569, allocations: 97.16 kB / 0.5936 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.7569, allocations: 6.906 kB / 0.5936 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/0.7573, allocations: 14.73 kB / 0.5936 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.7574, allocations: 17.27 kB / 0.5937 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/0.7574, allocations: 17.52 kB / 0.5937 GB, free: 6.258 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.195e-05/0.7575, allocations: 91.23 kB / 0.5938 GB, free: 6.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7575, allocations: 0 / 0.5938 GB, free: 6.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001039/0.7586, allocations: 233.6 kB / 0.594 GB, free: 6.137 MB / 430.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 (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.001459/0.76, allocations: 425.5 kB / 0.5944 GB, free: 5.922 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006813/0.7607, allocations: 309.1 kB / 0.5947 GB, free: 5.867 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.7607, allocations: 0 / 0.5947 GB, free: 5.867 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002716/0.761, allocations: 147.5 kB / 0.5948 GB, free: 5.844 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00069/0.7617, allocations: 88.25 kB / 0.5949 GB, free: 5.809 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.7631, allocations: 0.7329 MB / 0.5956 GB, free: 5.297 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.7634, allocations: 0.7318 MB / 0.5963 GB, free: 4.582 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005227/0.764, allocations: 90.98 kB / 0.5964 GB, free: 4.523 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.7641, allocations: 31.39 kB / 0.5965 GB, free: 4.516 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.7641, allocations: 0 / 0.5965 GB, free: 4.516 MB / 430.1 MB Notification: Performance of Templates: time 0.01719/0.7813, allocations: 8.36 MB / 0.6046 GB, free: 308 kB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches