Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 110.8 kB / 17.03 MB, free: 5.66 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.001765/0.001765, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.491/1.491, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2117/0.2117, allocations: 43.52 MB / 314.7 MB, free: 464 kB / 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.001404/0.001404, allocations: 70.5 kB / 384.2 MB, free: 56.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08912/0.09053, allocations: 57.8 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3229/0.4134, allocations: 150.8 MB / 0.5789 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.415, allocations: 1.485 MB / 0.5804 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/0.4151, allocations: 0 / 0.5804 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.4154, allocations: 58.58 kB / 0.5804 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007838/0.4162, allocations: 380.4 kB / 0.5808 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.4167, allocations: 173.8 kB / 0.5809 GB, free: 12.37 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.4169, allocations: 184.5 kB / 0.5811 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.417, allocations: 5.25 kB / 0.5811 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.4171, allocations: 76.16 kB / 0.5812 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.4173, allocations: 59.05 kB / 0.5812 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.4173, allocations: 9.094 kB / 0.5813 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008552/0.4181, allocations: 0.5761 MB / 0.5818 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.35e-05/0.4182, allocations: 36.2 kB / 0.5819 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.985e-05/0.4183, allocations: 46.27 kB / 0.5819 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004998/0.4188, allocations: 381.8 kB / 0.5823 GB, free: 12.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4188, allocations: 0 / 0.5823 GB, free: 12.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4188, allocations: 0 / 0.5823 GB, free: 12.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.4188, allocations: 0 / 0.5823 GB, free: 12.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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004942/0.4193, allocations: 437.3 kB / 0.5827 GB, free: 11.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.4193, allocations: 18.3 kB / 0.5827 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002059/0.4214, allocations: 186.1 kB / 0.5829 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.4217, allocations: 215.5 kB / 0.5831 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.4217, allocations: 12.66 kB / 0.5831 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/0.4217, allocations: 7.844 kB / 0.5831 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004251/0.4222, allocations: 201.2 kB / 0.5833 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.4222, allocations: 0 / 0.5833 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.4222, allocations: 6.094 kB / 0.5833 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.4222, allocations: 8.891 kB / 0.5833 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005163/0.4228, allocations: 243 kB / 0.5835 GB, free: 11.54 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.001594/0.4244, allocations: 0.673 MB / 0.5842 GB, free: 11.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.4248, allocations: 187.6 kB / 0.5844 GB, free: 11.13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.425, allocations: 89.7 kB / 0.5845 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000168/0.4251, allocations: 92.05 kB / 0.5845 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.4252, allocations: 37.84 kB / 0.5846 GB, free: 10.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.4252, allocations: 0 / 0.5846 GB, free: 10.98 MB / 430.1 MB 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.005256/0.4304, allocations: 1.528 MB / 0.5861 GB, free: 10.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.4305, allocations: 58.08 kB / 0.5861 GB, free: 10.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.916e-05/0.4306, allocations: 117.3 kB / 0.5862 GB, free: 10.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.4306, allocations: 31.89 kB / 0.5863 GB, free: 10.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.4307, allocations: 98.02 kB / 0.5864 GB, free: 9.961 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.4307, allocations: 65.16 kB / 0.5864 GB, free: 9.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-05/0.4308, allocations: 42.92 kB / 0.5865 GB, free: 9.891 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.431, allocations: 324.9 kB / 0.5868 GB, free: 9.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.4312, allocations: 92.64 kB / 0.5869 GB, free: 9.559 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.4314, allocations: 125.5 kB / 0.587 GB, free: 9.512 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/0.4318, allocations: 221.2 kB / 0.5872 GB, free: 9.461 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4318, allocations: 0 / 0.5872 GB, free: 9.461 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005761/0.4324, allocations: 287.7 kB / 0.5875 GB, free: 9.379 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.4324, allocations: 5.219 kB / 0.5875 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.4325, allocations: 6.688 kB / 0.5875 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001227/0.4326, allocations: 26.44 kB / 0.5875 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.433, allocations: 49.97 kB / 0.5876 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003401/0.4334, allocations: 0.5367 MB / 0.5881 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.4337, allocations: 17.61 kB / 0.5881 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.4337, allocations: 4.875 kB / 0.5881 GB, free: 8.816 MB / 430.1 MB 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.0001353/0.4339, allocations: 135.3 kB / 0.5882 GB, free: 8.691 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.4339, allocations: 16.44 kB / 0.5882 GB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007124/0.4346, allocations: 317.6 kB / 0.5885 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4347, allocations: 2.531 kB / 0.5886 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4347, allocations: 3.938 kB / 0.5886 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.4347, allocations: 5.172 kB / 0.5886 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.4358, allocations: 0.6737 MB / 0.5892 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4358, allocations: 3.938 kB / 0.5892 GB, free: 8.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004387/0.4362, allocations: 56.7 kB / 0.5893 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.952e-05/0.4363, allocations: 16.59 kB / 0.5893 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.4363, allocations: 8.781 kB / 0.5893 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009705/0.4373, allocations: 1.371 MB / 0.5906 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.4373, allocations: 0.8125 kB / 0.5906 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007885/0.4381, allocations: 455 kB / 0.5911 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.4382, allocations: 91.44 kB / 0.5912 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.4382, allocations: 4.938 kB / 0.5912 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.4386, allocations: 9.688 kB / 0.5912 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.4386, allocations: 14.66 kB / 0.5912 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.4386, allocations: 14.86 kB / 0.5912 GB, free: 6.363 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.923e-05/0.4387, allocations: 86.94 kB / 0.5913 GB, free: 6.289 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4387, allocations: 0 / 0.5913 GB, free: 6.289 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005171/0.4392, allocations: 130.9 kB / 0.5914 GB, free: 6.266 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006329/0.4399, allocations: 264.2 kB / 0.5917 GB, free: 6.105 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005658/0.4404, allocations: 229.2 kB / 0.5919 GB, free: 6.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4405, allocations: 3.938 kB / 0.5919 GB, free: 6.066 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004084/0.4409, allocations: 232.5 kB / 0.5921 GB, free: 5.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.4413, allocations: 55.08 kB / 0.5922 GB, free: 5.906 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008566/0.4422, allocations: 483 kB / 0.5926 GB, free: 5.578 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.4425, allocations: 0.7058 MB / 0.5933 GB, free: 4.871 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002739/0.4427, allocations: 56.12 kB / 0.5934 GB, free: 4.832 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.4429, allocations: 23.61 kB / 0.5934 GB, free: 4.82 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4429, allocations: 0 / 0.5934 GB, free: 4.82 MB / 430.1 MB Notification: Performance of Templates: time 0.009563/0.4524, allocations: 6.221 MB / 0.5995 GB, free: 1.637 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches