Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.0009779/0.0009779, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009911/0.0009911, allocations: 169.4 kB / 24.99 MB, free: 8.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3013/0.3013, allocations: 34.26 MB / 296 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.456e-05, allocations: 5.828 kB / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04642/0.04645, allocations: 44.53 MB / 422.6 MB, free: 6.266 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.008203/0.05465, allocations: 4.471 MB / 427 MB, free: 1.777 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.05578, allocations: 27.75 kB / 427.1 MB, free: 1.75 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.05738, allocations: 298 kB / 427.4 MB, free: 1.457 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003422/0.0608, allocations: 0.9164 MB / 428.3 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003354/0.06416, allocations: 0.9424 MB / 429.2 MB, free: 15.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002696/0.06685, allocations: 1.832 MB / 431 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006256/0.06748, allocations: 413.8 kB / 431.4 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2378/0.3053, allocations: 44.57 MB / 476 MB, free: 47.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01083/0.3162, allocations: 7.898 MB / 483.9 MB, free: 44.83 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002197/0.3164, allocations: 59.53 kB / 484 MB, free: 44.83 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01612/0.3325, allocations: 10.6 MB / 494.6 MB, free: 41.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005653/0.3331, allocations: 287.6 kB / 494.9 MB, free: 40.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004961/0.3336, allocations: 278.5 kB / 495.1 MB, free: 40.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.3349, allocations: 0.841 MB / 496 MB, free: 40.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3349, allocations: 1.422 kB / 496 MB, free: 40.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3349, allocations: 0 / 496 MB, free: 40.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.033e-05/0.3349, allocations: 0 / 496 MB, free: 40.71 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.001549/0.3365, allocations: 1.092 MB / 497.1 MB, free: 39.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.3365, allocations: 8.438 kB / 497.1 MB, free: 39.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003385/0.3369, allocations: 149.2 kB / 497.2 MB, free: 39.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005536/0.3374, allocations: 497.3 kB / 497.7 MB, free: 39.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.915e-05/0.3375, allocations: 153 kB / 497.9 MB, free: 39.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.413e-05/0.3376, allocations: 59.47 kB / 497.9 MB, free: 39.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007226/0.3383, allocations: 0.9172 MB / 498.8 MB, free: 38.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.3383, allocations: 3.281 kB / 498.8 MB, free: 38.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.641e-05/0.3384, allocations: 25.39 kB / 498.9 MB, free: 38.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-05/0.3384, allocations: 41.48 kB / 498.9 MB, free: 38.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.3389, allocations: 298.4 kB / 499.2 MB, free: 38.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/0.3412, allocations: 3.946 MB / 0.4913 GB, free: 35.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.3417, allocations: 257.6 kB / 0.4916 GB, free: 35.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.3418, allocations: 104.9 kB / 0.4917 GB, free: 35.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/0.342, allocations: 50.81 kB / 0.4917 GB, free: 35.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.342, allocations: 45.12 kB / 0.4918 GB, free: 35.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.814e-06/0.342, allocations: 0 / 0.4918 GB, free: 35.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001677/0.3437, allocations: 1.019 MB / 0.4928 GB, free: 34.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.3437, allocations: 138.6 kB / 0.4929 GB, free: 34.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/0.3441, allocations: 0.5278 MB / 0.4934 GB, free: 34.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.3441, allocations: 29.7 kB / 0.4934 GB, free: 34.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.3443, allocations: 424.5 kB / 0.4939 GB, free: 33.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.86e-05/0.3443, allocations: 172.7 kB / 0.494 GB, free: 33.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.3445, allocations: 148.2 kB / 0.4942 GB, free: 33.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.3446, allocations: 0.5431 MB / 0.4947 GB, free: 33.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.3447, allocations: 99.36 kB / 0.4948 GB, free: 33.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.345, allocations: 0.5931 MB / 0.4954 GB, free: 32.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/0.3455, allocations: 0.6513 MB / 0.496 GB, free: 31.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3455, allocations: 2.906 kB / 0.496 GB, free: 31.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.000923/0.3465, allocations: 0.6863 MB / 0.4967 GB, free: 31.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3465, allocations: 10 kB / 0.4967 GB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.3465, allocations: 10.66 kB / 0.4967 GB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005879/0.3471, allocations: 209.6 kB / 0.4969 GB, free: 31.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.3473, allocations: 126.4 kB / 0.497 GB, free: 31.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004571/0.3478, allocations: 0.9451 MB / 0.4979 GB, free: 30.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.348, allocations: 29.58 kB / 0.498 GB, free: 30.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.348, allocations: 35.94 kB / 0.498 GB, free: 30.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.3482, allocations: 210.3 kB / 0.4982 GB, free: 30.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.234e-05/0.3483, allocations: 82.19 kB / 0.4983 GB, free: 30.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006959/0.349, allocations: 0.5023 MB / 0.4988 GB, free: 30.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.349, allocations: 9.125 kB / 0.4988 GB, free: 30.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.349, allocations: 4 kB / 0.4988 GB, free: 30.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.349, allocations: 1.875 kB / 0.4988 GB, free: 30.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.35, allocations: 1.011 MB / 0.4998 GB, free: 29.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.35, allocations: 0 / 0.4998 GB, free: 29.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004507/0.3505, allocations: 191.6 kB / 0.5 GB, free: 29.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001488/0.3506, allocations: 51.86 kB / 0.5 GB, free: 29.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.3507, allocations: 10.53 kB / 0.5 GB, free: 29.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.3518, allocations: 3.611 MB / 0.5035 GB, free: 26.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3518, allocations: 3.312 kB / 0.5035 GB, free: 26.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006936/0.3525, allocations: 0.6954 MB / 0.5042 GB, free: 25.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.3526, allocations: 116.4 kB / 0.5043 GB, free: 25.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.3527, allocations: 20.97 kB / 0.5044 GB, free: 25.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.3529, allocations: 13.72 kB / 0.5044 GB, free: 25.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.957e-05/0.3529, allocations: 43.31 kB / 0.5044 GB, free: 25.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.353, allocations: 22.12 kB / 0.5044 GB, free: 25.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002191/0.3532, allocations: 331.2 kB / 0.5047 GB, free: 25.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3532, allocations: 4.031 kB / 0.5047 GB, free: 25.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005855/0.3538, allocations: 205.2 kB / 0.5049 GB, free: 25.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003237/0.3541, allocations: 222.9 kB / 0.5052 GB, free: 25.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006299/0.3547, allocations: 398.7 kB / 0.5055 GB, free: 25.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3547, allocations: 3.438 kB / 0.5055 GB, free: 25.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000551/0.3553, allocations: 433.3 kB / 0.506 GB, free: 24.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008506/0.3561, allocations: 325 kB / 0.5063 GB, free: 24.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.3579, allocations: 1.191 MB / 0.5074 GB, free: 24.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.358, allocations: 177.7 kB / 0.5076 GB, free: 24.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004665/0.3585, allocations: 180 kB / 0.5078 GB, free: 24.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.3586, allocations: 65.08 kB / 0.5078 GB, free: 24.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/0.3586, allocations: 0 / 0.5078 GB, free: 24.05 MB / 410.7 MB Notification: Performance of Templates: time 0.01699/0.3756, allocations: 13.91 MB / 0.5214 GB, free: 15.79 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.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.7565154768526554]