Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001128/0.001128, 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.001631/0.001631, allocations: 163.9 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.058/1.058, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2742/0.2742, allocations: 32.81 MB / 294.6 MB, free: 1.301 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 376 MB, free: 5.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.206e-05, allocations: 8.141 kB / 376 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04061/0.04064, allocations: 44.52 MB / 420.5 MB, free: 8.336 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005745/0.04639, allocations: 4.475 MB / 425 MB, free: 3.844 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007223/0.04711, allocations: 27.75 kB / 425 MB, free: 3.816 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009387/0.04805, allocations: 313.8 kB / 425.3 MB, free: 3.508 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002401/0.05045, allocations: 0.9048 MB / 426.2 MB, free: 2.598 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.05292, allocations: 0.9385 MB / 427.2 MB, free: 1.656 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002674/0.05559, allocations: 1.832 MB / 429 MB, free: 15.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007727/0.05636, allocations: 421.8 kB / 429.4 MB, free: 15.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.243/0.2993, allocations: 44.57 MB / 474 MB, free: 49.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01128/0.3106, allocations: 7.9 MB / 481.9 MB, free: 47.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002537/0.3109, allocations: 64.06 kB / 482 MB, free: 47.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01721/0.3281, allocations: 10.59 MB / 492.5 MB, free: 43.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006662/0.3287, allocations: 285.3 kB / 492.8 MB, free: 43.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005748/0.3293, allocations: 284.1 kB / 493.1 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.331, allocations: 0.8336 MB / 493.9 MB, free: 43.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.331, allocations: 0.5156 kB / 493.9 MB, free: 43.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.331, allocations: 0 / 493.9 MB, free: 43.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.547e-05/0.331, allocations: 0 / 493.9 MB, free: 43.57 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.001843/0.3328, allocations: 1.097 MB / 495 MB, free: 42.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.3329, allocations: 10.61 kB / 495 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003458/0.3332, allocations: 155.8 kB / 495.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006353/0.3339, allocations: 499.4 kB / 495.7 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.863e-05/0.334, allocations: 152.9 kB / 495.8 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.292e-05/0.334, allocations: 53.84 kB / 495.9 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007685/0.3348, allocations: 0.9215 MB / 496.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.3348, allocations: 0 / 496.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.843e-05/0.3349, allocations: 32.56 kB / 496.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.243e-05/0.3349, allocations: 39.48 kB / 496.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004639/0.3354, allocations: 299.3 kB / 497.2 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00239/0.3378, allocations: 3.935 MB / 0.4894 GB, free: 38.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004658/0.3382, allocations: 261.8 kB / 0.4896 GB, free: 38.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.3384, allocations: 100.3 kB / 0.4897 GB, free: 38.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000174/0.3385, allocations: 50.88 kB / 0.4898 GB, free: 38.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.3386, allocations: 40.62 kB / 0.4898 GB, free: 38.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.503e-06/0.3386, allocations: 4 kB / 0.4898 GB, free: 38.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001719/0.3403, allocations: 1.023 MB / 0.4908 GB, free: 37.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.3403, allocations: 134.7 kB / 0.4909 GB, free: 37.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003741/0.3407, allocations: 0.5285 MB / 0.4914 GB, free: 37.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.3407, allocations: 37.2 kB / 0.4915 GB, free: 37.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.3409, allocations: 418 kB / 0.4919 GB, free: 36.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.473e-05/0.341, allocations: 177.9 kB / 0.492 GB, free: 36.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.3411, allocations: 145.9 kB / 0.4922 GB, free: 36.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.983e-05/0.3412, allocations: 0.5479 MB / 0.4927 GB, free: 36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.3414, allocations: 97.64 kB / 0.4928 GB, free: 35.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.3417, allocations: 0.5991 MB / 0.4934 GB, free: 35.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/0.3422, allocations: 0.6535 MB / 0.494 GB, free: 34.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.3422, allocations: 3.031 kB / 0.494 GB, free: 34.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009555/0.3432, allocations: 0.6802 MB / 0.4947 GB, free: 34.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3432, allocations: 8.656 kB / 0.4947 GB, free: 34.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3432, allocations: 10.16 kB / 0.4947 GB, free: 34.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005977/0.3438, allocations: 214.5 kB / 0.4949 GB, free: 34.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.344, allocations: 125.2 kB / 0.495 GB, free: 34.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004767/0.3445, allocations: 0.9385 MB / 0.496 GB, free: 33.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.3447, allocations: 25.56 kB / 0.496 GB, free: 33.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.3448, allocations: 38.78 kB / 0.496 GB, free: 33.62 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.000153/0.3449, allocations: 210.2 kB / 0.4962 GB, free: 33.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.35e-05/0.345, allocations: 79.73 kB / 0.4963 GB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006887/0.3457, allocations: 0.507 MB / 0.4968 GB, free: 33.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.3457, allocations: 10.88 kB / 0.4968 GB, free: 33.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3457, allocations: 0 / 0.4968 GB, free: 33.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.3457, allocations: 6.812 kB / 0.4968 GB, free: 33.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.3468, allocations: 1.003 MB / 0.4978 GB, free: 32.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3468, allocations: 0 / 0.4978 GB, free: 32.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004922/0.3473, allocations: 190 kB / 0.498 GB, free: 32.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001548/0.3475, allocations: 52.53 kB / 0.498 GB, free: 32.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.3475, allocations: 17.83 kB / 0.498 GB, free: 32.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.3486, allocations: 3.613 MB / 0.5016 GB, free: 28.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3486, allocations: 3.938 kB / 0.5016 GB, free: 28.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007037/0.3493, allocations: 0.695 MB / 0.5023 GB, free: 28.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.3495, allocations: 110.8 kB / 0.5024 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.568e-05/0.3495, allocations: 24.8 kB / 0.5024 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.3497, allocations: 10 kB / 0.5024 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/0.3498, allocations: 40.27 kB / 0.5024 GB, free: 28.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.3498, allocations: 21.97 kB / 0.5024 GB, free: 28.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000222/0.35, allocations: 328.2 kB / 0.5028 GB, free: 28.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.35, allocations: 0 / 0.5028 GB, free: 28.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005755/0.3506, allocations: 208.8 kB / 0.503 GB, free: 28.21 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.0003193/0.3509, allocations: 221.5 kB / 0.5032 GB, free: 28.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006276/0.3516, allocations: 402.3 kB / 0.5036 GB, free: 28.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3516, allocations: 0 / 0.5036 GB, free: 28.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006109/0.3522, allocations: 437.4 kB / 0.504 GB, free: 27.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008586/0.353, allocations: 327.8 kB / 0.5043 GB, free: 27.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.3549, allocations: 1.196 MB / 0.5055 GB, free: 27.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.355, allocations: 178.7 kB / 0.5056 GB, free: 26.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004461/0.3554, allocations: 185 kB / 0.5058 GB, free: 26.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.3556, allocations: 57.38 kB / 0.5059 GB, free: 26.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.573e-06/0.3556, allocations: 4 kB / 0.5059 GB, free: 26.9 MB / 410.7 MB Notification: Performance of Templates: time 0.01696/0.3725, allocations: 13.91 MB / 0.5194 GB, free: 19.73 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8706011020112783]