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.000856/0.000856, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009405/0.0009405, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.9759/0.9759, allocations: 177 MB / 205.2 MB, free: 5.02 MB / 186.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.2914/0.2914, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 266.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.503e-06/1.503e-06, allocations: 0 / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/2.96e-05, allocations: 2.312 kB / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3593/0.3593, allocations: 145.2 MB / 471.1 MB, free: 12.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002911/0.3622, allocations: 3.314 MB / 474.4 MB, free: 12.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.3623, allocations: 0 / 474.4 MB, free: 12.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003886/0.3627, allocations: 53.75 kB / 474.4 MB, free: 12.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002397/0.3651, allocations: 1.132 MB / 475.6 MB, free: 12.15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.3655, allocations: 202.9 kB / 475.8 MB, free: 12.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004418/0.366, allocations: 373.4 kB / 476.1 MB, free: 12.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.064e-05/0.366, allocations: 4.812 kB / 476.1 MB, free: 12.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000354/0.3664, allocations: 211.8 kB / 476.4 MB, free: 12.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.3666, allocations: 99.64 kB / 476.4 MB, free: 12.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.3666, allocations: 13.58 kB / 476.5 MB, free: 12.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00231/0.3689, allocations: 1.347 MB / 477.8 MB, free: 12.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.369, allocations: 84.91 kB / 477.9 MB, free: 12.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.3691, allocations: 88.56 kB / 478 MB, free: 12.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.3708, allocations: 1.033 MB / 479 MB, free: 11.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.3708, allocations: 0 / 479 MB, free: 11.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3708, allocations: 0 / 479 MB, free: 11.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3708, allocations: 2.344 kB / 479 MB, free: 11.99 MB / 410.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.0007337/0.3715, allocations: 472.5 kB / 479.5 MB, free: 11.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3716, allocations: 11.16 kB / 479.5 MB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008363/0.3724, allocations: 260 kB / 479.7 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.3726, allocations: 182.6 kB / 479.9 MB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.3726, allocations: 16.38 kB / 479.9 MB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/0.3727, allocations: 24.81 kB / 480 MB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.373, allocations: 450.6 kB / 480.4 MB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.373, allocations: 0 / 480.4 MB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.373, allocations: 9.625 kB / 480.4 MB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.373, allocations: 8.562 kB / 480.4 MB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.3732, allocations: 161.3 kB / 480.6 MB, free: 11.17 MB / 410.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.0008173/0.374, allocations: 0.5852 MB / 481.2 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.3742, allocations: 250.5 kB / 481.4 MB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.3743, allocations: 65 kB / 481.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000677/0.375, allocations: 300.5 kB / 481.8 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.375, allocations: 39.97 kB / 481.8 MB, free: 10.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 2.094e-06/0.375, allocations: 4.031 kB / 481.8 MB, free: 10.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005267/0.3755, allocations: 260.5 kB / 482.1 MB, free: 10.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.3755, allocations: 84.08 kB / 482.1 MB, free: 10.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.534e-05/0.3756, allocations: 118.7 kB / 482.3 MB, free: 10.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.3756, allocations: 32.2 kB / 482.3 MB, free: 10.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.3756, allocations: 109.7 kB / 482.4 MB, free: 10.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.3757, allocations: 119.4 kB / 482.5 MB, free: 10.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.3757, allocations: 62.95 kB / 482.6 MB, free: 10.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.63e-05/0.3758, allocations: 329.1 kB / 482.9 MB, free: 9.859 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.068e-05/0.3758, allocations: 41.11 kB / 482.9 MB, free: 9.855 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.249e-05/0.3759, allocations: 134.3 kB / 483.1 MB, free: 9.758 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.3761, allocations: 219.3 kB / 483.3 MB, free: 9.633 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3761, allocations: 2.344 kB / 483.3 MB, free: 9.633 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002205/0.3763, allocations: 224.4 kB / 483.5 MB, free: 9.562 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3763, allocations: 5.812 kB / 483.5 MB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3763, allocations: 2.562 kB / 483.5 MB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3763, allocations: 9.25 kB / 483.5 MB, free: 9.559 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.3765, allocations: 74.34 kB / 483.6 MB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3765, allocations: 5.219 kB / 483.6 MB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.812e-05/0.3766, allocations: 31.2 kB / 483.6 MB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.3766, allocations: 11.38 kB / 483.6 MB, free: 9.535 MB / 410.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 7.218e-05/0.3767, allocations: 139.3 kB / 483.8 MB, free: 9.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.585e-05/0.3768, allocations: 34.12 kB / 483.8 MB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.377, allocations: 208.4 kB / 484 MB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.377, allocations: 9.312 kB / 484 MB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.377, allocations: 0 / 484 MB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.377, allocations: 4.812 kB / 484 MB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.3773, allocations: 153.9 kB / 484.2 MB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3773, allocations: 5.859 kB / 484.2 MB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.3774, allocations: 53.08 kB / 484.2 MB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3774, allocations: 3.062 kB / 484.2 MB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.3774, allocations: 7.891 kB / 484.2 MB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3774, allocations: 6.938 kB / 484.2 MB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3774, allocations: 0 / 484.2 MB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.3778, allocations: 0.5081 MB / 484.8 MB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.3778, allocations: 17.69 kB / 484.8 MB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.3778, allocations: 8.25 kB / 484.8 MB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.3779, allocations: 11.11 kB / 484.8 MB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.378, allocations: 29.17 kB / 484.8 MB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.378, allocations: 15.38 kB / 484.8 MB, free: 8.914 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.65e-05/0.378, allocations: 13.81 kB / 484.8 MB, free: 8.906 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.378, allocations: 4 kB / 484.9 MB, free: 8.902 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006472/0.3787, allocations: 238 kB / 485.1 MB, free: 8.867 MB / 410.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.0006793/0.3793, allocations: 455.3 kB / 485.5 MB, free: 8.723 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.3795, allocations: 166.1 kB / 485.7 MB, free: 8.699 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.3795, allocations: 4.031 kB / 485.7 MB, free: 8.699 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.051e-05/0.3796, allocations: 86.48 kB / 485.8 MB, free: 8.688 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.3799, allocations: 89.25 kB / 485.9 MB, free: 8.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000952/0.3809, allocations: 0.4943 MB / 486.4 MB, free: 8.371 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.968e-05/0.381, allocations: 84.06 kB / 486.4 MB, free: 8.301 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002036/0.3812, allocations: 71.77 kB / 486.5 MB, free: 8.266 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.3814, allocations: 148.7 kB / 486.7 MB, free: 8.215 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/0.3814, allocations: 0 / 486.7 MB, free: 8.215 MB / 410.7 MB Notification: Performance of Templates: time 0.01237/0.3938, allocations: 10.29 MB / 497 MB, free: 3.617 MB / 410.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.673213419970125]