Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.0009732/0.0009732, 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.00116/0.00116, 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.9651/0.9651, allocations: 177 MB / 205.2 MB, free: 5.438 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.2836/0.2836, allocations: 34.87 MB / 296.6 MB, free: 0.5039 MB / 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.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.[0-9,]+.|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.[0-9,]+.|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 326 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.348e-05, allocations: 5.266 kB / 326 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2988/0.2989, allocations: 150.3 MB / 476.3 MB, free: 12.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003282/0.3021, allocations: 2.959 MB / 479.3 MB, free: 12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003073/0.3024, allocations: 33.22 kB / 479.3 MB, free: 11.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005086/0.303, allocations: 239.6 kB / 479.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00257/0.3055, allocations: 1.691 MB / 481.2 MB, free: 11.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.3068, allocations: 1.011 MB / 482.2 MB, free: 11.63 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.3084, allocations: 2.274 MB / 484.5 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005677/0.309, allocations: 0.5522 MB / 485.1 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.3105, allocations: 1.418 MB / 486.5 MB, free: 11.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007456/0.3112, allocations: 0.7328 MB / 487.2 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.3113, allocations: 93.56 kB / 487.3 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001767/0.3131, allocations: 1.514 MB / 488.8 MB, free: 11.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002774/0.3134, allocations: 461.7 kB / 489.3 MB, free: 11.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002716/0.3137, allocations: 404.6 kB / 489.7 MB, free: 11.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.3151, allocations: 1.874 MB / 491.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3151, allocations: 0 / 491.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3151, allocations: 0 / 491.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.3151, allocations: 2.781 kB / 491.5 MB, free: 10.68 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001458/0.3165, allocations: 1.33 MB / 492.9 MB, free: 9.883 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.3166, allocations: 11.03 kB / 492.9 MB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002537/0.3168, allocations: 158.4 kB / 493 MB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004849/0.3173, allocations: 488.7 kB / 493.5 MB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.8e-05/0.3174, allocations: 174.8 kB / 493.7 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.312e-05/0.3175, allocations: 78.62 kB / 493.8 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006519/0.3181, allocations: 1.103 MB / 494.9 MB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.3181, allocations: 3.984 kB / 494.9 MB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.431e-05/0.3182, allocations: 33.94 kB / 494.9 MB, free: 8.527 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.987e-05/0.3182, allocations: 61.12 kB / 495 MB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000476/0.3187, allocations: 426.8 kB / 495.4 MB, free: 8.398 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.321, allocations: 2.664 MB / 498 MB, free: 6.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005306/0.3215, allocations: 457.9 kB / 498.5 MB, free: 6.621 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.3216, allocations: 136 kB / 498.6 MB, free: 6.594 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002134/0.3219, allocations: 133.8 kB / 498.8 MB, free: 6.562 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.3219, allocations: 51.59 kB / 498.8 MB, free: 6.516 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 1.834e-06/0.3219, allocations: 4 kB / 498.8 MB, free: 6.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=82): time 0.003798/0.3257, allocations: 2.088 MB / 0.4892 GB, free: 5.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.3257, allocations: 115.7 kB / 0.4893 GB, free: 5.602 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.3259, allocations: 479.1 kB / 0.4897 GB, free: 5.379 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.326, allocations: 43.42 kB / 0.4898 GB, free: 5.336 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.671e-05/0.3261, allocations: 358.2 kB / 0.4901 GB, free: 5.047 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.3262, allocations: 308 kB / 0.4904 GB, free: 4.801 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.3263, allocations: 189 kB / 0.4906 GB, free: 4.703 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.359e-05/0.3264, allocations: 388 kB / 0.4909 GB, free: 4.367 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.3266, allocations: 140.7 kB / 0.4911 GB, free: 4.332 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.3268, allocations: 471.1 kB / 0.4915 GB, free: 3.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004758/0.3273, allocations: 0.6444 MB / 0.4922 GB, free: 3.445 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3273, allocations: 5.781 kB / 0.4922 GB, free: 3.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0007471/0.328, allocations: 0.7094 MB / 0.4929 GB, free: 3.164 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3281, allocations: 8.25 kB / 0.4929 GB, free: 3.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.3281, allocations: 10.69 kB / 0.4929 GB, free: 3.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002382/0.3304, allocations: 0.9762 MB / 0.4938 GB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.3307, allocations: 172.2 kB / 0.494 GB, free: 2.746 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005959/0.3313, allocations: 0.8209 MB / 0.4948 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.3316, allocations: 47.73 kB / 0.4948 GB, free: 2.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.973e-05/0.3317, allocations: 46.23 kB / 0.4949 GB, free: 2.074 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (92): * Single equations (assignments): 91 * 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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0001684/0.3319, allocations: 173.9 kB / 0.4951 GB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.851e-05/0.332, allocations: 82.14 kB / 0.4951 GB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009405/0.3329, allocations: 0.8839 MB / 0.496 GB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.3329, allocations: 16.41 kB / 0.496 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.3329, allocations: 0 / 0.496 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.3329, allocations: 3.984 kB / 0.496 GB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.3341, allocations: 1.204 MB / 0.4972 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3341, allocations: 2.781 kB / 0.4972 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005804/0.3347, allocations: 240.2 kB / 0.4974 GB, free: 0.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005701/0.3353, allocations: 246 kB / 0.4977 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/0.3353, allocations: 32.88 kB / 0.4977 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.3364, allocations: 1.82 MB / 0.4995 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3364, allocations: 7.062 kB / 0.4995 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008225/0.3373, allocations: 0.8347 MB / 0.5003 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.3374, allocations: 120.5 kB / 0.5004 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.325e-05/0.3375, allocations: 24.58 kB / 0.5004 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/0.3378, allocations: 39.28 kB / 0.5005 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.29e-05/0.3379, allocations: 70.14 kB / 0.5005 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.807e-05/0.338, allocations: 36.86 kB / 0.5006 GB, free: 14.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001382/0.3381, allocations: 208.7 kB / 0.5008 GB, free: 14.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3381, allocations: 0 / 0.5008 GB, free: 14.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008159/0.3389, allocations: 499 kB / 0.5012 GB, free: 13.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (80): * Single equations (assignments): 76 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006912/0.3396, allocations: 0.5051 MB / 0.5017 GB, free: 13.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007533/0.3404, allocations: 0.5445 MB / 0.5023 GB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.617e-05/0.3404, allocations: 8.219 kB / 0.5023 GB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006847/0.3411, allocations: 358.7 kB / 0.5026 GB, free: 13.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.3424, allocations: 462.5 kB / 0.5031 GB, free: 13.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.3453, allocations: 1.662 MB / 0.5047 GB, free: 11.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.3454, allocations: 229.8 kB / 0.5049 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005574/0.346, allocations: 233.6 kB / 0.5051 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009493/0.3469, allocations: 406.9 kB / 0.5055 GB, free: 10.48 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3469, allocations: 0 / 0.5055 GB, free: 10.48 MB / 426.7 MB Notification: Performance of Templates: time 0.03496/0.3819, allocations: 28.41 MB / 0.5333 GB, free: 14.44 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.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: 4.165947671979666]