Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008227/0.0008227, allocations: 84.44 kB / 20.69 MB, free: 3.875 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.00108/0.00108, allocations: 169.9 kB / 23.96 MB, free: 0.6016 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 0.7873/0.7873, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.1263/0.1263, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.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.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 408.1 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.183e-05, allocations: 10.02 kB / 408.1 MB, free: 13 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2102/0.2102, allocations: 39.53 MB / 447.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005357/0.2156, allocations: 4.057 MB / 451.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006885/0.2163, allocations: 29.25 kB / 451.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008461/0.2171, allocations: 312.3 kB / 452 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.2191, allocations: 0.9042 MB / 453 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00265/0.2217, allocations: 0.9529 MB / 453.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002693/0.2244, allocations: 1.83 MB / 455.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006633/0.2251, allocations: 395.5 kB / 456.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05951/0.2846, allocations: 44.53 MB / 0.4889 GB, free: 10.71 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01052/0.2951, allocations: 7.89 MB / 0.4966 GB, free: 2.734 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002193/0.2953, allocations: 60 kB / 0.4967 GB, free: 2.676 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01344/0.3088, allocations: 10.59 MB / 0.507 GB, free: 7.977 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005514/0.3093, allocations: 287.1 kB / 0.5073 GB, free: 7.695 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006103/0.3099, allocations: 279.4 kB / 0.5076 GB, free: 7.422 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.3117, allocations: 1.116 MB / 0.5086 GB, free: 6.305 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3117, allocations: 4 kB / 0.5086 GB, free: 6.301 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3117, allocations: 0 / 0.5086 GB, free: 6.301 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.3117, allocations: 0 / 0.5086 GB, free: 6.301 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.001758/0.3135, allocations: 0.9834 MB / 0.5096 GB, free: 5.285 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.3135, allocations: 12.02 kB / 0.5096 GB, free: 5.273 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002552/0.3138, allocations: 92.47 kB / 0.5097 GB, free: 5.184 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006623/0.3145, allocations: 481.9 kB / 0.5102 GB, free: 4.684 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.3146, allocations: 152.4 kB / 0.5103 GB, free: 4.512 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/0.3147, allocations: 52.36 kB / 0.5104 GB, free: 4.461 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.3157, allocations: 1.098 MB / 0.5114 GB, free: 3.215 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.3157, allocations: 3.938 kB / 0.5114 GB, free: 3.211 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.787e-05/0.3157, allocations: 23.98 kB / 0.5115 GB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.384e-05/0.3158, allocations: 40.97 kB / 0.5115 GB, free: 3.148 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006948/0.3165, allocations: 0.6439 MB / 0.5121 GB, free: 2.504 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.002847/0.3193, allocations: 3.333 MB / 0.5154 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005738/0.3199, allocations: 399.2 kB / 0.5158 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.3201, allocations: 189.4 kB / 0.5159 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/0.3203, allocations: 52.28 kB / 0.516 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.3203, allocations: 42.2 kB / 0.516 GB, free: 14.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 2.445e-06/0.3203, allocations: 0 / 0.516 GB, free: 14.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.002096/0.3224, allocations: 1.454 MB / 0.5175 GB, free: 12.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.3225, allocations: 136.5 kB / 0.5176 GB, free: 12.72 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004383/0.3229, allocations: 0.5259 MB / 0.5181 GB, free: 12.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.3229, allocations: 33.7 kB / 0.5181 GB, free: 12.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.3231, allocations: 368.3 kB / 0.5185 GB, free: 11.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.289e-05/0.3232, allocations: 166.6 kB / 0.5186 GB, free: 11.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.3234, allocations: 142.6 kB / 0.5188 GB, free: 11.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3235, allocations: 366.8 kB / 0.5191 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.3237, allocations: 221.9 kB / 0.5193 GB, free: 10.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/0.3242, allocations: 0.5955 MB / 0.5199 GB, free: 10.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007195/0.3249, allocations: 0.7767 MB / 0.5207 GB, free: 9.227 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.3249, allocations: 15.92 kB / 0.5207 GB, free: 9.211 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001125/0.326, allocations: 0.9353 MB / 0.5216 GB, free: 8.266 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.3261, allocations: 8 kB / 0.5216 GB, free: 8.258 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.3261, allocations: 12 kB / 0.5216 GB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006904/0.3268, allocations: 267.6 kB / 0.5219 GB, free: 7.984 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.327, allocations: 123.8 kB / 0.522 GB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007011/0.3277, allocations: 0.8614 MB / 0.5228 GB, free: 6.977 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/0.3281, allocations: 31.98 kB / 0.5229 GB, free: 6.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/0.3281, allocations: 39.94 kB / 0.5229 GB, free: 6.906 MB / 426.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.0003344/0.3284, allocations: 241.5 kB / 0.5231 GB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-05/0.3285, allocations: 67.58 kB / 0.5232 GB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009203/0.3294, allocations: 0.7144 MB / 0.5239 GB, free: 5.871 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.3294, allocations: 11.94 kB / 0.5239 GB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3295, allocations: 3.688 kB / 0.5239 GB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.3295, allocations: 3.984 kB / 0.5239 GB, free: 5.855 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.3309, allocations: 1.224 MB / 0.5251 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.3309, allocations: 4 kB / 0.5251 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004851/0.3313, allocations: 192 kB / 0.5253 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00015/0.3315, allocations: 60.73 kB / 0.5254 GB, free: 4.316 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.3315, allocations: 12 kB / 0.5254 GB, free: 4.305 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.3331, allocations: 2.73 MB / 0.528 GB, free: 1.371 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3331, allocations: 0 / 0.528 GB, free: 1.371 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.3341, allocations: 0.9995 MB / 0.529 GB, free: 344 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.3343, allocations: 115.6 kB / 0.5291 GB, free: 228 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.3343, allocations: 15.94 kB / 0.5291 GB, free: 212 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.3345, allocations: 19.98 kB / 0.5292 GB, free: 192 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.778e-05/0.3346, allocations: 38.06 kB / 0.5292 GB, free: 156 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.3346, allocations: 23.98 kB / 0.5292 GB, free: 132 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000329/0.3349, allocations: 346.8 kB / 0.5295 GB, free: 15.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3349, allocations: 0 / 0.5295 GB, free: 15.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005951/0.3355, allocations: 207.9 kB / 0.5297 GB, free: 15.59 MB / 442.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.0004412/0.336, allocations: 238.6 kB / 0.53 GB, free: 15.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008304/0.3368, allocations: 0.5889 MB / 0.5306 GB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3368, allocations: 0 / 0.5306 GB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006259/0.3374, allocations: 463.6 kB / 0.531 GB, free: 14.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008222/0.3382, allocations: 320.3 kB / 0.5313 GB, free: 13.99 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.3399, allocations: 1.356 MB / 0.5326 GB, free: 12.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.3401, allocations: 333.1 kB / 0.5329 GB, free: 12.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.3402, allocations: 68.48 kB / 0.533 GB, free: 12.16 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3402, allocations: 0 / 0.533 GB, free: 12.16 MB / 442.7 MB Notification: Performance of Templates: time 0.01414/0.3544, allocations: 15.27 MB / 0.5479 GB, free: 12.91 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 6.499629373662174]