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.001407/0.001407, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001555/0.001555, allocations: 165.7 kB / 24.27 MB, free: 144 kB / 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.547/1.547, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3308/0.3308, allocations: 34.27 MB / 295.3 MB, free: 0.6875 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.834e-06/1.834e-06, allocations: 0 / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.254e-05/3.438e-05, allocations: 2.312 kB / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05779/0.05782, allocations: 39.69 MB / 417 MB, free: 11.12 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007695/0.06552, allocations: 4.062 MB / 421 MB, free: 7.043 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007081/0.06623, allocations: 27.75 kB / 421.1 MB, free: 7.016 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.06726, allocations: 317.9 kB / 421.4 MB, free: 6.703 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002531/0.06979, allocations: 0.9048 MB / 422.3 MB, free: 5.793 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.07272, allocations: 0.9385 MB / 423.2 MB, free: 4.852 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003111/0.07583, allocations: 1.824 MB / 425 MB, free: 3.023 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000847/0.07668, allocations: 429.6 kB / 425.5 MB, free: 2.598 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.287/0.3636, allocations: 44.56 MB / 470 MB, free: 52.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01456/0.3782, allocations: 7.902 MB / 477.9 MB, free: 50.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002439/0.3784, allocations: 57.66 kB / 478 MB, free: 50.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02185/0.4003, allocations: 10.6 MB / 488.6 MB, free: 46.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005878/0.4009, allocations: 274.3 kB / 488.9 MB, free: 46.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006194/0.4015, allocations: 284.5 kB / 489.1 MB, free: 46.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002045/0.4035, allocations: 1.12 MB / 490.2 MB, free: 46.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.4035, allocations: 4.562 kB / 490.3 MB, free: 46.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4036, allocations: 1.375 kB / 490.3 MB, free: 46.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.4036, allocations: 0 / 490.3 MB, free: 46.5 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.002279/0.4058, allocations: 0.9809 MB / 491.2 MB, free: 45.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.4059, allocations: 9.656 kB / 491.2 MB, free: 45.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000468/0.4064, allocations: 152.2 kB / 491.4 MB, free: 45.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009141/0.4073, allocations: 0.4893 MB / 491.9 MB, free: 45.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.4074, allocations: 163.1 kB / 492 MB, free: 45.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.4075, allocations: 56.06 kB / 492.1 MB, free: 45.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.4088, allocations: 1.069 MB / 493.2 MB, free: 44.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.4088, allocations: 2.469 kB / 493.2 MB, free: 44.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.257e-05/0.4089, allocations: 29.78 kB / 493.2 MB, free: 44.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.416e-05/0.409, allocations: 37.91 kB / 493.2 MB, free: 44.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.41, allocations: 0.6466 MB / 493.9 MB, free: 44.42 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00483/0.4149, allocations: 3.345 MB / 497.2 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008203/0.4157, allocations: 402.1 kB / 497.6 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.416, allocations: 192.2 kB / 497.8 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002945/0.4163, allocations: 54.58 kB / 497.9 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.4163, allocations: 42.38 kB / 497.9 MB, free: 41.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.405e-06/0.4163, allocations: 0 / 497.9 MB, free: 41.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.003075/0.4194, allocations: 1.464 MB / 499.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.4194, allocations: 139.2 kB / 499.5 MB, free: 40.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005436/0.42, allocations: 0.5196 MB / 0.4883 GB, free: 40.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.42, allocations: 31.36 kB / 0.4883 GB, free: 40.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.4202, allocations: 372.5 kB / 0.4887 GB, free: 40.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.4203, allocations: 175 kB / 0.4889 GB, free: 40.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.4205, allocations: 128 kB / 0.489 GB, free: 40.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.606e-05/0.4205, allocations: 370.4 kB / 0.4893 GB, free: 39.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.4209, allocations: 230.1 kB / 0.4895 GB, free: 39.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005371/0.4214, allocations: 0.5907 MB / 0.4901 GB, free: 39.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008756/0.4223, allocations: 0.781 MB / 0.4909 GB, free: 38.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.4223, allocations: 2.781 kB / 0.4909 GB, free: 38.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001667/0.424, allocations: 0.9671 MB / 0.4918 GB, free: 38.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.424, allocations: 12.38 kB / 0.4918 GB, free: 38.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.424, allocations: 10.5 kB / 0.4919 GB, free: 38.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.4251, allocations: 269.6 kB / 0.4921 GB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/0.4255, allocations: 124.7 kB / 0.4922 GB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008064/0.4263, allocations: 0.8573 MB / 0.4931 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/0.4268, allocations: 26.97 kB / 0.4931 GB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.826e-05/0.4269, allocations: 38.91 kB / 0.4931 GB, free: 37.44 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.0003003/0.4272, allocations: 257.9 kB / 0.4934 GB, free: 37.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.4273, allocations: 72.88 kB / 0.4934 GB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.4285, allocations: 0.7031 MB / 0.4941 GB, free: 36.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.4285, allocations: 9.75 kB / 0.4941 GB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4285, allocations: 0 / 0.4941 GB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.4285, allocations: 9.047 kB / 0.4942 GB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/0.4303, allocations: 1.238 MB / 0.4954 GB, free: 36.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.4303, allocations: 3 kB / 0.4954 GB, free: 36.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009514/0.4313, allocations: 191 kB / 0.4955 GB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002678/0.4315, allocations: 61.56 kB / 0.4956 GB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/0.4316, allocations: 16.38 kB / 0.4956 GB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.4332, allocations: 2.736 MB / 0.4983 GB, free: 33.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4332, allocations: 3.562 kB / 0.4983 GB, free: 33.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.4346, allocations: 1.016 MB / 0.4993 GB, free: 33.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000242/0.4349, allocations: 111.5 kB / 0.4994 GB, free: 33.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.976e-05/0.4349, allocations: 18 kB / 0.4994 GB, free: 33.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003712/0.4353, allocations: 17.25 kB / 0.4994 GB, free: 33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.4354, allocations: 36.47 kB / 0.4995 GB, free: 33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.607e-05/0.4355, allocations: 21.33 kB / 0.4995 GB, free: 33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003564/0.4358, allocations: 345.5 kB / 0.4998 GB, free: 32.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4358, allocations: 1.5 kB / 0.4998 GB, free: 32.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008456/0.4367, allocations: 204.3 kB / 0.5 GB, free: 32.81 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.0004155/0.4371, allocations: 231.4 kB / 0.5002 GB, free: 32.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.4381, allocations: 0.5847 MB / 0.5008 GB, free: 32.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.4381, allocations: 3.219 kB / 0.5008 GB, free: 32.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.4392, allocations: 475 kB / 0.5013 GB, free: 32.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.4407, allocations: 331.1 kB / 0.5016 GB, free: 32.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.4426, allocations: 1.318 MB / 0.5029 GB, free: 31.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.4429, allocations: 344.3 kB / 0.5032 GB, free: 31.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005834/0.4435, allocations: 201.8 kB / 0.5034 GB, free: 31.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.4437, allocations: 58.78 kB / 0.5034 GB, free: 31.35 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4437, allocations: 0 / 0.5034 GB, free: 31.35 MB / 410.7 MB Notification: Performance of Templates: time 0.01994/0.4636, allocations: 13.89 MB / 0.517 GB, free: 21.66 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.720029084011912]