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.001033/0.001033, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008843/0.0008843, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2483/0.2483, allocations: 46.18 MB / 345.2 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002733/0.0002734, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1431, allocations: 63.56 MB / 483.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4972/0.6404, allocations: 148.3 MB / 0.6166 GB, free: 272 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.6429, allocations: 1.608 MB / 0.6182 GB, free: 14.67 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.965e-05/0.643, allocations: 3.938 kB / 0.6182 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003915/0.6434, allocations: 49.91 kB / 0.6183 GB, free: 14.62 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.6446, allocations: 366.2 kB / 0.6186 GB, free: 14.26 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007016/0.6453, allocations: 154.8 kB / 0.6187 GB, free: 14.11 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004962/0.6458, allocations: 251.1 kB / 0.619 GB, free: 13.87 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.852e-05/0.6459, allocations: 10.61 kB / 0.619 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002744/0.6462, allocations: 73.67 kB / 0.6191 GB, free: 13.79 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.6465, allocations: 59.75 kB / 0.6191 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.6465, allocations: 4 kB / 0.6191 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.6481, allocations: 0.7133 MB / 0.6198 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.6483, allocations: 31.89 kB / 0.6199 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.6484, allocations: 73.5 kB / 0.6199 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.6495, allocations: 442.9 kB / 0.6203 GB, free: 12.47 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.6495, allocations: 0 / 0.6203 GB, free: 12.47 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.6495, allocations: 4 kB / 0.6204 GB, free: 12.46 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.6495, allocations: 0 / 0.6204 GB, free: 12.46 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.0007992/0.6503, allocations: 407.4 kB / 0.6207 GB, free: 12.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.6504, allocations: 8.875 kB / 0.6207 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/0.6529, allocations: 196.6 kB / 0.6209 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.6532, allocations: 212.1 kB / 0.6211 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.6532, allocations: 11.94 kB / 0.6212 GB, free: 11.56 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/0.6532, allocations: 8 kB / 0.6212 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005077/0.6538, allocations: 201.1 kB / 0.6214 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.6538, allocations: 4 kB / 0.6214 GB, free: 11.35 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.6538, allocations: 4 kB / 0.6214 GB, free: 11.35 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.6538, allocations: 0 / 0.6214 GB, free: 11.35 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006112/0.6544, allocations: 243.8 kB / 0.6216 GB, free: 11.11 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.00183/0.6563, allocations: 0.6767 MB / 0.6223 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.6567, allocations: 182.5 kB / 0.6224 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.657, allocations: 96.8 kB / 0.6225 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.6572, allocations: 93.75 kB / 0.6226 GB, free: 9.984 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.6572, allocations: 34.56 kB / 0.6226 GB, free: 9.941 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.6572, allocations: 0 / 0.6226 GB, free: 9.941 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.0062/0.6634, allocations: 1.539 MB / 0.6241 GB, free: 8.293 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.6635, allocations: 55.34 kB / 0.6242 GB, free: 8.227 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.6637, allocations: 125.7 kB / 0.6243 GB, free: 8.094 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.6637, allocations: 25.7 kB / 0.6243 GB, free: 8.062 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.6638, allocations: 92.42 kB / 0.6244 GB, free: 7.969 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.664, allocations: 74.94 kB / 0.6245 GB, free: 7.895 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.664, allocations: 17.72 kB / 0.6245 GB, free: 7.871 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.6642, allocations: 322.8 kB / 0.6248 GB, free: 7.547 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.6644, allocations: 87.95 kB / 0.6249 GB, free: 7.461 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.6647, allocations: 127.4 kB / 0.625 GB, free: 7.324 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004972/0.6652, allocations: 227.2 kB / 0.6252 GB, free: 7.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6652, allocations: 0 / 0.6252 GB, free: 7.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006602/0.6658, allocations: 289.2 kB / 0.6255 GB, free: 6.801 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.6659, allocations: 4 kB / 0.6255 GB, free: 6.797 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.6659, allocations: 0 / 0.6255 GB, free: 6.797 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001418/0.666, allocations: 24.78 kB / 0.6255 GB, free: 6.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/0.6665, allocations: 59.95 kB / 0.6256 GB, free: 6.711 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004816/0.667, allocations: 0.5367 MB / 0.6261 GB, free: 6.148 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.6674, allocations: 12.02 kB / 0.6261 GB, free: 6.137 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.47e-05/0.6674, allocations: 11.94 kB / 0.6262 GB, free: 6.125 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.0001876/0.6676, allocations: 125.9 kB / 0.6263 GB, free: 5.992 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.091e-05/0.6677, allocations: 16.72 kB / 0.6263 GB, free: 5.977 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008408/0.6685, allocations: 303.2 kB / 0.6266 GB, free: 5.668 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.6685, allocations: 7.938 kB / 0.6266 GB, free: 5.66 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.6686, allocations: 7.984 kB / 0.6266 GB, free: 5.652 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.6686, allocations: 3.984 kB / 0.6266 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.6698, allocations: 0.6679 MB / 0.6273 GB, free: 4.914 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.6699, allocations: 4.094 kB / 0.6273 GB, free: 4.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004798/0.6704, allocations: 55.89 kB / 0.6273 GB, free: 4.855 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.473e-05/0.6705, allocations: 24.84 kB / 0.6273 GB, free: 4.828 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/0.6705, allocations: 15.92 kB / 0.6273 GB, free: 4.812 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.6716, allocations: 1.258 MB / 0.6286 GB, free: 3.422 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6716, allocations: 0 / 0.6286 GB, free: 3.422 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009148/0.6725, allocations: 453.3 kB / 0.629 GB, free: 2.953 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.6726, allocations: 89 kB / 0.6291 GB, free: 2.848 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.6726, allocations: 7.938 kB / 0.6291 GB, free: 2.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003561/0.673, allocations: 15.91 kB / 0.6291 GB, free: 2.824 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.6731, allocations: 20.03 kB / 0.6291 GB, free: 2.805 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.6731, allocations: 7.984 kB / 0.6291 GB, free: 2.797 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.118e-05/0.6732, allocations: 87.28 kB / 0.6292 GB, free: 2.711 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6732, allocations: 0 / 0.6292 GB, free: 2.711 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006049/0.6738, allocations: 139.9 kB / 0.6294 GB, free: 2.574 MB / 462.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.0007965/0.6746, allocations: 259 kB / 0.6296 GB, free: 2.312 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000643/0.6752, allocations: 234.1 kB / 0.6298 GB, free: 2.086 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6752, allocations: 4.188 kB / 0.6298 GB, free: 2.082 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.6757, allocations: 226.6 kB / 0.63 GB, free: 1.848 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004861/0.6762, allocations: 52.08 kB / 0.6301 GB, free: 1.797 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009793/0.6771, allocations: 0.5745 MB / 0.6307 GB, free: 1.188 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.6775, allocations: 0.7088 MB / 0.6314 GB, free: 464 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004166/0.6779, allocations: 49.94 kB / 0.6314 GB, free: 416 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.678, allocations: 23.42 kB / 0.6314 GB, free: 392 kB / 462.1 MB Notification: Performance of SimCode: time 2.8e-07/0.678, allocations: 0 / 0.6314 GB, free: 392 kB / 462.1 MB Notification: Performance of Templates: time 0.01121/0.6892, allocations: 6.036 MB / 0.6373 GB, free: 10.37 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