Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001669/0.001669, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.00175/0.00175, allocations: 166.9 kB / 24.84 MB, free: 8.914 MB / 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 1.017/1.017, allocations: 158.6 MB / 186.7 MB, free: 2.797 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.1383/0.1383, allocations: 32.36 MB / 271.5 MB, free: 2.543 MB / 250.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.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 348.9 MB, free: 4.887 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.725e-05/3.934e-05, allocations: 2.312 kB / 348.9 MB, free: 4.883 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2286/0.2286, allocations: 129.2 MB / 478.1 MB, free: 14.54 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003955/0.2326, allocations: 3.065 MB / 481.2 MB, free: 11.48 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004612/0.233, allocations: 27.75 kB / 481.2 MB, free: 11.45 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000583/0.2336, allocations: 214.5 kB / 481.4 MB, free: 11.24 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.2349, allocations: 0.7806 MB / 482.2 MB, free: 10.46 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.2365, allocations: 0.9122 MB / 483.1 MB, free: 9.543 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001729/0.2382, allocations: 1.859 MB / 485 MB, free: 7.684 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006828/0.2389, allocations: 431.2 kB / 485.4 MB, free: 7.266 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.2402, allocations: 0.9391 MB / 486.3 MB, free: 6.324 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008757/0.2411, allocations: 0.6623 MB / 487 MB, free: 5.66 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.2412, allocations: 60 kB / 487.1 MB, free: 5.602 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004815/0.2417, allocations: 275.5 kB / 487.3 MB, free: 5.332 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.2419, allocations: 295.1 kB / 487.6 MB, free: 5.043 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.2421, allocations: 287.4 kB / 487.9 MB, free: 4.762 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008674/0.243, allocations: 0.7788 MB / 488.7 MB, free: 3.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.243, allocations: 3.938 kB / 488.7 MB, free: 3.977 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.243, allocations: 4 kB / 488.7 MB, free: 3.973 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.243, allocations: 0 / 488.7 MB, free: 3.973 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001267/0.2443, allocations: 1.062 MB / 489.7 MB, free: 2.875 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2443, allocations: 8.031 kB / 489.7 MB, free: 2.867 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002863/0.2446, allocations: 164.6 kB / 489.9 MB, free: 2.707 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005386/0.2451, allocations: 489.4 kB / 490.4 MB, free: 2.203 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.736e-05/0.2452, allocations: 160.3 kB / 490.5 MB, free: 2.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-05/0.2453, allocations: 60.33 kB / 490.6 MB, free: 1.961 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000657/0.246, allocations: 0.9266 MB / 491.5 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.246, allocations: 8.312 kB / 491.5 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/0.246, allocations: 30.44 kB / 491.6 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.545e-05/0.2461, allocations: 36.98 kB / 491.6 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.2464, allocations: 246.6 kB / 491.8 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002412/0.2488, allocations: 3.406 MB / 495.2 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.2492, allocations: 251 kB / 495.5 MB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.316e-05/0.2492, allocations: 80.3 kB / 495.6 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.2494, allocations: 47.92 kB / 495.6 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.2494, allocations: 45.72 kB / 495.7 MB, free: 12.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.553e-06/0.2494, allocations: 0 / 495.7 MB, free: 12.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001426/0.2508, allocations: 0.828 MB / 496.5 MB, free: 11.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.2509, allocations: 132.5 kB / 496.6 MB, free: 11.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.2512, allocations: 0.5371 MB / 497.2 MB, free: 11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.2512, allocations: 37.7 kB / 497.2 MB, free: 10.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.2515, allocations: 434.9 kB / 497.6 MB, free: 10.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.213e-05/0.2515, allocations: 178.5 kB / 497.8 MB, free: 10.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.2517, allocations: 160.1 kB / 497.9 MB, free: 10.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.2518, allocations: 0.5468 MB / 498.5 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.901e-05/0.2519, allocations: 77.92 kB / 498.6 MB, free: 9.555 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/0.2523, allocations: 0.6 MB / 499.2 MB, free: 8.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/0.2527, allocations: 0.6376 MB / 499.8 MB, free: 7.902 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.2527, allocations: 4 kB / 499.8 MB, free: 7.898 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007409/0.2535, allocations: 0.6298 MB / 0.4887 GB, free: 7.258 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.2535, allocations: 12 kB / 0.4887 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.2535, allocations: 8 kB / 0.4887 GB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00065/0.2542, allocations: 237.2 kB / 0.489 GB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.2544, allocations: 127.8 kB / 0.4891 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005529/0.2549, allocations: 0.9593 MB / 0.49 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.2552, allocations: 27.94 kB / 0.49 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.2552, allocations: 35.2 kB / 0.4901 GB, free: 5.836 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.0001723/0.2554, allocations: 208.3 kB / 0.4903 GB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-05/0.2555, allocations: 79.52 kB / 0.4904 GB, free: 5.543 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005944/0.2561, allocations: 483 kB / 0.4908 GB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.2561, allocations: 4 kB / 0.4908 GB, free: 5.047 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.2561, allocations: 4 kB / 0.4908 GB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.2561, allocations: 3.984 kB / 0.4908 GB, free: 5.039 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009619/0.257, allocations: 0.8483 MB / 0.4917 GB, free: 4.129 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.257, allocations: 0 / 0.4917 GB, free: 4.129 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000477/0.2575, allocations: 167.8 kB / 0.4918 GB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.488e-05/0.2576, allocations: 23.67 kB / 0.4918 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.2576, allocations: 16.17 kB / 0.4918 GB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/0.2592, allocations: 3.519 MB / 0.4953 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2592, allocations: 4 kB / 0.4953 GB, free: 180 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1713/0.4304, allocations: 0.5931 MB / 0.4959 GB, free: 26.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.4306, allocations: 108.8 kB / 0.496 GB, free: 26.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.665e-05/0.4307, allocations: 12.19 kB / 0.496 GB, free: 26.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.4309, allocations: 15.25 kB / 0.496 GB, free: 26.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.431, allocations: 38.23 kB / 0.496 GB, free: 26.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.431, allocations: 22.81 kB / 0.4961 GB, free: 26.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001947/0.4312, allocations: 319.5 kB / 0.4964 GB, free: 26.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4312, allocations: 0 / 0.4964 GB, free: 26.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005648/0.4318, allocations: 194.8 kB / 0.4965 GB, free: 26.6 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.0004006/0.4322, allocations: 191.8 kB / 0.4967 GB, free: 26.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006041/0.4328, allocations: 373.5 kB / 0.4971 GB, free: 26.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4328, allocations: 0 / 0.4971 GB, free: 26.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004079/0.4332, allocations: 375.5 kB / 0.4974 GB, free: 26.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007603/0.4339, allocations: 332.6 kB / 0.4978 GB, free: 26.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.4354, allocations: 1.158 MB / 0.4989 GB, free: 25.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.903e-05/0.4355, allocations: 176.2 kB / 0.4991 GB, free: 25.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003149/0.4358, allocations: 112.6 kB / 0.4992 GB, free: 25.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004455/0.4363, allocations: 362.8 kB / 0.4995 GB, free: 25.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.383e-06/0.4363, allocations: 0 / 0.4995 GB, free: 25.59 MB / 410.7 MB Notification: Performance of Templates: time 0.01749/0.4538, allocations: 14.32 MB / 0.5135 GB, free: 24.23 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.8976342231035233]