Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_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.001271/0.001271, allocations: 110 kB / 18.45 MB, free: 4.602 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.001255/0.001255, allocations: 182.3 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.192/0.192, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 59.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3329, allocations: 60.83 MB / 0.5195 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.156/0.4889, allocations: 149.6 MB / 0.6656 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002265/0.4912, allocations: 1.596 MB / 0.6672 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.533e-05/0.4914, allocations: 0 / 0.6672 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003762/0.4917, allocations: 51.72 kB / 0.6672 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.4929, allocations: 402.1 kB / 0.6676 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005794/0.4935, allocations: 171.4 kB / 0.6678 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.4938, allocations: 179.3 kB / 0.6679 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.271e-05/0.4939, allocations: 7.938 kB / 0.668 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.4941, allocations: 79.69 kB / 0.668 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.4942, allocations: 59.77 kB / 0.6681 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.4943, allocations: 4 kB / 0.6681 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.4954, allocations: 0.6041 MB / 0.6687 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.869e-05/0.4955, allocations: 23.97 kB / 0.6687 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.718e-05/0.4956, allocations: 51.78 kB / 0.6688 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007227/0.4963, allocations: 400.8 kB / 0.6691 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4963, allocations: 4 kB / 0.6691 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.42e-07/0.4963, allocations: 0 / 0.6691 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.4963, allocations: 0 / 0.6691 GB, free: 2.312 MB / 0.5137 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.0006274/0.497, allocations: 427.4 kB / 0.6695 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.497, allocations: 12.03 kB / 0.6696 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002304/0.4993, allocations: 192.6 kB / 0.6697 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.4996, allocations: 219.7 kB / 0.67 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.4997, allocations: 4 kB / 0.67 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.4997, allocations: 8 kB / 0.67 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.5002, allocations: 199.6 kB / 0.6702 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5002, allocations: 4 kB / 0.6702 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.5003, allocations: 8 kB / 0.6702 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.5003, allocations: 7.875 kB / 0.6702 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005458/0.5008, allocations: 235.8 kB / 0.6704 GB, free: 0.9336 MB / 0.5137 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.001714/0.5025, allocations: 0.6556 MB / 0.671 GB, free: 224 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004571/0.503, allocations: 186.4 kB / 0.6712 GB, free: 28 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.5032, allocations: 92.89 kB / 0.6713 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.5034, allocations: 93.34 kB / 0.6714 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.5034, allocations: 34.5 kB / 0.6714 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.5034, allocations: 4 kB / 0.6714 GB, free: 15.77 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.005737/0.5092, allocations: 1.545 MB / 0.6729 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.5092, allocations: 55.41 kB / 0.673 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.216e-05/0.5093, allocations: 113.8 kB / 0.6731 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.5094, allocations: 29.7 kB / 0.6731 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.5094, allocations: 100.2 kB / 0.6732 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.5095, allocations: 63.11 kB / 0.6733 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.785e-05/0.5096, allocations: 45.69 kB / 0.6733 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.5097, allocations: 326.8 kB / 0.6736 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.5099, allocations: 91.81 kB / 0.6737 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.5101, allocations: 123 kB / 0.6738 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004586/0.5106, allocations: 229.9 kB / 0.6741 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5106, allocations: 0 / 0.6741 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005907/0.5112, allocations: 286.1 kB / 0.6743 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5112, allocations: 6.656 kB / 0.6743 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.5113, allocations: 4.094 kB / 0.6743 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001204/0.5114, allocations: 24.84 kB / 0.6744 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004545/0.5118, allocations: 59.89 kB / 0.6744 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003308/0.5122, allocations: 0.529 MB / 0.6749 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.5125, allocations: 12.06 kB / 0.675 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.5125, allocations: 15.98 kB / 0.675 GB, free: 11.93 MB / 0.5294 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.0001189/0.5127, allocations: 125.8 kB / 0.6751 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.778e-05/0.5127, allocations: 7.906 kB / 0.6751 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000728/0.5135, allocations: 317.3 kB / 0.6754 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5135, allocations: 4 kB / 0.6754 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.5135, allocations: 3.938 kB / 0.6754 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5135, allocations: 0 / 0.6754 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.5146, allocations: 0.6835 MB / 0.6761 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.5146, allocations: 3.938 kB / 0.6761 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004402/0.5151, allocations: 47.91 kB / 0.6761 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-05/0.5151, allocations: 20.84 kB / 0.6761 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.5152, allocations: 7.984 kB / 0.6762 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008949/0.5161, allocations: 1.371 MB / 0.6775 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5161, allocations: 8.188 kB / 0.6775 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008011/0.5169, allocations: 446.6 kB / 0.6779 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.517, allocations: 88.95 kB / 0.678 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.517, allocations: 8 kB / 0.678 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/0.5173, allocations: 11.98 kB / 0.678 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.5174, allocations: 11.98 kB / 0.678 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.5174, allocations: 11.98 kB / 0.6781 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.536e-05/0.5175, allocations: 91.27 kB / 0.6781 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.442e-06/0.5175, allocations: 0 / 0.6781 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004989/0.518, allocations: 131.9 kB / 0.6783 GB, free: 8.277 MB / 0.5294 GB 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.0007027/0.5187, allocations: 255 kB / 0.6785 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005958/0.5193, allocations: 238.8 kB / 0.6787 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5193, allocations: 0 / 0.6787 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003849/0.5197, allocations: 234.6 kB / 0.679 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.5202, allocations: 52.86 kB / 0.679 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008454/0.521, allocations: 0.4991 MB / 0.6795 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.5213, allocations: 0.7085 MB / 0.6802 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.5215, allocations: 23.42 kB / 0.6802 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of SimCode: time 2.044e-06/0.5215, allocations: 0 / 0.6802 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of Templates: time 0.007944/0.5294, allocations: 5.099 MB / 0.6852 GB, free: 1.102 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches