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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008374/0.0008374, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001163/0.002, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0006983/0.0006983, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009467/0.001645, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.089/1.089, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1031/1.192, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2705/0.2705, allocations: 34.89 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04484/0.3153, allocations: 13.24 MB / 292.8 MB, free: 6.387 MB / 282.7 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 294.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.246e-05, allocations: 8.344 kB / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1618/0.1618, allocations: 145.6 MB / 439.7 MB, free: 2.887 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2308/0.3926, allocations: 3.313 MB / 443.1 MB, free: 3.637 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.3928, allocations: 1.594 kB / 443.1 MB, free: 3.637 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.3931, allocations: 54.11 kB / 443.1 MB, free: 3.637 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002731/0.3958, allocations: 1.086 MB / 444.2 MB, free: 3.629 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.3962, allocations: 201.8 kB / 444.4 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004181/0.3967, allocations: 372 kB / 444.8 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.247e-05/0.3967, allocations: 12.69 kB / 444.8 MB, free: 3.621 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003375/0.397, allocations: 220 kB / 445 MB, free: 3.621 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.3972, allocations: 103.6 kB / 445.1 MB, free: 3.621 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.3973, allocations: 10.38 kB / 445.1 MB, free: 3.621 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002822/0.4001, allocations: 1.377 MB / 446.5 MB, free: 3.602 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.4002, allocations: 69.67 kB / 446.5 MB, free: 3.602 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.4004, allocations: 66.64 kB / 446.6 MB, free: 3.602 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.4021, allocations: 0.8785 MB / 447.5 MB, free: 3.559 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.215e-05/0.4021, allocations: 0 / 447.5 MB, free: 3.559 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4021, allocations: 2.328 kB / 447.5 MB, free: 3.559 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.4021, allocations: 0 / 447.5 MB, free: 3.559 MB / 426.7 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.0014/0.4035, allocations: 0.5691 MB / 448 MB, free: 19.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.4036, allocations: 9.094 kB / 448.1 MB, free: 19.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009748/0.4045, allocations: 336.3 kB / 448.4 MB, free: 19.12 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.4048, allocations: 184.3 kB / 448.6 MB, free: 18.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.4048, allocations: 12.19 kB / 448.6 MB, free: 18.99 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.4049, allocations: 24.44 kB / 448.6 MB, free: 18.99 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.4052, allocations: 449.2 kB / 449 MB, free: 18.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.4052, allocations: 2.062 kB / 449 MB, free: 18.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.4052, allocations: 13.42 kB / 449.1 MB, free: 18.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-05/0.4053, allocations: 9.625 kB / 449.1 MB, free: 18.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.4055, allocations: 156.8 kB / 449.2 MB, free: 18.68 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.0008791/0.4064, allocations: 0.5772 MB / 449.8 MB, free: 18.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.4066, allocations: 249.8 kB / 450 MB, free: 18.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.735e-05/0.4066, allocations: 67.84 kB / 450.1 MB, free: 18.26 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007306/0.4074, allocations: 296.8 kB / 450.4 MB, free: 18.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.4074, allocations: 45.03 kB / 450.4 MB, free: 18.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=31): time 2.335e-06/0.4074, allocations: 0.875 kB / 450.4 MB, free: 18.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005868/0.408, allocations: 256.6 kB / 450.7 MB, free: 18.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.408, allocations: 84.05 kB / 450.8 MB, free: 18.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.122e-05/0.4081, allocations: 125.7 kB / 450.9 MB, free: 17.94 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.4081, allocations: 33.02 kB / 450.9 MB, free: 17.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.4081, allocations: 114.7 kB / 451 MB, free: 17.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.4082, allocations: 119.2 kB / 451.2 MB, free: 17.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.794e-05/0.4083, allocations: 61.91 kB / 451.2 MB, free: 17.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.635e-05/0.4083, allocations: 325.4 kB / 451.5 MB, free: 17.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.364e-05/0.4084, allocations: 52.03 kB / 451.6 MB, free: 17.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.306e-05/0.4085, allocations: 128.2 kB / 451.7 MB, free: 17.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.4086, allocations: 217.5 kB / 451.9 MB, free: 17.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4086, allocations: 4 kB / 451.9 MB, free: 17.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002315/0.4089, allocations: 222.2 kB / 452.1 MB, free: 17.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.4089, allocations: 8.281 kB / 452.2 MB, free: 17.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4089, allocations: 4.312 kB / 452.2 MB, free: 17.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.4089, allocations: 3.219 kB / 452.2 MB, free: 17.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.4091, allocations: 86.05 kB / 452.2 MB, free: 17.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.4091, allocations: 12.06 kB / 452.3 MB, free: 17.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.181e-05/0.4092, allocations: 26.59 kB / 452.3 MB, free: 17.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.4092, allocations: 15 kB / 452.3 MB, free: 17.12 MB / 442.7 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 9.069e-05/0.4093, allocations: 136.9 kB / 452.4 MB, free: 17.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.544e-05/0.4094, allocations: 38.94 kB / 452.5 MB, free: 17 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.4096, allocations: 207.7 kB / 452.7 MB, free: 16.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.4097, allocations: 9.25 kB / 452.7 MB, free: 16.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.4097, allocations: 0.9688 kB / 452.7 MB, free: 16.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4097, allocations: 0 / 452.7 MB, free: 16.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.4099, allocations: 167.2 kB / 452.8 MB, free: 16.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4099, allocations: 0.875 kB / 452.8 MB, free: 16.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.4101, allocations: 67.86 kB / 452.9 MB, free: 16.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.404e-05/0.4101, allocations: 19.69 kB / 452.9 MB, free: 16.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.4101, allocations: 0 / 452.9 MB, free: 16.85 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.4101, allocations: 13.5 kB / 452.9 MB, free: 16.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4101, allocations: 0.8438 kB / 452.9 MB, free: 16.85 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4101, allocations: 3.938 kB / 452.9 MB, free: 16.85 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.4105, allocations: 0.5036 MB / 453.5 MB, free: 16.53 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.4105, allocations: 7.594 kB / 453.5 MB, free: 16.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.4107, allocations: 14.98 kB / 453.5 MB, free: 16.53 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.4107, allocations: 23.58 kB / 453.5 MB, free: 16.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.4107, allocations: 12 kB / 453.5 MB, free: 16.53 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.083e-05/0.4107, allocations: 19.12 kB / 453.5 MB, free: 16.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4107, allocations: 0.8125 kB / 453.5 MB, free: 16.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007697/0.4115, allocations: 240.9 kB / 453.8 MB, free: 16.48 MB / 442.7 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.0008531/0.4124, allocations: 452.7 kB / 454.2 MB, free: 16.37 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.4126, allocations: 171.5 kB / 454.4 MB, free: 16.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/0.4126, allocations: 8.25 kB / 454.4 MB, free: 16.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.369e-05/0.4127, allocations: 103.8 kB / 454.5 MB, free: 16.35 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.4131, allocations: 128.2 kB / 454.6 MB, free: 16.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.4156, allocations: 479.8 kB / 455.1 MB, free: 16.08 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.712e-05/0.4157, allocations: 86.66 kB / 455.2 MB, free: 16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000227/0.4159, allocations: 69.89 kB / 455.2 MB, free: 16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/0.4161, allocations: 150.4 kB / 455.4 MB, free: 15.95 MB / 442.7 MB Notification: Performance of SimCode: time 2.034e-06/0.4161, allocations: 0.9375 kB / 455.4 MB, free: 15.95 MB / 442.7 MB Notification: Performance of Templates: time 0.01166/0.4278, allocations: 10.24 MB / 465.6 MB, free: 15.05 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6121965469792485]