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.001627/0.001627, allocations: 109 kB / 19.74 MB, free: 1.859 MB / 14.72 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.002702/0.002702, allocations: 213.3 kB / 23.03 MB, free: 5.02 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.797/1.797, allocations: 207.7 MB / 233.9 MB, free: 9.766 MB / 190.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.3039/0.3039, allocations: 44.26 MB / 330.4 MB, free: 9.371 MB / 270.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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 63.91 kB / 468.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1681, allocations: 61.05 MB / 0.5168 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.3965/0.5646, allocations: 39.64 MB / 0.5555 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008079/0.5727, allocations: 4.074 MB / 0.5595 GB, free: 5.062 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009489/0.5736, allocations: 27.31 kB / 0.5595 GB, free: 5.062 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.5747, allocations: 299.9 kB / 0.5598 GB, free: 4.906 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002777/0.5775, allocations: 0.8816 MB / 0.5606 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003349/0.5808, allocations: 0.9301 MB / 0.5615 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003504/0.5843, allocations: 1.808 MB / 0.5633 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000979/0.5853, allocations: 396.4 kB / 0.5637 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1532/0.7385, allocations: 44.24 MB / 0.6069 GB, free: 5.102 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0287/0.7672, allocations: 7.942 MB / 0.6146 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004847/0.7676, allocations: 63.98 kB / 0.6147 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03826/0.8059, allocations: 10.57 MB / 0.625 GB, free: 2.32 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009774/0.8069, allocations: 267.2 kB / 0.6253 GB, free: 2.059 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001312/0.8082, allocations: 326.6 kB / 0.6256 GB, free: 1.738 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003169/0.8114, allocations: 1.098 MB / 0.6267 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.8114, allocations: 0 / 0.6267 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.8114, allocations: 0 / 0.6267 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.246e-05/0.8114, allocations: 0 / 0.6267 GB, free: 0.6367 MB / 462.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.00399/0.8154, allocations: 0.9912 MB / 0.6276 GB, free: 15.61 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.228e-05/0.8155, allocations: 8.031 kB / 0.6276 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005728/0.816, allocations: 92.45 kB / 0.6277 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.8174, allocations: 482.7 kB / 0.6282 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.8176, allocations: 156.3 kB / 0.6283 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.8177, allocations: 48.38 kB / 0.6284 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.8198, allocations: 1.101 MB / 0.6295 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.8198, allocations: 3.938 kB / 0.6295 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.21e-05/0.8199, allocations: 27.94 kB / 0.6295 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.956e-05/0.82, allocations: 32.98 kB / 0.6295 GB, free: 13.49 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.8214, allocations: 0.6406 MB / 0.6301 GB, free: 12.85 MB / 478.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.00591/0.8273, allocations: 3.353 MB / 0.6334 GB, free: 9.387 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.8283, allocations: 391.8 kB / 0.6338 GB, free: 8.996 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004015/0.8287, allocations: 201.4 kB / 0.634 GB, free: 8.797 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003702/0.8291, allocations: 56.22 kB / 0.634 GB, free: 8.742 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.8291, allocations: 38.89 kB / 0.6341 GB, free: 8.695 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 3.146e-06/0.8291, allocations: 0 / 0.6341 GB, free: 8.695 MB / 478.1 MB Notification: Performance of matching and sorting (n=45): time 0.003798/0.8329, allocations: 1.462 MB / 0.6355 GB, free: 7.191 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.8331, allocations: 136.5 kB / 0.6356 GB, free: 7.027 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.8341, allocations: 0.522 MB / 0.6361 GB, free: 6.492 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.062e-05/0.8341, allocations: 33.7 kB / 0.6362 GB, free: 6.453 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004096/0.8346, allocations: 372.3 kB / 0.6365 GB, free: 6.086 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/0.8348, allocations: 174.6 kB / 0.6367 GB, free: 5.914 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003397/0.8351, allocations: 138.6 kB / 0.6368 GB, free: 5.773 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002523/0.8354, allocations: 370.8 kB / 0.6372 GB, free: 5.402 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005796/0.836, allocations: 221.9 kB / 0.6374 GB, free: 5.184 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009511/0.8369, allocations: 0.5957 MB / 0.638 GB, free: 4.43 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.8382, allocations: 0.7766 MB / 0.6387 GB, free: 3.523 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.8382, allocations: 4 kB / 0.6387 GB, free: 3.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002157/0.8404, allocations: 0.9275 MB / 0.6396 GB, free: 2.582 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.576e-05/0.8404, allocations: 20.14 kB / 0.6397 GB, free: 2.562 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.8405, allocations: 12 kB / 0.6397 GB, free: 2.551 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001487/0.8419, allocations: 270.9 kB / 0.6399 GB, free: 2.285 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006147/0.8426, allocations: 115.8 kB / 0.64 GB, free: 2.172 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.8443, allocations: 0.873 MB / 0.6409 GB, free: 1.273 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000586/0.8449, allocations: 20 kB / 0.6409 GB, free: 1.254 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/0.845, allocations: 39.98 kB / 0.641 GB, free: 1.215 MB / 478.1 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.0004968/0.8455, allocations: 245.6 kB / 0.6412 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.8457, allocations: 63.58 kB / 0.6412 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.8472, allocations: 0.7167 MB / 0.6419 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/0.8472, allocations: 7.984 kB / 0.642 GB, free: 172 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.8472, allocations: 4 kB / 0.642 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.8472, allocations: 0 / 0.642 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/0.8497, allocations: 1.237 MB / 0.6432 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.8497, allocations: 4 kB / 0.6432 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.8507, allocations: 192 kB / 0.6434 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002547/0.851, allocations: 56.73 kB / 0.6434 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/0.851, allocations: 19.92 kB / 0.6434 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002921/0.8539, allocations: 2.736 MB / 0.6461 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.854, allocations: 0 / 0.6461 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.8558, allocations: 1.007 MB / 0.6471 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003571/0.8561, allocations: 127.5 kB / 0.6472 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.8562, allocations: 8 kB / 0.6472 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003994/0.8566, allocations: 16 kB / 0.6472 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.8568, allocations: 43.86 kB / 0.6473 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/0.8568, allocations: 16 kB / 0.6473 GB, free: 10.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005348/0.8574, allocations: 354.8 kB / 0.6476 GB, free: 10.06 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8574, allocations: 0 / 0.6476 GB, free: 10.06 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009856/0.8583, allocations: 199.9 kB / 0.6478 GB, free: 9.867 MB / 494.1 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.000739/0.8591, allocations: 246.1 kB / 0.648 GB, free: 9.625 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.8605, allocations: 0.5819 MB / 0.6486 GB, free: 9.047 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.8605, allocations: 0 / 0.6486 GB, free: 9.047 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001469/0.862, allocations: 474.9 kB / 0.6491 GB, free: 8.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/0.8637, allocations: 307.2 kB / 0.6494 GB, free: 8.289 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.8672, allocations: 1.411 MB / 0.6507 GB, free: 6.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.8676, allocations: 341 kB / 0.6511 GB, free: 6.48 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007538/0.8684, allocations: 207.6 kB / 0.6513 GB, free: 6.289 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.8686, allocations: 60.48 kB / 0.6513 GB, free: 6.23 MB / 494.1 MB Notification: Performance of SimCode: time 2.195e-06/0.8686, allocations: 0 / 0.6513 GB, free: 6.23 MB / 494.1 MB Notification: Performance of Templates: time 0.03059/0.8992, allocations: 13.88 MB / 0.6649 GB, free: 8.375 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: 7.180967052467167]