Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001312, allocations: 115.6 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001567/0.001567, allocations: 204 kB / 19.41 MB, free: 3.652 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.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2068/0.2068, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 71.89 kB / 482 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3095, allocations: 62.43 MB / 0.5316 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1634/0.473, allocations: 152.4 MB / 0.6805 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.4748, allocations: 1.604 MB / 0.6821 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.024e-05/0.4748, allocations: 0 / 0.6821 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.4751, allocations: 43.73 kB / 0.6821 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00095/0.4761, allocations: 406.1 kB / 0.6825 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000547/0.4767, allocations: 182.4 kB / 0.6827 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.477, allocations: 183.2 kB / 0.6829 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.477, allocations: 4 kB / 0.6829 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.4772, allocations: 83.69 kB / 0.6829 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.4773, allocations: 55.77 kB / 0.683 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.4774, allocations: 8 kB / 0.683 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.4784, allocations: 0.5963 MB / 0.6836 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.521e-05/0.4785, allocations: 31.91 kB / 0.6836 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.296e-05/0.4785, allocations: 59.72 kB / 0.6837 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005745/0.4791, allocations: 400.8 kB / 0.6841 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4791, allocations: 0 / 0.6841 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.093e-06/0.4791, allocations: 0 / 0.6841 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.4791, allocations: 0 / 0.6841 GB, free: 5.117 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005196/0.4797, allocations: 435.3 kB / 0.6845 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.4797, allocations: 12.03 kB / 0.6845 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002195/0.4819, allocations: 196.6 kB / 0.6847 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.4822, allocations: 207.8 kB / 0.6849 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.4822, allocations: 8 kB / 0.6849 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-05/0.4822, allocations: 8 kB / 0.6849 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004803/0.4827, allocations: 208.6 kB / 0.6851 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4827, allocations: 4 kB / 0.6851 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.4828, allocations: 8 kB / 0.6851 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4828, allocations: 3.938 kB / 0.6851 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005668/0.4834, allocations: 235.8 kB / 0.6853 GB, free: 3.73 MB / 0.5294 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.001699/0.4851, allocations: 0.6667 MB / 0.686 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.4855, allocations: 182.4 kB / 0.6861 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.4857, allocations: 92.81 kB / 0.6862 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.4859, allocations: 93.09 kB / 0.6863 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.4859, allocations: 30.56 kB / 0.6864 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.893e-06/0.4859, allocations: 11.94 kB / 0.6864 GB, free: 2.566 MB / 0.5294 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005659/0.4916, allocations: 1.542 MB / 0.6879 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.4916, allocations: 51.41 kB / 0.6879 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.317e-05/0.4917, allocations: 113.8 kB / 0.688 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.4918, allocations: 25.7 kB / 0.6881 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.4918, allocations: 100.3 kB / 0.6882 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.593e-05/0.4919, allocations: 63.09 kB / 0.6882 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.408e-05/0.492, allocations: 49.61 kB / 0.6883 GB, free: 492 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.4921, allocations: 326.8 kB / 0.6886 GB, free: 156 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.4924, allocations: 91.89 kB / 0.6887 GB, free: 64 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.4926, allocations: 122.6 kB / 0.6888 GB, free: 15.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/0.4931, allocations: 230.8 kB / 0.689 GB, free: 15.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.4931, allocations: 8 kB / 0.689 GB, free: 15.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006161/0.4937, allocations: 274.2 kB / 0.6893 GB, free: 15.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.4938, allocations: 8 kB / 0.6893 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4938, allocations: 4.094 kB / 0.6893 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001426/0.4939, allocations: 28.83 kB / 0.6893 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/0.4944, allocations: 55.84 kB / 0.6894 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004064/0.4948, allocations: 0.5329 MB / 0.6899 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.4951, allocations: 16.05 kB / 0.6899 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.4952, allocations: 12 kB / 0.6899 GB, free: 14.73 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.4953, allocations: 121.8 kB / 0.69 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.799e-05/0.4954, allocations: 11.91 kB / 0.69 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007339/0.4961, allocations: 315.4 kB / 0.6903 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.4961, allocations: 7.922 kB / 0.6903 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4962, allocations: 0 / 0.6903 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.4962, allocations: 88.95 kB / 0.6904 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.4962, allocations: 4 kB / 0.6904 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/0.4966, allocations: 12 kB / 0.6904 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.4966, allocations: 11.97 kB / 0.6905 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001017/0.4976, allocations: 328.3 kB / 0.6908 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007822/0.4984, allocations: 462.4 kB / 0.6912 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002099/0.4987, allocations: 82.88 kB / 0.6913 GB, free: 13.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.158e-05/0.4987, allocations: 91.27 kB / 0.6914 GB, free: 13.16 MB / 0.545 GB Notification: Performance of Backend: time 4.81e-07/0.4987, allocations: 0 / 0.6914 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001367/0.5001, allocations: 441.9 kB / 0.6918 GB, free: 12.72 MB / 0.545 GB Notification: Performance of SimCode: time 0.0008985/0.501, allocations: 0.8569 MB / 0.6926 GB, free: 11.82 MB / 0.545 GB Notification: Performance of Templates: time 0.01163/0.5127, allocations: 7.975 MB / 0.7004 GB, free: 3.836 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches