Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001836/0.001836, allocations: 179.7 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008031/0.0008032, allocations: 99.78 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3404/0.3404, allocations: 43.57 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003687, allocations: 12 kB / 431.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1136, allocations: 58.85 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3967/0.5104, allocations: 136.8 MB / 0.6124 GB, free: 14.21 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.5128, allocations: 1.381 MB / 0.6137 GB, free: 12.84 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.513, allocations: 0 / 0.6137 GB, free: 12.84 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003663/0.5133, allocations: 43.8 kB / 0.6138 GB, free: 12.8 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.5145, allocations: 269.9 kB / 0.614 GB, free: 12.54 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000574/0.5151, allocations: 126.4 kB / 0.6141 GB, free: 12.42 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003978/0.5155, allocations: 215.1 kB / 0.6143 GB, free: 12.21 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.467e-05/0.5156, allocations: 14.89 kB / 0.6144 GB, free: 12.2 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.5158, allocations: 65.08 kB / 0.6144 GB, free: 12.13 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.5161, allocations: 63.75 kB / 0.6145 GB, free: 12.07 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.5161, allocations: 8 kB / 0.6145 GB, free: 12.06 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.5173, allocations: 431.2 kB / 0.6149 GB, free: 11.64 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.5174, allocations: 27.94 kB / 0.6149 GB, free: 11.61 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.629e-05/0.5175, allocations: 45.64 kB / 0.615 GB, free: 11.56 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006757/0.5181, allocations: 257.1 kB / 0.6152 GB, free: 11.31 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.5182, allocations: 0 / 0.6152 GB, free: 11.31 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5182, allocations: 0 / 0.6152 GB, free: 11.31 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.5182, allocations: 4 kB / 0.6152 GB, free: 11.31 MB / 442.7 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.0007601/0.519, allocations: 414.9 kB / 0.6156 GB, free: 10.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.519, allocations: 8.031 kB / 0.6156 GB, free: 10.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/0.5212, allocations: 191.6 kB / 0.6158 GB, free: 10.67 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.5216, allocations: 202.9 kB / 0.616 GB, free: 10.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.5216, allocations: 6.906 kB / 0.616 GB, free: 10.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-05/0.5217, allocations: 8 kB / 0.616 GB, free: 10.42 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005613/0.5222, allocations: 211 kB / 0.6162 GB, free: 10.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.5222, allocations: 0 / 0.6162 GB, free: 10.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.5223, allocations: 1.031 kB / 0.6162 GB, free: 10.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.5223, allocations: 4 kB / 0.6162 GB, free: 10.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005906/0.5229, allocations: 240.4 kB / 0.6164 GB, free: 9.969 MB / 442.7 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.001857/0.5248, allocations: 0.6749 MB / 0.6171 GB, free: 9.262 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/0.5252, allocations: 182.5 kB / 0.6173 GB, free: 9.074 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.5254, allocations: 92.81 kB / 0.6174 GB, free: 8.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001826/0.5256, allocations: 93.09 kB / 0.6175 GB, free: 8.871 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.5257, allocations: 34.56 kB / 0.6175 GB, free: 8.828 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 2.605e-06/0.5257, allocations: 0 / 0.6175 GB, free: 8.828 MB / 442.7 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.005917/0.5316, allocations: 1.539 MB / 0.619 GB, free: 7.184 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.5317, allocations: 51.41 kB / 0.619 GB, free: 7.121 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.5318, allocations: 114.5 kB / 0.6191 GB, free: 7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.5318, allocations: 29.7 kB / 0.6192 GB, free: 6.965 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.944e-05/0.5319, allocations: 100.3 kB / 0.6193 GB, free: 6.863 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.871e-05/0.532, allocations: 70.98 kB / 0.6193 GB, free: 6.793 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.5321, allocations: 4 kB / 0.6193 GB, free: 6.789 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.5323, allocations: 330.8 kB / 0.6197 GB, free: 6.457 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.5325, allocations: 87.95 kB / 0.6197 GB, free: 6.371 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.5328, allocations: 120.8 kB / 0.6199 GB, free: 6.242 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.533, allocations: 100.7 kB / 0.62 GB, free: 6.145 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.533, allocations: 0 / 0.62 GB, free: 6.145 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006665/0.5337, allocations: 286.1 kB / 0.6202 GB, free: 5.859 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.5337, allocations: 4 kB / 0.6202 GB, free: 5.855 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.5337, allocations: 0 / 0.6202 GB, free: 5.855 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.5339, allocations: 24.84 kB / 0.6203 GB, free: 5.828 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.5344, allocations: 60.05 kB / 0.6203 GB, free: 5.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004283/0.5349, allocations: 0.5328 MB / 0.6208 GB, free: 5.211 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.5352, allocations: 13.8 kB / 0.6208 GB, free: 5.199 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.5352, allocations: 12 kB / 0.6209 GB, free: 5.188 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.5354, allocations: 137.8 kB / 0.621 GB, free: 5.043 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.026e-05/0.5355, allocations: 7.906 kB / 0.621 GB, free: 5.035 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008367/0.5363, allocations: 319.4 kB / 0.6213 GB, free: 4.715 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.5363, allocations: 3.938 kB / 0.6213 GB, free: 4.711 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.5363, allocations: 3.953 kB / 0.6213 GB, free: 4.707 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.5364, allocations: 0 / 0.6213 GB, free: 4.707 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.5377, allocations: 0.6718 MB / 0.622 GB, free: 3.969 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5377, allocations: 3.938 kB / 0.622 GB, free: 3.965 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004644/0.5381, allocations: 51.89 kB / 0.622 GB, free: 3.914 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.53e-05/0.5382, allocations: 20.84 kB / 0.622 GB, free: 3.891 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.5383, allocations: 13.05 kB / 0.622 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.5393, allocations: 1.266 MB / 0.6233 GB, free: 2.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.5393, allocations: 8.016 kB / 0.6233 GB, free: 2.473 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008492/0.5402, allocations: 454.5 kB / 0.6237 GB, free: 2.004 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/0.5403, allocations: 88.98 kB / 0.6238 GB, free: 1.898 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.5403, allocations: 8 kB / 0.6238 GB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.5407, allocations: 16.05 kB / 0.6238 GB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.5407, allocations: 15.97 kB / 0.6238 GB, free: 1.859 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.5408, allocations: 19.94 kB / 0.6239 GB, free: 1.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.514e-05/0.5408, allocations: 79.28 kB / 0.6239 GB, free: 1.762 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5408, allocations: 0 / 0.6239 GB, free: 1.762 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005614/0.5414, allocations: 127.9 kB / 0.6241 GB, free: 1.637 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007048/0.5421, allocations: 243 kB / 0.6243 GB, free: 1.391 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006246/0.5427, allocations: 221.2 kB / 0.6245 GB, free: 1.176 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5428, allocations: 8.125 kB / 0.6245 GB, free: 1.168 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000415/0.5432, allocations: 234.4 kB / 0.6247 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.5437, allocations: 47.95 kB / 0.6248 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009834/0.5447, allocations: 0.5859 MB / 0.6254 GB, free: 264 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.545, allocations: 0.7166 MB / 0.6261 GB, free: 15.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.5452, allocations: 23.42 kB / 0.6261 GB, free: 15.49 MB / 458.7 MB Notification: Performance of SimCode: time 4e-07/0.5452, allocations: 0 / 0.6261 GB, free: 15.49 MB / 458.7 MB Notification: Performance of Templates: time 0.009913/0.5551, allocations: 5.065 MB / 0.631 GB, free: 10.44 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches