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.00185/0.00185, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002134/0.002134, allocations: 206.3 kB / 16.79 MB, free: 6.84 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.72/1.72, allocations: 205.1 MB / 222.6 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4839/0.4839, allocations: 43.5 MB / 313.5 MB, free: 8.582 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.001617/0.001617, allocations: 71.91 kB / 382 MB, free: 9.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1782, allocations: 57.78 MB / 439.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5129/0.6912, allocations: 149 MB / 0.575 GB, free: 7.473 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004261/0.6955, allocations: 3.131 MB / 0.578 GB, free: 4.359 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.6956, allocations: 0 / 0.578 GB, free: 4.359 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004651/0.6961, allocations: 55.72 kB / 0.5781 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002692/0.6989, allocations: 0.9229 MB / 0.579 GB, free: 3.383 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005512/0.6994, allocations: 188.7 kB / 0.5792 GB, free: 3.203 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005387/0.7, allocations: 486.5 kB / 0.5796 GB, free: 2.727 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.187e-05/0.7001, allocations: 5.125 kB / 0.5796 GB, free: 2.723 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.7003, allocations: 139.5 kB / 0.5798 GB, free: 2.586 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.7005, allocations: 119.6 kB / 0.5799 GB, free: 2.469 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.7006, allocations: 8 kB / 0.5799 GB, free: 2.461 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003167/0.7037, allocations: 1.729 MB / 0.5816 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.7039, allocations: 63.84 kB / 0.5816 GB, free: 0.668 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.704, allocations: 107.5 kB / 0.5817 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001817/0.7058, allocations: 1.1 MB / 0.5828 GB, free: 15.46 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.7058, allocations: 4 kB / 0.5828 GB, free: 15.46 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.7058, allocations: 0 / 0.5828 GB, free: 15.46 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.7059, allocations: 0 / 0.5828 GB, free: 15.46 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001073/0.7069, allocations: 0.5532 MB / 0.5834 GB, free: 14.86 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.707, allocations: 8.031 kB / 0.5834 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003775/0.7108, allocations: 382.7 kB / 0.5837 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.7112, allocations: 256.1 kB / 0.584 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.7112, allocations: 12.94 kB / 0.584 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.084e-05/0.7113, allocations: 31.84 kB / 0.584 GB, free: 14.15 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.7124, allocations: 0.4885 MB / 0.5845 GB, free: 13.65 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.7125, allocations: 0.5625 kB / 0.5845 GB, free: 13.65 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.186e-05/0.7125, allocations: 5.406 kB / 0.5845 GB, free: 13.65 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.7126, allocations: 8 kB / 0.5845 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.7137, allocations: 0.5152 MB / 0.585 GB, free: 13.12 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.002449/0.7161, allocations: 0.9751 MB / 0.586 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006229/0.7168, allocations: 293.5 kB / 0.5862 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.717, allocations: 154.7 kB / 0.5864 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001808/0.7189, allocations: 0.8947 MB / 0.5873 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.7189, allocations: 38.56 kB / 0.5873 GB, free: 10.56 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 2.174e-06/0.7189, allocations: 0 / 0.5873 GB, free: 10.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009796/0.7199, allocations: 410.6 kB / 0.5877 GB, free: 10.16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.72, allocations: 85.05 kB / 0.5878 GB, free: 10.05 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.7201, allocations: 111.4 kB / 0.5879 GB, free: 9.938 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.7201, allocations: 33.7 kB / 0.5879 GB, free: 9.898 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.851e-05/0.7202, allocations: 112.4 kB / 0.588 GB, free: 9.781 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.653e-05/0.7203, allocations: 108.8 kB / 0.5881 GB, free: 9.676 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.7205, allocations: 65.95 kB / 0.5882 GB, free: 9.605 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.7206, allocations: 326.8 kB / 0.5885 GB, free: 9.277 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.7209, allocations: 116.6 kB / 0.5886 GB, free: 9.164 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.7212, allocations: 203.5 kB / 0.5888 GB, free: 8.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006214/0.7219, allocations: 340.4 kB / 0.5891 GB, free: 8.562 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.7219, allocations: 0 / 0.5891 GB, free: 8.562 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007797/0.7227, allocations: 389.4 kB / 0.5895 GB, free: 8.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.7227, allocations: 12.3 kB / 0.5895 GB, free: 8.168 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.7227, allocations: 4 kB / 0.5895 GB, free: 8.164 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.7227, allocations: 4 kB / 0.5895 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.7232, allocations: 76.77 kB / 0.5896 GB, free: 8.086 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.7232, allocations: 7.938 kB / 0.5896 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.7235, allocations: 23.84 kB / 0.5896 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-05/0.7236, allocations: 23.98 kB / 0.5896 GB, free: 8.031 MB / 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 (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.0001657/0.7238, allocations: 137.7 kB / 0.5898 GB, free: 7.887 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.7239, allocations: 27.73 kB / 0.5898 GB, free: 7.859 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008196/0.7247, allocations: 367.9 kB / 0.5902 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.7247, allocations: 0 / 0.5902 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.7247, allocations: 7.125 kB / 0.5902 GB, free: 7.496 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.7247, allocations: 3.938 kB / 0.5902 GB, free: 7.492 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006591/0.7254, allocations: 361.5 kB / 0.5905 GB, free: 7.086 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.7254, allocations: 7.984 kB / 0.5905 GB, free: 7.078 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/0.7259, allocations: 59.91 kB / 0.5906 GB, free: 7.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.7259, allocations: 0 / 0.5906 GB, free: 7.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.7259, allocations: 11.98 kB / 0.5906 GB, free: 7.008 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.7259, allocations: 0 / 0.5906 GB, free: 7.008 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.7259, allocations: 4 kB / 0.5906 GB, free: 7.004 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009292/0.7269, allocations: 0.5575 MB / 0.5911 GB, free: 6.434 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.471e-05/0.7269, allocations: 92.86 kB / 0.5912 GB, free: 6.324 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.727, allocations: 8.062 kB / 0.5912 GB, free: 6.316 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004002/0.7274, allocations: 23.86 kB / 0.5912 GB, free: 6.293 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.7275, allocations: 19.97 kB / 0.5913 GB, free: 6.273 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.447e-05/0.7275, allocations: 15.98 kB / 0.5913 GB, free: 6.258 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.175e-05/0.7276, allocations: 91.28 kB / 0.5914 GB, free: 6.168 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7276, allocations: 0 / 0.5914 GB, free: 6.168 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00116/0.7288, allocations: 235.8 kB / 0.5916 GB, free: 5.938 MB / 462.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.001252/0.73, allocations: 426.7 kB / 0.592 GB, free: 5.512 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006924/0.7307, allocations: 303.4 kB / 0.5923 GB, free: 5.219 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.7307, allocations: 0 / 0.5923 GB, free: 5.219 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.731, allocations: 143.8 kB / 0.5924 GB, free: 5.078 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006918/0.7317, allocations: 100.1 kB / 0.5925 GB, free: 4.988 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.7332, allocations: 0.8005 MB / 0.5933 GB, free: 4.172 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.7336, allocations: 0.7365 MB / 0.594 GB, free: 3.41 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005008/0.7341, allocations: 78.78 kB / 0.5941 GB, free: 3.332 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.7342, allocations: 31.42 kB / 0.5941 GB, free: 3.305 MB / 462.1 MB Notification: Performance of SimCode: time 4.71e-07/0.7342, allocations: 0 / 0.5941 GB, free: 3.305 MB / 462.1 MB Notification: Performance of Templates: time 0.01493/0.7492, allocations: 8.167 MB / 0.6021 GB, free: 11.18 MB / 478.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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches