Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001346/0.001346, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001511/0.001511, allocations: 168.9 kB / 24.91 MB, free: 8.762 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.9349/0.9349, allocations: 177 MB / 205.2 MB, free: 5.434 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.2619/0.2619, allocations: 34.86 MB / 296.6 MB, free: 444 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.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.226e-05, allocations: 5.266 kB / 325.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2871/0.2871, allocations: 134 MB / 459.9 MB, free: 16.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003707/0.2909, allocations: 3.122 MB / 463.1 MB, free: 16.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005006/0.2914, allocations: 28.69 kB / 463.1 MB, free: 16.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005871/0.2919, allocations: 209.6 kB / 463.3 MB, free: 16.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.2933, allocations: 0.7826 MB / 464.1 MB, free: 16.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.2949, allocations: 0.9082 MB / 465 MB, free: 16.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001906/0.2968, allocations: 1.861 MB / 466.8 MB, free: 16.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006566/0.2975, allocations: 429.2 kB / 467.3 MB, free: 16.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.2988, allocations: 0.9456 MB / 468.2 MB, free: 16.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009234/0.2997, allocations: 0.6465 MB / 468.9 MB, free: 16.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.2999, allocations: 63.5 kB / 468.9 MB, free: 16.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005558/0.3004, allocations: 271.3 kB / 469.2 MB, free: 16.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.3006, allocations: 286.2 kB / 469.5 MB, free: 16.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002639/0.3009, allocations: 284.4 kB / 469.7 MB, free: 16.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008859/0.3018, allocations: 0.7975 MB / 470.5 MB, free: 16.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3018, allocations: 0 / 470.5 MB, free: 16.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3018, allocations: 0 / 470.5 MB, free: 16.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.3018, allocations: 0 / 470.5 MB, free: 16.21 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001251/0.303, allocations: 0.9295 MB / 471.5 MB, free: 15.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3031, allocations: 10.62 kB / 471.5 MB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002855/0.3034, allocations: 132.3 kB / 471.6 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000535/0.3039, allocations: 431.7 kB / 472 MB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.981e-05/0.304, allocations: 156.5 kB / 472.2 MB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.109e-05/0.304, allocations: 51.66 kB / 472.2 MB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005284/0.3046, allocations: 0.8666 MB / 473.1 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.3046, allocations: 2.531 kB / 473.1 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.3046, allocations: 30.34 kB / 473.1 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.3047, allocations: 37.55 kB / 473.2 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.305, allocations: 235.1 kB / 473.4 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.3068, allocations: 2.447 MB / 475.8 MB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.3071, allocations: 216.4 kB / 476.1 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.795e-05/0.3072, allocations: 78.67 kB / 476.1 MB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.3073, allocations: 37.17 kB / 476.2 MB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.3073, allocations: 42.34 kB / 476.2 MB, free: 12.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.064e-06/0.3073, allocations: 0 / 476.2 MB, free: 12.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001298/0.3086, allocations: 0.7952 MB / 477 MB, free: 12.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.3087, allocations: 137.2 kB / 477.1 MB, free: 12.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.3089, allocations: 468.2 kB / 477.6 MB, free: 12.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.3089, allocations: 35.92 kB / 477.6 MB, free: 12.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.3091, allocations: 326.4 kB / 478 MB, free: 12.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/0.3091, allocations: 175.8 kB / 478.1 MB, free: 12.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.3092, allocations: 136.1 kB / 478.3 MB, free: 12.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.217e-05/0.3093, allocations: 383.1 kB / 478.6 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.188e-05/0.3094, allocations: 62.72 kB / 478.7 MB, free: 11.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.3096, allocations: 482.1 kB / 479.2 MB, free: 11.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.3099, allocations: 0.5211 MB / 479.7 MB, free: 10.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.3099, allocations: 7.5 kB / 479.7 MB, free: 10.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005639/0.3105, allocations: 0.504 MB / 480.2 MB, free: 10.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3105, allocations: 9.031 kB / 480.2 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.3105, allocations: 13.59 kB / 480.2 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000561/0.3111, allocations: 221.5 kB / 480.4 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.3113, allocations: 126.3 kB / 480.6 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000335/0.3116, allocations: 0.667 MB / 481.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.3118, allocations: 30.25 kB / 481.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.3119, allocations: 29.16 kB / 481.3 MB, free: 10.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.312, allocations: 170.8 kB / 481.4 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.3121, allocations: 52.5 kB / 481.5 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004307/0.3125, allocations: 415 kB / 481.9 MB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.3125, allocations: 5.453 kB / 481.9 MB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3125, allocations: 3.094 kB / 481.9 MB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3125, allocations: 2.719 kB / 481.9 MB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006541/0.3132, allocations: 0.6991 MB / 482.6 MB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3132, allocations: 2.375 kB / 482.6 MB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004097/0.3136, allocations: 166.7 kB / 482.8 MB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.879e-05/0.3136, allocations: 30.56 kB / 482.8 MB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.3137, allocations: 18.41 kB / 482.8 MB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006788/0.3143, allocations: 2.393 MB / 485.2 MB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3143, allocations: 2.594 kB / 485.2 MB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.3147, allocations: 0.513 MB / 485.7 MB, free: 7.074 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.3148, allocations: 78.8 kB / 485.8 MB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.3149, allocations: 12.19 kB / 485.8 MB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.315, allocations: 15.69 kB / 485.8 MB, free: 7.039 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.3151, allocations: 42.58 kB / 485.9 MB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.3151, allocations: 18.92 kB / 485.9 MB, free: 7.031 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001315/0.3153, allocations: 197.5 kB / 486.1 MB, free: 7.012 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3153, allocations: 0 / 486.1 MB, free: 7.012 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004414/0.3157, allocations: 198.1 kB / 486.3 MB, free: 7.004 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002037/0.3159, allocations: 167.2 kB / 486.5 MB, free: 6.914 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004426/0.3163, allocations: 335.1 kB / 486.8 MB, free: 6.891 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/0.3164, allocations: 9.438 kB / 486.8 MB, free: 6.891 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000358/0.3167, allocations: 316.3 kB / 487.1 MB, free: 6.758 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006975/0.3174, allocations: 335 kB / 487.4 MB, free: 6.723 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.3188, allocations: 1.133 MB / 488.6 MB, free: 6.141 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.428e-05/0.3189, allocations: 168.8 kB / 488.7 MB, free: 6.066 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003114/0.3192, allocations: 118.8 kB / 488.8 MB, free: 6.027 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000444/0.3197, allocations: 300.1 kB / 489.1 MB, free: 5.973 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3197, allocations: 0 / 489.1 MB, free: 5.973 MB / 410.7 MB Notification: Performance of Templates: time 0.01415/0.3338, allocations: 14.17 MB / 0.4915 GB, free: 456 kB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.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.49958483222872]