Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 80.2 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9704/0.9704, allocations: 158.6 MB / 185.9 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.128/0.128, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 348.1 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.786e-05, allocations: 6.25 kB / 348.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3756/0.3756, allocations: 141.4 MB / 489.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003007/0.3786, allocations: 3.055 MB / 492.6 MB, free: 9.492 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.578e-05/0.3787, allocations: 7.469 kB / 492.6 MB, free: 9.488 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004126/0.3791, allocations: 56.39 kB / 492.6 MB, free: 9.453 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.381, allocations: 1.062 MB / 493.7 MB, free: 8.918 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.3813, allocations: 199 kB / 493.9 MB, free: 8.859 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003141/0.3816, allocations: 359.9 kB / 494.2 MB, free: 8.738 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.46e-05/0.3817, allocations: 10.16 kB / 494.2 MB, free: 8.738 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.3819, allocations: 198.4 kB / 494.4 MB, free: 8.672 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.3821, allocations: 100.9 kB / 494.5 MB, free: 8.645 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.3821, allocations: 10.94 kB / 494.6 MB, free: 8.645 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.384, allocations: 1.301 MB / 495.9 MB, free: 8.195 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.3841, allocations: 85.8 kB / 495.9 MB, free: 8.164 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.374e-05/0.3842, allocations: 85 kB / 496 MB, free: 8.148 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.3852, allocations: 1 MB / 497 MB, free: 7.797 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3852, allocations: 0 / 497 MB, free: 7.797 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3852, allocations: 2.844 kB / 497 MB, free: 7.797 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3852, allocations: 0 / 497 MB, free: 7.797 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006727/0.3859, allocations: 0.573 MB / 497.6 MB, free: 7.309 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.3859, allocations: 15.16 kB / 497.6 MB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008201/0.3867, allocations: 237.4 kB / 497.8 MB, free: 7.219 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.387, allocations: 186 kB / 498 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.387, allocations: 15.91 kB / 498 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.387, allocations: 23.31 kB / 498.1 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.3874, allocations: 452 kB / 498.5 MB, free: 6.684 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.3874, allocations: 7.875 kB / 498.5 MB, free: 6.676 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.3874, allocations: 13.19 kB / 498.5 MB, free: 6.672 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3874, allocations: 5.906 kB / 498.5 MB, free: 6.672 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.3876, allocations: 176.4 kB / 498.7 MB, free: 6.625 MB / 362.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.0008867/0.3885, allocations: 0.7279 MB / 499.4 MB, free: 6.148 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.3887, allocations: 190.8 kB / 499.6 MB, free: 6.047 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.575e-05/0.3888, allocations: 79.83 kB / 499.7 MB, free: 6.012 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007021/0.3895, allocations: 315.9 kB / 0.4883 GB, free: 5.934 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.3895, allocations: 46.56 kB / 0.4883 GB, free: 5.887 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.793e-06/0.3895, allocations: 0 / 0.4883 GB, free: 5.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006296/0.3902, allocations: 288.7 kB / 0.4886 GB, free: 5.781 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.3902, allocations: 90.53 kB / 0.4887 GB, free: 5.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.304e-05/0.3902, allocations: 169.8 kB / 0.4889 GB, free: 5.512 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.3903, allocations: 35.17 kB / 0.4889 GB, free: 5.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.3903, allocations: 156.9 kB / 0.489 GB, free: 5.328 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.3904, allocations: 122.2 kB / 0.4892 GB, free: 5.242 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.3904, allocations: 63.02 kB / 0.4892 GB, free: 5.215 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.042e-05/0.3905, allocations: 0.4994 MB / 0.4897 GB, free: 4.719 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.805e-05/0.3906, allocations: 45.86 kB / 0.4897 GB, free: 4.707 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.3907, allocations: 171.8 kB / 0.4899 GB, free: 4.547 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.3909, allocations: 250.5 kB / 0.4901 GB, free: 4.379 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3909, allocations: 0 / 0.4901 GB, free: 4.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003008/0.3912, allocations: 259.2 kB / 0.4904 GB, free: 4.297 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3912, allocations: 9.719 kB / 0.4904 GB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3912, allocations: 2.344 kB / 0.4904 GB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3912, allocations: 9.875 kB / 0.4904 GB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.3914, allocations: 73.66 kB / 0.4905 GB, free: 4.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3914, allocations: 7.172 kB / 0.4905 GB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.814e-05/0.3915, allocations: 26.81 kB / 0.4905 GB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.3916, allocations: 14.72 kB / 0.4905 GB, free: 4.254 MB / 362.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 (39): * Single equations (assignments): 39 * Array equations: 0 * 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.0001041/0.3917, allocations: 180 kB / 0.4907 GB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-05/0.3917, allocations: 25.2 kB / 0.4907 GB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.392, allocations: 252.6 kB / 0.491 GB, free: 3.984 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.392, allocations: 6.969 kB / 0.491 GB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.392, allocations: 4 kB / 0.491 GB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.392, allocations: 6.203 kB / 0.491 GB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.3923, allocations: 208.4 kB / 0.4912 GB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3923, allocations: 0 / 0.4912 GB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.3925, allocations: 52.78 kB / 0.4912 GB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3925, allocations: 2.875 kB / 0.4912 GB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.3925, allocations: 5.25 kB / 0.4912 GB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3925, allocations: 3.156 kB / 0.4912 GB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3925, allocations: 3.984 kB / 0.4912 GB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.3929, allocations: 0.5354 MB / 0.4918 GB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.3929, allocations: 24.27 kB / 0.4918 GB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.393, allocations: 9.156 kB / 0.4918 GB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.3931, allocations: 13.36 kB / 0.4918 GB, free: 3.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.3931, allocations: 24.2 kB / 0.4918 GB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.3932, allocations: 16.42 kB / 0.4919 GB, free: 3.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.206e-05/0.3932, allocations: 136.7 kB / 0.492 GB, free: 3.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3932, allocations: 0 / 0.492 GB, free: 3.285 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005278/0.3937, allocations: 223.5 kB / 0.4922 GB, free: 3.246 MB / 362.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 (29): * Single equations (assignments): 29 * Array equations: 0 * 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.0006984/0.3944, allocations: 449.3 kB / 0.4926 GB, free: 3.023 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.3947, allocations: 173.1 kB / 0.4928 GB, free: 2.977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3947, allocations: 0.625 kB / 0.4928 GB, free: 2.977 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.803e-05/0.3947, allocations: 112.4 kB / 0.4929 GB, free: 2.934 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.3951, allocations: 87.39 kB / 0.493 GB, free: 2.902 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009254/0.3961, allocations: 0.5739 MB / 0.4935 GB, free: 2.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.118e-05/0.3961, allocations: 83.58 kB / 0.4936 GB, free: 2.402 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001784/0.3963, allocations: 65.41 kB / 0.4937 GB, free: 2.367 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.3965, allocations: 182.6 kB / 0.4939 GB, free: 2.266 MB / 362.7 MB Notification: Performance of SimCode: time 1.272e-06/0.3965, allocations: 0 / 0.4939 GB, free: 2.266 MB / 362.7 MB Notification: Performance of Templates: time 0.01154/0.4081, allocations: 9.959 MB / 0.5036 GB, free: 8.859 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.824825036805123]