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.001238/0.001238, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001205/0.001205, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 246.3 MB, free: 9.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2381/0.2381, allocations: 46.1 MB / 343.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 76.66 kB / 416.8 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1578, allocations: 62.46 MB / 479.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4674/0.6253, allocations: 150.2 MB / 0.6148 GB, free: 13.67 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.6276, allocations: 1.632 MB / 0.6164 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.6277, allocations: 0 / 0.6164 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003998/0.6281, allocations: 47.78 kB / 0.6164 GB, free: 12 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.6293, allocations: 363.8 kB / 0.6168 GB, free: 11.65 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.6298, allocations: 151.6 kB / 0.6169 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.6302, allocations: 255.1 kB / 0.6172 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.6302, allocations: 11.92 kB / 0.6172 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.6304, allocations: 73.67 kB / 0.6172 GB, free: 11.17 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.6306, allocations: 63.75 kB / 0.6173 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.6306, allocations: 4 kB / 0.6173 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.632, allocations: 0.7133 MB / 0.618 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.568e-05/0.632, allocations: 27.91 kB / 0.618 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.273e-05/0.6322, allocations: 56.53 kB / 0.6181 GB, free: 10.31 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009844/0.6331, allocations: 438.9 kB / 0.6185 GB, free: 9.879 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.6332, allocations: 4 kB / 0.6185 GB, free: 9.875 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.6332, allocations: 0 / 0.6185 GB, free: 9.875 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.6332, allocations: 0 / 0.6185 GB, free: 9.875 MB / 462.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.0006717/0.6339, allocations: 431.4 kB / 0.6189 GB, free: 9.406 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.6339, allocations: 12.88 kB / 0.6189 GB, free: 9.395 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/0.6361, allocations: 196.6 kB / 0.6191 GB, free: 9.203 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.6364, allocations: 211.8 kB / 0.6193 GB, free: 8.961 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.6364, allocations: 7.938 kB / 0.6193 GB, free: 8.953 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.6365, allocations: 12 kB / 0.6193 GB, free: 8.941 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004946/0.637, allocations: 197.5 kB / 0.6195 GB, free: 8.742 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.637, allocations: 0 / 0.6195 GB, free: 8.742 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-05/0.637, allocations: 4 kB / 0.6195 GB, free: 8.738 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.6371, allocations: 4 kB / 0.6195 GB, free: 8.734 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005977/0.6377, allocations: 235.8 kB / 0.6198 GB, free: 8.504 MB / 462.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.001858/0.6395, allocations: 0.6805 MB / 0.6204 GB, free: 7.773 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004463/0.64, allocations: 186.5 kB / 0.6206 GB, free: 7.582 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.6402, allocations: 92.81 kB / 0.6207 GB, free: 7.488 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/0.6404, allocations: 89.09 kB / 0.6208 GB, free: 7.383 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.6404, allocations: 30.56 kB / 0.6208 GB, free: 7.344 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 3.347e-06/0.6404, allocations: 0 / 0.6208 GB, free: 7.344 MB / 462.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.005832/0.6463, allocations: 1.537 MB / 0.6223 GB, free: 5.699 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.6463, allocations: 63.39 kB / 0.6224 GB, free: 5.625 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.427e-05/0.6464, allocations: 109.8 kB / 0.6225 GB, free: 5.508 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/0.6465, allocations: 29.7 kB / 0.6225 GB, free: 5.473 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.6465, allocations: 96.33 kB / 0.6226 GB, free: 5.375 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.278e-05/0.6466, allocations: 71.02 kB / 0.6227 GB, free: 5.305 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.6467, allocations: 37.7 kB / 0.6227 GB, free: 5.262 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.6469, allocations: 322.8 kB / 0.623 GB, free: 4.938 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.6471, allocations: 91.95 kB / 0.6231 GB, free: 4.848 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.6473, allocations: 123.4 kB / 0.6232 GB, free: 4.715 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004697/0.6478, allocations: 230.6 kB / 0.6234 GB, free: 4.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6478, allocations: 3.938 kB / 0.6234 GB, free: 4.477 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006441/0.6485, allocations: 286.1 kB / 0.6237 GB, free: 4.188 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.6485, allocations: 4 kB / 0.6237 GB, free: 4.184 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.6485, allocations: 7.938 kB / 0.6237 GB, free: 4.176 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001337/0.6487, allocations: 20.94 kB / 0.6237 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.6492, allocations: 59.97 kB / 0.6238 GB, free: 4.094 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003936/0.6496, allocations: 0.5328 MB / 0.6243 GB, free: 3.535 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.6499, allocations: 12.02 kB / 0.6243 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.6499, allocations: 11.94 kB / 0.6243 GB, free: 3.512 MB / 462.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.0001443/0.6501, allocations: 129.9 kB / 0.6245 GB, free: 3.375 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.527e-05/0.6502, allocations: 11.84 kB / 0.6245 GB, free: 3.363 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007907/0.651, allocations: 310.3 kB / 0.6248 GB, free: 3.051 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.651, allocations: 3.938 kB / 0.6248 GB, free: 3.047 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.651, allocations: 0 / 0.6248 GB, free: 3.047 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.651, allocations: 7.984 kB / 0.6248 GB, free: 3.039 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.6522, allocations: 0.6718 MB / 0.6254 GB, free: 2.301 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6522, allocations: 0 / 0.6254 GB, free: 2.301 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004532/0.6527, allocations: 51.89 kB / 0.6255 GB, free: 2.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.6528, allocations: 24.84 kB / 0.6255 GB, free: 2.223 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.6528, allocations: 0 / 0.6255 GB, free: 2.223 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009173/0.6538, allocations: 1.271 MB / 0.6267 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.6538, allocations: 8.016 kB / 0.6268 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008897/0.6547, allocations: 450.7 kB / 0.6272 GB, free: 352 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.6547, allocations: 85.05 kB / 0.6273 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.6548, allocations: 15.92 kB / 0.6273 GB, free: 232 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.6551, allocations: 4.062 kB / 0.6273 GB, free: 228 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.6552, allocations: 23.97 kB / 0.6273 GB, free: 204 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.6552, allocations: 8 kB / 0.6273 GB, free: 196 kB / 462.1 MB Notification: Performance of sorting global known variables: time 7.052e-05/0.6553, allocations: 91.27 kB / 0.6274 GB, free: 104 kB / 462.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6553, allocations: 0 / 0.6274 GB, free: 104 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006574/0.656, allocations: 139.9 kB / 0.6275 GB, free: 15.96 MB / 478.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.0007873/0.6567, allocations: 258.9 kB / 0.6278 GB, free: 15.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006579/0.6574, allocations: 231.9 kB / 0.628 GB, free: 15.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6574, allocations: 4 kB / 0.628 GB, free: 15.47 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004203/0.6579, allocations: 236.8 kB / 0.6282 GB, free: 15.23 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.6584, allocations: 56.02 kB / 0.6283 GB, free: 15.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.6595, allocations: 0.508 MB / 0.6288 GB, free: 14.64 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.6599, allocations: 0.7088 MB / 0.6295 GB, free: 13.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004487/0.6604, allocations: 49.39 kB / 0.6295 GB, free: 13.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.6605, allocations: 23.42 kB / 0.6295 GB, free: 13.83 MB / 478.1 MB Notification: Performance of SimCode: time 3.71e-07/0.6605, allocations: 3.938 kB / 0.6295 GB, free: 13.83 MB / 478.1 MB Notification: Performance of Templates: time 0.0115/0.672, allocations: 6.037 MB / 0.6354 GB, free: 7.805 MB / 478.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches