Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001424/0.001424, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001617/0.001617, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.565/1.565, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2202/0.2202, allocations: 34.26 MB / 294.8 MB, free: 14.53 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 442.7 MB, free: 5.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.192e-05/3.356e-05, allocations: 6.281 kB / 442.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2662/0.2663, allocations: 39.68 MB / 482.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008785/0.275, allocations: 4.064 MB / 486.4 MB, free: 7.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009657/0.276, allocations: 27.47 kB / 486.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.2772, allocations: 310.9 kB / 486.7 MB, free: 7.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002774/0.2799, allocations: 0.9063 MB / 487.6 MB, free: 6.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002953/0.2829, allocations: 0.9487 MB / 488.6 MB, free: 5.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002957/0.2858, allocations: 1.833 MB / 490.4 MB, free: 4.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007096/0.2866, allocations: 389.1 kB / 490.8 MB, free: 4.629 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1281/0.4147, allocations: 44.58 MB / 0.5228 GB, free: 9.086 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02045/0.4351, allocations: 7.904 MB / 0.5306 GB, free: 1.098 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002475/0.4354, allocations: 60 kB / 0.5306 GB, free: 1.039 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02943/0.4648, allocations: 10.59 MB / 0.541 GB, free: 6.336 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007065/0.4655, allocations: 287.1 kB / 0.5412 GB, free: 6.055 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007111/0.4662, allocations: 283.3 kB / 0.5415 GB, free: 5.777 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00217/0.4684, allocations: 1.122 MB / 0.5426 GB, free: 4.648 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4684, allocations: 0 / 0.5426 GB, free: 4.648 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4684, allocations: 0 / 0.5426 GB, free: 4.648 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.4684, allocations: 4 kB / 0.5426 GB, free: 4.645 MB / 446.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.002405/0.4708, allocations: 0.9873 MB / 0.5436 GB, free: 3.625 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.4708, allocations: 12.03 kB / 0.5436 GB, free: 3.613 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003758/0.4712, allocations: 88.47 kB / 0.5437 GB, free: 3.527 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008979/0.4721, allocations: 482 kB / 0.5441 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.4723, allocations: 153.4 kB / 0.5443 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.4724, allocations: 48.36 kB / 0.5443 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.4739, allocations: 1.073 MB / 0.5454 GB, free: 1.605 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.4739, allocations: 0 / 0.5454 GB, free: 1.605 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-05/0.474, allocations: 24 kB / 0.5454 GB, free: 1.582 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.127e-05/0.4741, allocations: 40.97 kB / 0.5454 GB, free: 1.539 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.4753, allocations: 0.6478 MB / 0.5461 GB, free: 0.8945 MB / 446.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.004758/0.48, allocations: 3.327 MB / 0.5493 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009521/0.481, allocations: 396 kB / 0.5497 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.4813, allocations: 197.4 kB / 0.5499 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000282/0.4816, allocations: 50.27 kB / 0.5499 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.4817, allocations: 38.89 kB / 0.55 GB, free: 12.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.495e-06/0.4817, allocations: 0 / 0.55 GB, free: 12.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003658/0.4853, allocations: 1.445 MB / 0.5514 GB, free: 11.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.4854, allocations: 144.5 kB / 0.5515 GB, free: 11.12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006547/0.4861, allocations: 0.5143 MB / 0.552 GB, free: 10.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.451e-05/0.4861, allocations: 33.7 kB / 0.552 GB, free: 10.55 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.4865, allocations: 372.3 kB / 0.5524 GB, free: 10.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.4866, allocations: 166.6 kB / 0.5526 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.4868, allocations: 138.6 kB / 0.5527 GB, free: 9.879 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.4871, allocations: 370.8 kB / 0.553 GB, free: 9.508 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004283/0.4875, allocations: 225.9 kB / 0.5533 GB, free: 9.289 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007608/0.4882, allocations: 0.6001 MB / 0.5538 GB, free: 8.531 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.4894, allocations: 0.7728 MB / 0.5546 GB, free: 7.629 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.4894, allocations: 4 kB / 0.5546 GB, free: 7.625 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002069/0.4915, allocations: 0.9314 MB / 0.5555 GB, free: 6.684 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.4915, allocations: 12.25 kB / 0.5555 GB, free: 6.672 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/0.4915, allocations: 15.98 kB / 0.5555 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.4929, allocations: 269.2 kB / 0.5558 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004609/0.4933, allocations: 123.8 kB / 0.5559 GB, free: 6.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.4944, allocations: 0.8669 MB / 0.5568 GB, free: 5.379 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004428/0.4949, allocations: 27.94 kB / 0.5568 GB, free: 5.352 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.085e-05/0.4949, allocations: 40.05 kB / 0.5568 GB, free: 5.312 MB / 462.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.000369/0.4953, allocations: 245.8 kB / 0.5571 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.4954, allocations: 63.62 kB / 0.5571 GB, free: 5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.4969, allocations: 0.7143 MB / 0.5578 GB, free: 4.285 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.4969, allocations: 7.938 kB / 0.5578 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4969, allocations: 0 / 0.5578 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.4969, allocations: 7.938 kB / 0.5578 GB, free: 4.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/0.4992, allocations: 1.232 MB / 0.559 GB, free: 2.977 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.4992, allocations: 4 kB / 0.559 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.5002, allocations: 192 kB / 0.5592 GB, free: 2.785 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002574/0.5005, allocations: 52.8 kB / 0.5593 GB, free: 2.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.554e-05/0.5005, allocations: 19.92 kB / 0.5593 GB, free: 2.711 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002679/0.5032, allocations: 2.727 MB / 0.562 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.5032, allocations: 7.969 kB / 0.562 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.505, allocations: 0.9917 MB / 0.5629 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000278/0.5053, allocations: 123.6 kB / 0.563 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.747e-05/0.5054, allocations: 15.94 kB / 0.5631 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.5057, allocations: 12 kB / 0.5631 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.891e-05/0.5058, allocations: 39.92 kB / 0.5631 GB, free: 14.56 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/0.5059, allocations: 16 kB / 0.5631 GB, free: 14.54 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004842/0.5064, allocations: 354.8 kB / 0.5635 GB, free: 14.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5064, allocations: 0 / 0.5635 GB, free: 14.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008204/0.5072, allocations: 199.9 kB / 0.5637 GB, free: 14 MB / 478.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.0004855/0.5077, allocations: 236.3 kB / 0.5639 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.509, allocations: 0.586 MB / 0.5645 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.509, allocations: 0 / 0.5645 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.5103, allocations: 466.2 kB / 0.5649 GB, free: 12.71 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.5119, allocations: 327.2 kB / 0.5652 GB, free: 12.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.5143, allocations: 1.315 MB / 0.5665 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.5147, allocations: 348.9 kB / 0.5668 GB, free: 10.67 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000585/0.5152, allocations: 195.8 kB / 0.567 GB, free: 10.49 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.5154, allocations: 60.48 kB / 0.5671 GB, free: 10.43 MB / 478.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5154, allocations: 0 / 0.5671 GB, free: 10.43 MB / 478.1 MB Notification: Performance of Templates: time 0.02677/0.5422, allocations: 13.82 MB / 0.5806 GB, free: 12.88 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.917807839810848]