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.001026/0.001026, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001628/0.002654, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.00109/0.00109, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.002434, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.979/0.979, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2128/1.192, allocations: 49.49 MB / 220.5 MB, free: 5.285 MB / 218.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.1228/0.1228, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03046/0.1532, allocations: 12.3 MB / 265.9 MB, free: 7.832 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 2.254e-06/2.254e-06, allocations: 0 / 267.2 MB, free: 6.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/3.007e-05, allocations: 2.312 kB / 267.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3564/0.3564, allocations: 143.9 MB / 411.1 MB, free: 7.477 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003125/0.3596, allocations: 3.111 MB / 414.2 MB, free: 4.383 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.993e-05/0.3597, allocations: 4 kB / 414.3 MB, free: 4.379 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.36, allocations: 59.59 kB / 414.3 MB, free: 4.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002123/0.3621, allocations: 1.014 MB / 415.3 MB, free: 3.301 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.3625, allocations: 206.1 kB / 415.5 MB, free: 3.102 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003928/0.3629, allocations: 358.6 kB / 415.9 MB, free: 2.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.363, allocations: 9.953 kB / 415.9 MB, free: 2.742 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/0.3632, allocations: 199.4 kB / 416.1 MB, free: 2.547 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.3634, allocations: 103.7 kB / 416.2 MB, free: 2.445 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.3634, allocations: 12 kB / 416.2 MB, free: 2.434 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/0.3656, allocations: 1.316 MB / 417.5 MB, free: 1.113 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.588e-05/0.3657, allocations: 63.89 kB / 417.6 MB, free: 1.051 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.208e-05/0.3658, allocations: 67.88 kB / 417.6 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.3673, allocations: 0.8494 MB / 418.5 MB, free: 136 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.235e-05/0.3673, allocations: 0 / 418.5 MB, free: 136 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3673, allocations: 4 kB / 418.5 MB, free: 132 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.3673, allocations: 0 / 418.5 MB, free: 132 kB / 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.0008098/0.3681, allocations: 0.5516 MB / 419 MB, free: 15.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.3681, allocations: 11.89 kB / 419.1 MB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.3692, allocations: 333.4 kB / 419.4 MB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.3694, allocations: 169.6 kB / 419.5 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3695, allocations: 12.75 kB / 419.6 MB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.735e-05/0.3695, allocations: 24.38 kB / 419.6 MB, free: 14.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/0.3699, allocations: 449.7 kB / 420 MB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3699, allocations: 3.938 kB / 420 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.421e-05/0.3699, allocations: 12 kB / 420 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3699, allocations: 4 kB / 420 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.3702, allocations: 152.4 kB / 420.2 MB, free: 14.3 MB / 378.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.0009951/0.3712, allocations: 0.5746 MB / 420.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.3714, allocations: 197 kB / 421 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.176e-05/0.3715, allocations: 69.62 kB / 421 MB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007768/0.3723, allocations: 290.1 kB / 421.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.3723, allocations: 38.56 kB / 421.3 MB, free: 13.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 3.777e-06/0.3723, allocations: 3.984 kB / 421.3 MB, free: 13.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006442/0.3729, allocations: 247.7 kB / 421.6 MB, free: 12.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.373, allocations: 85.05 kB / 421.7 MB, free: 12.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.195e-05/0.373, allocations: 114.7 kB / 421.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.3731, allocations: 29.7 kB / 421.8 MB, free: 12.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.3731, allocations: 120.5 kB / 421.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.927e-05/0.3732, allocations: 114.9 kB / 422 MB, free: 12.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.204e-05/0.3733, allocations: 62 kB / 422.1 MB, free: 12.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.887e-05/0.3734, allocations: 330.8 kB / 422.4 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.955e-05/0.3734, allocations: 43.47 kB / 422.5 MB, free: 11.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.3735, allocations: 127.5 kB / 422.6 MB, free: 11.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.3737, allocations: 213.5 kB / 422.8 MB, free: 11.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3738, allocations: 0 / 422.8 MB, free: 11.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002833/0.374, allocations: 208.3 kB / 423 MB, free: 11.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.374, allocations: 4 kB / 423 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3741, allocations: 4 kB / 423 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3741, allocations: 4 kB / 423 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.3743, allocations: 83.89 kB / 423.1 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.3743, allocations: 13.12 kB / 423.1 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003135/0.3775, allocations: 27.78 kB / 423.1 MB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.3775, allocations: 22.17 kB / 423.2 MB, free: 11.13 MB / 378.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.0001047/0.3776, allocations: 128.6 kB / 423.3 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.535e-05/0.3777, allocations: 32.05 kB / 423.3 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003181/0.378, allocations: 200.8 kB / 423.5 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.378, allocations: 8 kB / 423.5 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.378, allocations: 3.938 kB / 423.5 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.378, allocations: 4 kB / 423.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000345/0.3784, allocations: 161.6 kB / 423.7 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3784, allocations: 0 / 423.7 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.3786, allocations: 70.77 kB / 423.8 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.3786, allocations: 11.89 kB / 423.8 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3786, allocations: 0 / 423.8 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.3786, allocations: 15.98 kB / 423.8 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3786, allocations: 4 kB / 423.8 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3786, allocations: 3.938 kB / 423.8 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.379, allocations: 445.9 kB / 424.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.3791, allocations: 11.98 kB / 424.2 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.3792, allocations: 8 kB / 424.2 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.3793, allocations: 27.83 kB / 424.3 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.3793, allocations: 11.98 kB / 424.3 MB, free: 9.965 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.626e-05/0.3793, allocations: 14.5 kB / 424.3 MB, free: 9.949 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3793, allocations: 0 / 424.3 MB, free: 9.949 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006199/0.3799, allocations: 223.4 kB / 424.5 MB, free: 9.73 MB / 378.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.003838/0.3838, allocations: 441.3 kB / 425 MB, free: 9.289 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.384, allocations: 149.2 kB / 425.1 MB, free: 9.141 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.384, allocations: 4.109 kB / 425.1 MB, free: 9.137 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.41e-05/0.3841, allocations: 88.7 kB / 425.2 MB, free: 9.047 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.3846, allocations: 115 kB / 425.3 MB, free: 8.938 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006475/0.3911, allocations: 484.1 kB / 425.8 MB, free: 8.438 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.029e-05/0.3911, allocations: 92.25 kB / 425.9 MB, free: 8.328 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002462/0.3914, allocations: 67.66 kB / 425.9 MB, free: 8.266 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.3917, allocations: 145.2 kB / 426.1 MB, free: 8.121 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3917, allocations: 0 / 426.1 MB, free: 8.121 MB / 378.7 MB Notification: Performance of Templates: time 0.02887/0.4206, allocations: 10.08 MB / 436.2 MB, free: 14.1 MB / 394.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 -ignoreHideResult -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.469969864934683]