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.001173/0.001173, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2441/0.2441, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 79.81 kB / 481.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4195, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2017/0.6212, allocations: 152.8 MB / 0.6802 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004477/0.6258, allocations: 3.243 MB / 0.6834 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.626, allocations: 0 / 0.6834 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004312/0.6264, allocations: 63.64 kB / 0.6834 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002824/0.6293, allocations: 1.077 MB / 0.6845 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005464/0.6298, allocations: 190.6 kB / 0.6847 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004714/0.6303, allocations: 366.7 kB / 0.685 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.863e-05/0.6304, allocations: 9.125 kB / 0.685 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.6307, allocations: 167.4 kB / 0.6852 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.6309, allocations: 107.6 kB / 0.6853 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.6309, allocations: 12 kB / 0.6853 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/0.6338, allocations: 1.535 MB / 0.6868 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.6339, allocations: 75.77 kB / 0.6869 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.6341, allocations: 119.6 kB / 0.687 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.6355, allocations: 1.011 MB / 0.688 GB, free: 420 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6356, allocations: 0 / 0.688 GB, free: 420 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6356, allocations: 0 / 0.688 GB, free: 420 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.6356, allocations: 0 / 0.688 GB, free: 420 kB / 0.5294 GB 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.0009407/0.6365, allocations: 0.55 MB / 0.6885 GB, free: 15.81 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.6366, allocations: 8.031 kB / 0.6885 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.6379, allocations: 216.4 kB / 0.6887 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.6383, allocations: 251.8 kB / 0.689 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.6384, allocations: 12.38 kB / 0.689 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.632e-05/0.6384, allocations: 20 kB / 0.689 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005978/0.639, allocations: 388.1 kB / 0.6894 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.639, allocations: 0 / 0.6894 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.001e-05/0.6391, allocations: 8 kB / 0.6894 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/0.6391, allocations: 8 kB / 0.6894 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005725/0.6397, allocations: 428.3 kB / 0.6898 GB, free: 14.46 MB / 0.545 GB 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.001719/0.6414, allocations: 0.8222 MB / 0.6906 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003871/0.6418, allocations: 229 kB / 0.6908 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.642, allocations: 125.7 kB / 0.6909 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001769/0.6438, allocations: 0.9723 MB / 0.6919 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.6438, allocations: 38.81 kB / 0.6919 GB, free: 12.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.014e-06/0.6438, allocations: 0 / 0.6919 GB, free: 12.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001197/0.645, allocations: 383.3 kB / 0.6923 GB, free: 11.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.6451, allocations: 81.11 kB / 0.6923 GB, free: 11.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.915e-05/0.6452, allocations: 113.8 kB / 0.6925 GB, free: 11.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.6453, allocations: 33.7 kB / 0.6925 GB, free: 11.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/0.6453, allocations: 116.3 kB / 0.6926 GB, free: 11.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.701e-05/0.6454, allocations: 110.3 kB / 0.6927 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.6455, allocations: 66.02 kB / 0.6928 GB, free: 11.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6457, allocations: 326.8 kB / 0.6931 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.6459, allocations: 112 kB / 0.6932 GB, free: 10.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.6461, allocations: 186.9 kB / 0.6934 GB, free: 10.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004805/0.6466, allocations: 320.4 kB / 0.6937 GB, free: 10.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6466, allocations: 0 / 0.6937 GB, free: 10.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006093/0.6473, allocations: 352.8 kB / 0.694 GB, free: 9.738 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.6473, allocations: 12.03 kB / 0.694 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6473, allocations: 0 / 0.694 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.6473, allocations: 8 kB / 0.694 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.6477, allocations: 71.89 kB / 0.6941 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.6477, allocations: 8 kB / 0.6941 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.6479, allocations: 27.69 kB / 0.6941 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.6479, allocations: 19.98 kB / 0.6941 GB, free: 9.594 MB / 0.545 GB 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.0001405/0.6481, allocations: 141.7 kB / 0.6943 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.303e-05/0.6482, allocations: 11.91 kB / 0.6943 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000655/0.6489, allocations: 352.6 kB / 0.6946 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.6489, allocations: 8 kB / 0.6946 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6489, allocations: 0 / 0.6946 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.6489, allocations: 0 / 0.6946 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005689/0.6495, allocations: 350.9 kB / 0.695 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6495, allocations: 0 / 0.695 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.6498, allocations: 51.91 kB / 0.695 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.6498, allocations: 7.984 kB / 0.695 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.6499, allocations: 11.94 kB / 0.695 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.6499, allocations: 0 / 0.695 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6499, allocations: 0 / 0.695 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007694/0.6507, allocations: 0.5297 MB / 0.6956 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.6507, allocations: 88.95 kB / 0.6956 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.6508, allocations: 8.062 kB / 0.6956 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/0.6511, allocations: 11.98 kB / 0.6957 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.6511, allocations: 19.97 kB / 0.6957 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.6512, allocations: 23.92 kB / 0.6957 GB, free: 7.895 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.063e-05/0.6512, allocations: 95.2 kB / 0.6958 GB, free: 7.801 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6512, allocations: 0 / 0.6958 GB, free: 7.801 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009153/0.6522, allocations: 231.8 kB / 0.696 GB, free: 7.574 MB / 0.545 GB 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.001055/0.6532, allocations: 446.6 kB / 0.6964 GB, free: 7.129 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000548/0.6538, allocations: 271.7 kB / 0.6967 GB, free: 6.863 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6538, allocations: 0 / 0.6967 GB, free: 6.863 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.654, allocations: 131.8 kB / 0.6968 GB, free: 6.734 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006676/0.6547, allocations: 95 kB / 0.6969 GB, free: 6.645 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.656, allocations: 0.7457 MB / 0.6976 GB, free: 5.867 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.6563, allocations: 0.7324 MB / 0.6984 GB, free: 5.109 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002922/0.6566, allocations: 77.77 kB / 0.6984 GB, free: 5.035 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.6567, allocations: 35.42 kB / 0.6985 GB, free: 5 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.6567, allocations: 7.938 kB / 0.6985 GB, free: 4.992 MB / 0.545 GB Notification: Performance of Templates: time 0.01456/0.6713, allocations: 8.609 MB / 0.7069 GB, free: 12.42 MB / 0.5606 GB 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/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_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches