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.001106/0.001106, allocations: 114.9 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001305, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2126/0.2126, allocations: 46.1 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 75.88 kB / 482 MB, free: 4.121 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2998, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1629/0.4627, allocations: 152.8 MB / 0.6809 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004103/0.4668, allocations: 3.247 MB / 0.684 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.467, allocations: 0 / 0.684 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003513/0.4674, allocations: 63.58 kB / 0.6841 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002757/0.4702, allocations: 1.069 MB / 0.6851 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005113/0.4707, allocations: 206.5 kB / 0.6853 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004604/0.4712, allocations: 358.7 kB / 0.6857 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.4713, allocations: 9.125 kB / 0.6857 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003077/0.4716, allocations: 171.4 kB / 0.6858 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.4718, allocations: 115.6 kB / 0.686 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/0.4719, allocations: 12 kB / 0.686 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/0.4747, allocations: 1.523 MB / 0.6875 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.4748, allocations: 83.77 kB / 0.6875 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.475, allocations: 107.6 kB / 0.6876 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.4768, allocations: 1.011 MB / 0.6886 GB, free: 436 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4768, allocations: 0 / 0.6886 GB, free: 436 kB / 0.5294 GB Notification: Performance of FrontEnd: time 2.635e-06/0.4768, allocations: 0 / 0.6886 GB, free: 436 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.4768, allocations: 3.938 kB / 0.6886 GB, free: 432 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.00103/0.4779, allocations: 0.554 MB / 0.6892 GB, free: 15.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.4779, allocations: 8.031 kB / 0.6892 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/0.4794, allocations: 208.5 kB / 0.6894 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.4798, allocations: 251.8 kB / 0.6896 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.4798, allocations: 16.31 kB / 0.6896 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.975e-05/0.4799, allocations: 20 kB / 0.6896 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005787/0.4805, allocations: 388.1 kB / 0.69 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.4805, allocations: 0 / 0.69 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.66e-05/0.4805, allocations: 15.98 kB / 0.69 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.4806, allocations: 8 kB / 0.69 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005702/0.4811, allocations: 420.4 kB / 0.6904 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.001655/0.4828, allocations: 0.8259 MB / 0.6912 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/0.4832, allocations: 228.4 kB / 0.6915 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.4834, allocations: 125.7 kB / 0.6916 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001796/0.4852, allocations: 0.9803 MB / 0.6925 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.4852, allocations: 34.56 kB / 0.6926 GB, free: 12.03 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.014e-06/0.4852, allocations: 0 / 0.6926 GB, free: 12.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001165/0.4864, allocations: 383.8 kB / 0.6929 GB, free: 11.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.4864, allocations: 85.11 kB / 0.693 GB, free: 11.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.847e-05/0.4865, allocations: 113.8 kB / 0.6931 GB, free: 11.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.4866, allocations: 29.7 kB / 0.6932 GB, free: 11.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.4866, allocations: 120.3 kB / 0.6933 GB, free: 11.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.764e-05/0.4867, allocations: 114.4 kB / 0.6934 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-05/0.4868, allocations: 62.02 kB / 0.6934 GB, free: 11.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.4869, allocations: 326.8 kB / 0.6938 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.4871, allocations: 104 kB / 0.6939 GB, free: 10.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.4874, allocations: 190.8 kB / 0.694 GB, free: 10.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004833/0.4879, allocations: 312.3 kB / 0.6943 GB, free: 10.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4879, allocations: 0 / 0.6943 GB, free: 10.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000627/0.4885, allocations: 361.1 kB / 0.6947 GB, free: 9.742 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4886, allocations: 4 kB / 0.6947 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.4886, allocations: 7.938 kB / 0.6947 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.4886, allocations: 8 kB / 0.6947 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.489, allocations: 79.83 kB / 0.6948 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.489, allocations: 4.312 kB / 0.6948 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.4892, allocations: 31.69 kB / 0.6948 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/0.4893, allocations: 19.98 kB / 0.6948 GB, free: 9.59 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.0001343/0.4894, allocations: 141.7 kB / 0.695 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.4895, allocations: 15.91 kB / 0.695 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006508/0.4902, allocations: 336 kB / 0.6953 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.4902, allocations: 4 kB / 0.6953 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.4902, allocations: 0 / 0.6953 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.4903, allocations: 96.8 kB / 0.6954 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/0.4903, allocations: 11.98 kB / 0.6954 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.4906, allocations: 15.94 kB / 0.6954 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.4907, allocations: 27.95 kB / 0.6954 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000731/0.4914, allocations: 419.8 kB / 0.6958 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000766/0.4922, allocations: 0.5759 MB / 0.6964 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001837/0.4924, allocations: 96 kB / 0.6965 GB, free: 7.816 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.321e-05/0.4925, allocations: 91.2 kB / 0.6966 GB, free: 7.727 MB / 0.545 GB Notification: Performance of Backend: time 5.71e-07/0.4925, allocations: 0 / 0.6966 GB, free: 7.727 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001746/0.4942, allocations: 0.6135 MB / 0.6972 GB, free: 7.109 MB / 0.545 GB Notification: Performance of SimCode: time 0.001163/0.4954, allocations: 1.145 MB / 0.6983 GB, free: 5.91 MB / 0.545 GB Notification: Performance of Templates: time 0.01372/0.5091, allocations: 8.961 MB / 0.7071 GB, free: 12.96 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/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