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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 110.4 kB / 18.33 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 186 kB / 21.49 MB, free: 0.8242 MB / 14.72 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.544/1.544, allocations: 207.6 MB / 232.1 MB, free: 3.137 MB / 174.1 MB " [Timeout remaining time 178] 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.3635/0.3635, allocations: 44.22 MB / 328.4 MB, free: 6.25 MB / 254.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003118/0.003118, allocations: 69.91 kB / 465.5 MB, free: 45.6 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1148, allocations: 61.01 MB / 0.5142 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04888/0.1637, allocations: 44.45 MB / 0.5576 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006791/0.1705, allocations: 4.425 MB / 0.5619 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006476/0.1711, allocations: 19.88 kB / 0.562 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009463/0.1721, allocations: 329.9 kB / 0.5623 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.1741, allocations: 0.8667 MB / 0.5631 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002741/0.1768, allocations: 0.901 MB / 0.564 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002338/0.1792, allocations: 1.798 MB / 0.5658 GB, free: 8.285 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006394/0.1798, allocations: 393.4 kB / 0.5661 GB, free: 7.898 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.098/0.2778, allocations: 44.6 MB / 0.6097 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01753/0.2953, allocations: 8.01 MB / 0.6175 GB, free: 2.684 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002349/0.2956, allocations: 60 kB / 0.6176 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02433/0.3199, allocations: 10.71 MB / 0.628 GB, free: 7.789 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005868/0.3205, allocations: 267.1 kB / 0.6283 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007281/0.3212, allocations: 394.2 kB / 0.6286 GB, free: 7.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002164/0.3234, allocations: 1.082 MB / 0.6297 GB, free: 6.055 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3234, allocations: 3.938 kB / 0.6297 GB, free: 6.051 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3234, allocations: 4 kB / 0.6297 GB, free: 6.047 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.3234, allocations: 0 / 0.6297 GB, free: 6.047 MB / 494.1 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.002452/0.3259, allocations: 1.07 MB / 0.6308 GB, free: 4.922 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.3259, allocations: 15.84 kB / 0.6308 GB, free: 4.906 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003659/0.3263, allocations: 92.45 kB / 0.6309 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009322/0.3272, allocations: 0.5486 MB / 0.6314 GB, free: 4.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.3273, allocations: 96.97 kB / 0.6315 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.3275, allocations: 60.09 kB / 0.6315 GB, free: 4.062 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.3289, allocations: 0.8058 MB / 0.6323 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.329, allocations: 8 kB / 0.6323 GB, free: 3.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.899e-05/0.329, allocations: 24 kB / 0.6324 GB, free: 3.156 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.219e-05/0.3291, allocations: 40.92 kB / 0.6324 GB, free: 3.117 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.3303, allocations: 0.6438 MB / 0.633 GB, free: 2.473 MB / 494.1 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.007531/0.3379, allocations: 4.214 MB / 0.6371 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.3393, allocations: 415.6 kB / 0.6375 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005189/0.3398, allocations: 193.4 kB / 0.6377 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000737/0.3405, allocations: 0.499 MB / 0.6382 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.3406, allocations: 38.83 kB / 0.6383 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 3.487e-06/0.3406, allocations: 0 / 0.6383 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.005206/0.3458, allocations: 1.539 MB / 0.6398 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.3459, allocations: 132.5 kB / 0.6399 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.3473, allocations: 0.5732 MB / 0.6404 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.3474, allocations: 37.7 kB / 0.6405 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004431/0.3478, allocations: 351.9 kB / 0.6408 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002263/0.3481, allocations: 174.6 kB / 0.641 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003386/0.3484, allocations: 142.6 kB / 0.6411 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002606/0.3487, allocations: 378.7 kB / 0.6415 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005904/0.3493, allocations: 225.9 kB / 0.6417 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009467/0.3502, allocations: 0.5162 MB / 0.6422 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.3515, allocations: 0.7796 MB / 0.643 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.3515, allocations: 8 kB / 0.643 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001948/0.3535, allocations: 0.9338 MB / 0.6439 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.3535, allocations: 12 kB / 0.6439 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.3535, allocations: 8 kB / 0.6439 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.3547, allocations: 272.2 kB / 0.6442 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.3551, allocations: 119.8 kB / 0.6443 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.3562, allocations: 0.88 MB / 0.6451 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/0.3566, allocations: 28 kB / 0.6452 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.481e-05/0.3567, allocations: 32 kB / 0.6452 GB, free: 5.176 MB / 0.4981 GB 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.0003442/0.357, allocations: 241.5 kB / 0.6454 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.3572, allocations: 75.52 kB / 0.6455 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.3586, allocations: 0.713 MB / 0.6462 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.3586, allocations: 7.984 kB / 0.6462 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3586, allocations: 0 / 0.6462 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3586, allocations: 48 / 0.6462 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.3609, allocations: 1.4 MB / 0.6476 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3609, allocations: 0 / 0.6476 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.3619, allocations: 203.9 kB / 0.6478 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002467/0.3622, allocations: 48.8 kB / 0.6478 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/0.3622, allocations: 23.92 kB / 0.6478 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2925/0.6547, allocations: 2.97 MB / 0.6507 GB, free: 133.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.6547, allocations: 4.844 kB / 0.6507 GB, free: 133.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.6563, allocations: 1.004 MB / 0.6517 GB, free: 133.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/0.6566, allocations: 205.8 kB / 0.6519 GB, free: 133 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.381e-05/0.6567, allocations: 14.16 kB / 0.6519 GB, free: 133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.6571, allocations: 17.06 kB / 0.6519 GB, free: 133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.6572, allocations: 43.06 kB / 0.652 GB, free: 133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.097e-05/0.6573, allocations: 19.98 kB / 0.652 GB, free: 133 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006922/0.658, allocations: 421 kB / 0.6524 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.658, allocations: 1.406 kB / 0.6524 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009872/0.659, allocations: 207 kB / 0.6526 GB, free: 132.9 MB / 0.4981 GB 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.000547/0.6595, allocations: 233 kB / 0.6528 GB, free: 132.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001418/0.661, allocations: 0.5853 MB / 0.6534 GB, free: 132.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.661, allocations: 1.656 kB / 0.6534 GB, free: 132.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.6623, allocations: 470.6 kB / 0.6538 GB, free: 132.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.6641, allocations: 369.4 kB / 0.6542 GB, free: 132.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.6668, allocations: 1.419 MB / 0.6556 GB, free: 132.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/0.6673, allocations: 0.9415 MB / 0.6565 GB, free: 131.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007043/0.668, allocations: 213.1 kB / 0.6567 GB, free: 131.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.6681, allocations: 62.41 kB / 0.6568 GB, free: 131.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.192e-06/0.6681, allocations: 0 / 0.6568 GB, free: 131.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.02613/0.6943, allocations: 15.62 MB / 0.672 GB, free: 120.9 MB / 0.4981 GB " [Timeout remaining time 659] 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.21085169352591]