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.001241/0.001241, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001958/0.0032, allocations: 452 kB / 10.43 MB, free: 264 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.001188/0.001188, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001565/0.002753, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.9645/0.9645, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1398/1.104, allocations: 49.49 MB / 220.7 MB, free: 1.367 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.1463/0.1463, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03173/0.1781, allocations: 12.31 MB / 266.1 MB, free: 3.875 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.322e-06/1.322e-06, allocations: 3.938 kB / 267.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.101e-05, allocations: 6.25 kB / 267.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2556/0.2556, allocations: 144 MB / 411.3 MB, free: 8.254 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.2583, allocations: 3.104 MB / 414.4 MB, free: 5.168 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.461e-05/0.2583, allocations: 3.938 kB / 414.4 MB, free: 5.164 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.2587, allocations: 55.67 kB / 414.5 MB, free: 5.109 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002368/0.261, allocations: 1.014 MB / 415.5 MB, free: 4.09 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.2614, allocations: 211.4 kB / 415.7 MB, free: 3.883 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003506/0.2618, allocations: 362.5 kB / 416.1 MB, free: 3.527 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.281e-05/0.2619, allocations: 5.969 kB / 416.1 MB, free: 3.523 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.2621, allocations: 203.4 kB / 416.3 MB, free: 3.324 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.2623, allocations: 91.77 kB / 416.4 MB, free: 3.234 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.2623, allocations: 12 kB / 416.4 MB, free: 3.223 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001862/0.2642, allocations: 1.328 MB / 417.7 MB, free: 1.891 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.991e-05/0.2642, allocations: 63.83 kB / 417.8 MB, free: 1.828 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.788e-05/0.2643, allocations: 63.94 kB / 417.8 MB, free: 1.766 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008791/0.2652, allocations: 0.8417 MB / 418.7 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.2652, allocations: 0 / 418.7 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2652, allocations: 0 / 418.7 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.2652, allocations: 0 / 418.7 MB, free: 0.9219 MB / 394.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.0006171/0.2658, allocations: 0.5547 MB / 419.2 MB, free: 352 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.2659, allocations: 11.89 kB / 419.2 MB, free: 340 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008913/0.2667, allocations: 329.5 kB / 419.6 MB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.267, allocations: 177.4 kB / 419.7 MB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.267, allocations: 12.75 kB / 419.7 MB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.267, allocations: 28.36 kB / 419.8 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.2674, allocations: 438.8 kB / 420.2 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2674, allocations: 3.938 kB / 420.2 MB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.2674, allocations: 12 kB / 420.2 MB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2674, allocations: 11.92 kB / 420.2 MB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.2676, allocations: 153.4 kB / 420.4 MB, free: 15.09 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.0007927/0.2684, allocations: 0.5669 MB / 420.9 MB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.2686, allocations: 200.9 kB / 421.1 MB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.907e-05/0.2687, allocations: 65.69 kB / 421.2 MB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006186/0.2693, allocations: 294.1 kB / 421.5 MB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.2693, allocations: 42.55 kB / 421.5 MB, free: 13.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.413e-06/0.2693, allocations: 0 / 421.5 MB, free: 13.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005042/0.2698, allocations: 242 kB / 421.8 MB, free: 13.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.2698, allocations: 85.05 kB / 421.9 MB, free: 13.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.764e-05/0.2699, allocations: 114.7 kB / 422 MB, free: 13.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.2699, allocations: 29.7 kB / 422 MB, free: 13.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.27, allocations: 124.5 kB / 422.1 MB, free: 13.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.61e-05/0.27, allocations: 115 kB / 422.2 MB, free: 13.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.2701, allocations: 54 kB / 422.3 MB, free: 13.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003312/0.2704, allocations: 326.8 kB / 422.6 MB, free: 12.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.719e-05/0.2705, allocations: 47.47 kB / 422.6 MB, free: 12.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.898e-05/0.2705, allocations: 123.5 kB / 422.8 MB, free: 12.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.2707, allocations: 227.2 kB / 423 MB, free: 12.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2707, allocations: 0 / 423 MB, free: 12.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002109/0.2709, allocations: 210.3 kB / 423.2 MB, free: 12.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.2709, allocations: 4 kB / 423.2 MB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2709, allocations: 4 kB / 423.2 MB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2709, allocations: 7.938 kB / 423.2 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.2711, allocations: 89.08 kB / 423.3 MB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.2711, allocations: 10.12 kB / 423.3 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.297e-05/0.2712, allocations: 23.84 kB / 423.3 MB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.2712, allocations: 16 kB / 423.3 MB, free: 11.92 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 7.323e-05/0.2713, allocations: 128.6 kB / 423.5 MB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.225e-05/0.2714, allocations: 28 kB / 423.5 MB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.2716, allocations: 206 kB / 423.7 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2716, allocations: 8 kB / 423.7 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.2716, allocations: 3.938 kB / 423.7 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2716, allocations: 3.984 kB / 423.7 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.2719, allocations: 165.7 kB / 423.9 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2719, allocations: 2.875 kB / 423.9 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.272, allocations: 63.91 kB / 423.9 MB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.2721, allocations: 19.88 kB / 424 MB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2721, allocations: 0 / 424 MB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.2721, allocations: 8 kB / 424 MB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2721, allocations: 0 / 424 MB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2721, allocations: 7.938 kB / 424 MB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.2724, allocations: 456.7 kB / 424.4 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.2724, allocations: 4 kB / 424.4 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.2725, allocations: 15.98 kB / 424.4 MB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.2726, allocations: 19.91 kB / 424.5 MB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.2726, allocations: 11.98 kB / 424.5 MB, free: 10.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.502e-05/0.2726, allocations: 18.48 kB / 424.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2726, allocations: 0 / 424.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004165/0.273, allocations: 219.5 kB / 424.7 MB, free: 10.52 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.0006231/0.2736, allocations: 437.3 kB / 425.1 MB, free: 10.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.2738, allocations: 159.5 kB / 425.3 MB, free: 9.922 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.2738, allocations: 4.281 kB / 425.3 MB, free: 9.918 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.434e-05/0.2739, allocations: 112.6 kB / 425.4 MB, free: 9.805 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.2742, allocations: 110.6 kB / 425.5 MB, free: 9.699 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.2765, allocations: 485.4 kB / 426 MB, free: 9.199 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.759e-05/0.2766, allocations: 88.25 kB / 426.1 MB, free: 9.094 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001622/0.2768, allocations: 65.81 kB / 426.1 MB, free: 9.031 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.277, allocations: 141.2 kB / 426.3 MB, free: 8.895 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.277, allocations: 0 / 426.3 MB, free: 8.895 MB / 410.7 MB Notification: Performance of Templates: time 0.009857/0.2868, allocations: 9.814 MB / 436.1 MB, free: 15.14 MB / 426.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2068735267966986]