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.001097/0.001097, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001144/0.001144, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2832/0.2832, allocations: 46.1 MB / 344.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 79.22 kB / 417.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1395, allocations: 62.45 MB / 480 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4879/0.6274, allocations: 152.4 MB / 0.6176 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.6293, allocations: 1.595 MB / 0.6192 GB, free: 9.383 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.6294, allocations: 0 / 0.6192 GB, free: 9.383 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.6297, allocations: 53.84 kB / 0.6192 GB, free: 9.332 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009357/0.6307, allocations: 410.8 kB / 0.6196 GB, free: 8.938 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.6312, allocations: 163.5 kB / 0.6198 GB, free: 8.777 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.6315, allocations: 183.3 kB / 0.62 GB, free: 8.598 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.6315, allocations: 11.94 kB / 0.62 GB, free: 8.586 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.6317, allocations: 77.61 kB / 0.6201 GB, free: 8.512 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.6318, allocations: 63.8 kB / 0.6201 GB, free: 8.449 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.6318, allocations: 4 kB / 0.6201 GB, free: 8.445 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.6329, allocations: 0.5963 MB / 0.6207 GB, free: 7.848 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.633, allocations: 31.89 kB / 0.6207 GB, free: 7.816 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.801e-05/0.6331, allocations: 47.8 kB / 0.6208 GB, free: 7.77 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006209/0.6337, allocations: 407 kB / 0.6212 GB, free: 7.371 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6338, allocations: 4 kB / 0.6212 GB, free: 7.367 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6338, allocations: 4 kB / 0.6212 GB, free: 7.363 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.6338, allocations: 0 / 0.6212 GB, free: 7.363 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.0005701/0.6343, allocations: 427.4 kB / 0.6216 GB, free: 6.898 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.6344, allocations: 16.02 kB / 0.6216 GB, free: 6.883 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002404/0.6368, allocations: 188.6 kB / 0.6218 GB, free: 6.699 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.6371, allocations: 212.9 kB / 0.622 GB, free: 6.453 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.6371, allocations: 15.94 kB / 0.622 GB, free: 6.438 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.6372, allocations: 8 kB / 0.622 GB, free: 6.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.6377, allocations: 197.5 kB / 0.6222 GB, free: 6.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.6377, allocations: 0 / 0.6222 GB, free: 6.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.6377, allocations: 0 / 0.6222 GB, free: 6.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.6377, allocations: 4 kB / 0.6222 GB, free: 6.227 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006091/0.6384, allocations: 239.8 kB / 0.6224 GB, free: 5.992 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.001827/0.6402, allocations: 0.6755 MB / 0.6231 GB, free: 5.266 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004908/0.6407, allocations: 190.5 kB / 0.6233 GB, free: 5.07 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.6409, allocations: 96.81 kB / 0.6234 GB, free: 4.973 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001766/0.6411, allocations: 89.09 kB / 0.6234 GB, free: 4.867 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.6412, allocations: 38.55 kB / 0.6235 GB, free: 4.82 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.6412, allocations: 0 / 0.6235 GB, free: 4.82 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.006206/0.6474, allocations: 1.528 MB / 0.625 GB, free: 3.184 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.6475, allocations: 59.41 kB / 0.625 GB, free: 3.113 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.836e-05/0.6476, allocations: 109.8 kB / 0.6251 GB, free: 2.996 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.6476, allocations: 29.7 kB / 0.6252 GB, free: 2.961 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.059e-05/0.6477, allocations: 100.3 kB / 0.6253 GB, free: 2.859 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.896e-05/0.6477, allocations: 67.03 kB / 0.6253 GB, free: 2.793 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.6478, allocations: 45.69 kB / 0.6254 GB, free: 2.742 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.648, allocations: 314.8 kB / 0.6257 GB, free: 2.426 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.6482, allocations: 99.94 kB / 0.6258 GB, free: 2.328 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.6485, allocations: 119.4 kB / 0.6259 GB, free: 2.199 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004833/0.649, allocations: 234.6 kB / 0.6261 GB, free: 1.961 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.649, allocations: 3.938 kB / 0.6261 GB, free: 1.957 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006497/0.6496, allocations: 286.1 kB / 0.6264 GB, free: 1.672 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.6497, allocations: 4 kB / 0.6264 GB, free: 1.668 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.6497, allocations: 7.938 kB / 0.6264 GB, free: 1.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.6498, allocations: 32.88 kB / 0.6264 GB, free: 1.625 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000485/0.6503, allocations: 51.95 kB / 0.6265 GB, free: 1.574 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003637/0.6507, allocations: 0.5328 MB / 0.627 GB, free: 1.016 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.651, allocations: 12.03 kB / 0.627 GB, free: 1.004 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.6511, allocations: 11.92 kB / 0.627 GB, free: 0.9922 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.0001303/0.6512, allocations: 125.9 kB / 0.6271 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.796e-05/0.6513, allocations: 7.906 kB / 0.6271 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007783/0.652, allocations: 315.1 kB / 0.6274 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.6521, allocations: 3.938 kB / 0.6274 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.6521, allocations: 0 / 0.6274 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.6521, allocations: 4 kB / 0.6274 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.6532, allocations: 0.6719 MB / 0.6281 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.6532, allocations: 0 / 0.6281 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000473/0.6537, allocations: 51.89 kB / 0.6281 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.987e-05/0.6538, allocations: 20.84 kB / 0.6282 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.6538, allocations: 11.98 kB / 0.6282 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009384/0.6548, allocations: 1.368 MB / 0.6295 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6548, allocations: 160 / 0.6295 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008682/0.6557, allocations: 456.8 kB / 0.6299 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.6557, allocations: 89.08 kB / 0.63 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.6558, allocations: 0 / 0.63 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/0.6561, allocations: 11.98 kB / 0.63 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.6562, allocations: 15.98 kB / 0.6301 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/0.6562, allocations: 13.17 kB / 0.6301 GB, free: 13.57 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.352e-05/0.6563, allocations: 91.27 kB / 0.6302 GB, free: 13.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6563, allocations: 0 / 0.6302 GB, free: 13.48 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005402/0.6568, allocations: 127.9 kB / 0.6303 GB, free: 13.36 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.0007088/0.6575, allocations: 274.7 kB / 0.6305 GB, free: 13.08 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000672/0.6582, allocations: 243.6 kB / 0.6308 GB, free: 12.84 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6582, allocations: 0 / 0.6308 GB, free: 12.84 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004108/0.6587, allocations: 228.9 kB / 0.631 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.6591, allocations: 55.75 kB / 0.631 GB, free: 12.56 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009103/0.6601, allocations: 486.5 kB / 0.6315 GB, free: 12.05 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.6604, allocations: 0.7123 MB / 0.6322 GB, free: 11.31 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004033/0.6608, allocations: 49.39 kB / 0.6323 GB, free: 11.27 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.6609, allocations: 27.42 kB / 0.6323 GB, free: 11.24 MB / 478.1 MB Notification: Performance of SimCode: time 2.4e-07/0.6609, allocations: 0 / 0.6323 GB, free: 11.24 MB / 478.1 MB Notification: Performance of Templates: time 0.01051/0.6714, allocations: 6.19 MB / 0.6383 GB, free: 5.062 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