Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008587/0.0008588, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001003/0.001003, allocations: 205.5 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.109/1.109, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1593/0.1593, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002126/0.0002126, allocations: 8.281 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08474/0.08496, allocations: 63.56 MB / 483.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2881/0.3731, allocations: 148.7 MB / 0.6169 GB, free: 156 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003416/0.3765, allocations: 3.299 MB / 0.6201 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.032e-05/0.3766, allocations: 0 / 0.6201 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.3769, allocations: 47.78 kB / 0.6202 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001946/0.3789, allocations: 0.9908 MB / 0.6212 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.3793, allocations: 179.1 kB / 0.6213 GB, free: 11.65 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004843/0.3798, allocations: 0.5063 MB / 0.6218 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.3798, allocations: 21.09 kB / 0.6218 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.3801, allocations: 143.5 kB / 0.622 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.3803, allocations: 123.6 kB / 0.6221 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.3803, allocations: 11.98 kB / 0.6221 GB, free: 10.85 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/0.3828, allocations: 1.812 MB / 0.6239 GB, free: 9.031 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.933e-05/0.3829, allocations: 79.77 kB / 0.624 GB, free: 8.953 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.383, allocations: 125.3 kB / 0.6241 GB, free: 8.824 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.3845, allocations: 1.146 MB / 0.6252 GB, free: 7.676 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.3845, allocations: 0 / 0.6252 GB, free: 7.676 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3845, allocations: 4 kB / 0.6252 GB, free: 7.672 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.3845, allocations: 0 / 0.6252 GB, free: 7.672 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007184/0.3852, allocations: 0.5054 MB / 0.6257 GB, free: 7.121 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.3853, allocations: 12.03 kB / 0.6257 GB, free: 7.109 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003471/0.3888, allocations: 377.2 kB / 0.6261 GB, free: 6.742 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.3891, allocations: 268.2 kB / 0.6263 GB, free: 6.441 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.3891, allocations: 20.31 kB / 0.6263 GB, free: 6.422 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.491e-05/0.3892, allocations: 20 kB / 0.6264 GB, free: 6.402 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008785/0.39, allocations: 499.9 kB / 0.6268 GB, free: 5.902 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.3901, allocations: 0 / 0.6268 GB, free: 5.902 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.68e-05/0.3901, allocations: 8 kB / 0.6268 GB, free: 5.895 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.3902, allocations: 16.86 kB / 0.6269 GB, free: 5.879 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009316/0.3911, allocations: 0.5178 MB / 0.6274 GB, free: 5.363 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.002003/0.3931, allocations: 1.001 MB / 0.6283 GB, free: 4.309 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005321/0.3936, allocations: 304.9 kB / 0.6286 GB, free: 3.992 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.3939, allocations: 167.5 kB / 0.6288 GB, free: 3.828 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001517/0.3954, allocations: 0.9725 MB / 0.6297 GB, free: 2.691 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.3955, allocations: 38.56 kB / 0.6298 GB, free: 2.645 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 1.453e-06/0.3955, allocations: 0 / 0.6298 GB, free: 2.645 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.000844/0.3963, allocations: 425.3 kB / 0.6302 GB, free: 2.227 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.3964, allocations: 85.05 kB / 0.6303 GB, free: 2.125 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.07e-05/0.3965, allocations: 117.8 kB / 0.6304 GB, free: 2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.3965, allocations: 33.7 kB / 0.6304 GB, free: 1.961 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.3966, allocations: 116.3 kB / 0.6305 GB, free: 1.84 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.251e-05/0.3967, allocations: 114.4 kB / 0.6306 GB, free: 1.727 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.3967, allocations: 33.7 kB / 0.6307 GB, free: 1.688 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.3968, allocations: 322.8 kB / 0.631 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.397, allocations: 124.3 kB / 0.6311 GB, free: 1.242 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.3973, allocations: 202.9 kB / 0.6313 GB, free: 1.008 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005059/0.3978, allocations: 352.6 kB / 0.6316 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.3978, allocations: 3.938 kB / 0.6316 GB, free: 0.625 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006561/0.3985, allocations: 397.2 kB / 0.632 GB, free: 236 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3985, allocations: 4 kB / 0.632 GB, free: 232 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.3985, allocations: 4 kB / 0.632 GB, free: 228 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3985, allocations: 4 kB / 0.632 GB, free: 224 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.3989, allocations: 75.89 kB / 0.6321 GB, free: 148 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.399, allocations: 7.938 kB / 0.6321 GB, free: 140 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/0.3993, allocations: 35.67 kB / 0.6321 GB, free: 104 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.3993, allocations: 28.11 kB / 0.6322 GB, free: 76 kB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (40): * Single equations (assignments): 39 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.3994, allocations: 141.7 kB / 0.6323 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.506e-05/0.3995, allocations: 11.91 kB / 0.6323 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007088/0.4003, allocations: 384.2 kB / 0.6327 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.4003, allocations: 4 kB / 0.6327 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4003, allocations: 0 / 0.6327 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4003, allocations: 4 kB / 0.6327 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005264/0.4008, allocations: 381.1 kB / 0.633 GB, free: 15.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4008, allocations: 0 / 0.633 GB, free: 15.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.4012, allocations: 63.89 kB / 0.6331 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4012, allocations: 0 / 0.6331 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.4013, allocations: 8 kB / 0.6331 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.4013, allocations: 4 kB / 0.6331 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.4013, allocations: 0 / 0.6331 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008058/0.4021, allocations: 0.5731 MB / 0.6337 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.4021, allocations: 92.95 kB / 0.6338 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.4022, allocations: 4.062 kB / 0.6338 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.4026, allocations: 23.83 kB / 0.6338 GB, free: 14.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.4026, allocations: 22.78 kB / 0.6338 GB, free: 14.28 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.4027, allocations: 23.98 kB / 0.6338 GB, free: 14.26 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.053e-05/0.4027, allocations: 91.27 kB / 0.6339 GB, free: 14.17 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4027, allocations: 0 / 0.6339 GB, free: 14.17 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007051/0.4034, allocations: 243.8 kB / 0.6341 GB, free: 13.93 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009995/0.4044, allocations: 454.5 kB / 0.6346 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005449/0.405, allocations: 315.2 kB / 0.6349 GB, free: 13.17 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.405, allocations: 0 / 0.6349 GB, free: 13.17 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.4052, allocations: 164.3 kB / 0.635 GB, free: 13.01 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006366/0.4059, allocations: 85.77 kB / 0.6351 GB, free: 12.93 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.407, allocations: 0.9236 MB / 0.636 GB, free: 11.97 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.4073, allocations: 0.7442 MB / 0.6367 GB, free: 11.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004398/0.4077, allocations: 85.81 kB / 0.6368 GB, free: 11.12 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.4078, allocations: 31.42 kB / 0.6369 GB, free: 11.09 MB / 478.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4078, allocations: 3.938 kB / 0.6369 GB, free: 11.09 MB / 478.1 MB Notification: Performance of Templates: time 0.01183/0.4197, allocations: 8.475 MB / 0.6451 GB, free: 2.668 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches