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.001614/0.001614, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001785/0.001785, allocations: 169 kB / 24.14 MB, free: 364 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.9068/0.9068, allocations: 158.6 MB / 186 MB, free: 2.766 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.1302/0.1302, allocations: 32.37 MB / 270.7 MB, free: 14.61 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.553e-06/1.553e-06, allocations: 0 / 299 MB, free: 2.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.579e-05, allocations: 2.312 kB / 299 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3062/0.3063, allocations: 143.5 MB / 442.6 MB, free: 14.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003787/0.31, allocations: 3.103 MB / 445.7 MB, free: 11.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.618e-05/0.3101, allocations: 0 / 445.7 MB, free: 11.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004257/0.3106, allocations: 51.67 kB / 445.7 MB, free: 11.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002332/0.3129, allocations: 1.061 MB / 446.8 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.3133, allocations: 211.4 kB / 447 MB, free: 9.871 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004048/0.3137, allocations: 358.5 kB / 447.4 MB, free: 9.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.354e-05/0.3138, allocations: 15.38 kB / 447.4 MB, free: 9.508 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003138/0.3141, allocations: 191.5 kB / 447.6 MB, free: 9.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.3143, allocations: 95.69 kB / 447.6 MB, free: 9.227 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.3143, allocations: 16 kB / 447.7 MB, free: 9.211 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.3165, allocations: 1.289 MB / 449 MB, free: 7.918 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.3166, allocations: 87.77 kB / 449 MB, free: 7.832 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.546e-05/0.3167, allocations: 75.89 kB / 449.1 MB, free: 7.758 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.3177, allocations: 1.005 MB / 450.1 MB, free: 6.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3177, allocations: 0 / 450.1 MB, free: 6.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3177, allocations: 0 / 450.1 MB, free: 6.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.686e-06/0.3177, allocations: 0 / 450.1 MB, free: 6.75 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0005846/0.3183, allocations: 456.6 kB / 450.6 MB, free: 6.281 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3184, allocations: 8.031 kB / 450.6 MB, free: 6.273 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000805/0.3192, allocations: 256.3 kB / 450.8 MB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.3194, allocations: 177.5 kB / 451 MB, free: 5.824 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.3194, allocations: 12.75 kB / 451 MB, free: 5.812 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.3195, allocations: 28.38 kB / 451 MB, free: 5.785 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.3198, allocations: 442.2 kB / 451.5 MB, free: 5.293 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3198, allocations: 0 / 451.5 MB, free: 5.293 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.3199, allocations: 12 kB / 451.5 MB, free: 5.281 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.3199, allocations: 4 kB / 451.5 MB, free: 5.277 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.3201, allocations: 145.5 kB / 451.6 MB, free: 5.133 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.0008628/0.3209, allocations: 0.5791 MB / 452.2 MB, free: 4.531 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.3211, allocations: 201.5 kB / 452.4 MB, free: 4.316 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.11e-05/0.3212, allocations: 63.55 kB / 452.5 MB, free: 4.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006346/0.3218, allocations: 302.3 kB / 452.8 MB, free: 3.953 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.3219, allocations: 38.56 kB / 452.8 MB, free: 3.906 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.392e-06/0.3219, allocations: 3.938 kB / 452.8 MB, free: 3.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.000518/0.3224, allocations: 239.2 kB / 453 MB, free: 3.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.3224, allocations: 92.97 kB / 453.1 MB, free: 3.551 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.36e-05/0.3225, allocations: 114.7 kB / 453.2 MB, free: 3.426 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.3225, allocations: 33.7 kB / 453.3 MB, free: 3.387 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.3226, allocations: 112.5 kB / 453.4 MB, free: 3.273 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.872e-05/0.3226, allocations: 111 kB / 453.5 MB, free: 3.164 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.506e-05/0.3227, allocations: 62 kB / 453.5 MB, free: 3.098 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.188e-05/0.3228, allocations: 326.8 kB / 453.9 MB, free: 2.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.618e-05/0.3228, allocations: 47.45 kB / 453.9 MB, free: 2.723 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.293e-05/0.3229, allocations: 123.5 kB / 454 MB, free: 2.566 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.3231, allocations: 218.4 kB / 454.2 MB, free: 2.316 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3231, allocations: 0 / 454.2 MB, free: 2.316 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002252/0.3233, allocations: 208.9 kB / 454.4 MB, free: 2.105 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3233, allocations: 4 kB / 454.5 MB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3234, allocations: 4 kB / 454.5 MB, free: 2.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3234, allocations: 4 kB / 454.5 MB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.3235, allocations: 75.78 kB / 454.5 MB, free: 2.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3235, allocations: 11.98 kB / 454.5 MB, free: 2.008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.373e-05/0.3236, allocations: 23.78 kB / 454.6 MB, free: 1.984 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.3236, allocations: 17.31 kB / 454.6 MB, free: 1.969 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 (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 8.669e-05/0.3237, allocations: 128.8 kB / 454.7 MB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.3238, allocations: 35.84 kB / 454.7 MB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.3241, allocations: 212.2 kB / 455 MB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.3241, allocations: 7.938 kB / 455 MB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3241, allocations: 0 / 455 MB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3241, allocations: 0 / 455 MB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.3243, allocations: 161.6 kB / 455.1 MB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3243, allocations: 4 kB / 455.1 MB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.3245, allocations: 55.91 kB / 455.2 MB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.3245, allocations: 0 / 455.2 MB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.3245, allocations: 8 kB / 455.2 MB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3245, allocations: 0.8125 kB / 455.2 MB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3245, allocations: 0 / 455.2 MB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.3249, allocations: 453 kB / 455.6 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.737e-05/0.3249, allocations: 23.83 kB / 455.7 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.3249, allocations: 8 kB / 455.7 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.325, allocations: 13.11 kB / 455.7 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.3251, allocations: 23.91 kB / 455.7 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.3251, allocations: 11.98 kB / 455.7 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.486e-05/0.3251, allocations: 17.16 kB / 455.7 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3251, allocations: 0 / 455.7 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000456/0.3256, allocations: 227.4 kB / 455.9 MB, free: 0.5664 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 (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.0006876/0.3262, allocations: 429.3 kB / 456.4 MB, free: 140 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1981/0.5244, allocations: 153.8 kB / 456.5 MB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.705e-05/0.5244, allocations: 0.7812 kB / 456.5 MB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.5246, allocations: 89.55 kB / 456.6 MB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.5251, allocations: 86.73 kB / 456.7 MB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.5261, allocations: 498.6 kB / 457.2 MB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.43e-05/0.5262, allocations: 85.97 kB / 457.3 MB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002285/0.5264, allocations: 65.67 kB / 457.3 MB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/0.5267, allocations: 145.9 kB / 457.5 MB, free: 14.86 MB / 410.7 MB Notification: Performance of SimCode: time 2.374e-06/0.5267, allocations: 1.062 kB / 457.5 MB, free: 14.86 MB / 410.7 MB Notification: Performance of Templates: time 0.01414/0.5408, allocations: 9.899 MB / 467.4 MB, free: 14.14 MB / 410.7 MB " [Timeout remaining time 659] 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.554741151165217]