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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008687/0.0008689, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009346/0.0009348, allocations: 185 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.4 MB / 223.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3593/0.3593, allocations: 43.56 MB / 315 MB, free: 8.98 MB / 254.1 MB 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.0005801/0.0005802, allocations: 18.75 kB / 384.6 MB, free: 7.879 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1456, allocations: 58.86 MB / 443.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2811/0.4268, allocations: 45.36 MB / 488.8 MB, free: 22.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007763/0.4346, allocations: 4.472 MB / 493.3 MB, free: 19.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.4358, allocations: 21.25 kB / 493.3 MB, free: 19.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.4371, allocations: 270.2 kB / 493.6 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002952/0.4401, allocations: 0.8095 MB / 494.4 MB, free: 19.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003196/0.4433, allocations: 0.794 MB / 495.2 MB, free: 18.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003583/0.4469, allocations: 2.67 MB / 497.8 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.4479, allocations: 394.1 kB / 498.2 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1166/0.5646, allocations: 43.33 MB / 0.5289 GB, free: 8.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01811/0.5827, allocations: 7.959 MB / 0.5366 GB, free: 464 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003508/0.5831, allocations: 32 kB / 0.5367 GB, free: 432 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02393/0.6071, allocations: 10.63 MB / 0.5471 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007138/0.6078, allocations: 231.3 kB / 0.5473 GB, free: 5.434 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.6089, allocations: 387.9 kB / 0.5476 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.611, allocations: 1.043 MB / 0.5487 GB, free: 4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.611, allocations: 0 / 0.5487 GB, free: 4 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.611, allocations: 7.938 kB / 0.5487 GB, free: 3.992 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.9e-05/0.6111, allocations: 0 / 0.5487 GB, free: 3.992 MB / 414.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.002768/0.6139, allocations: 0.9113 MB / 0.5496 GB, free: 3.035 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.6139, allocations: 12.03 kB / 0.5496 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005015/0.6144, allocations: 92.08 kB / 0.5497 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.6156, allocations: 0.5014 MB / 0.5501 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.6157, allocations: 101 kB / 0.5502 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.6159, allocations: 55.17 kB / 0.5503 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.6174, allocations: 0.8175 MB / 0.5511 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.6174, allocations: 7.938 kB / 0.5511 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-05/0.6175, allocations: 27.98 kB / 0.5511 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.279e-05/0.6176, allocations: 36.98 kB / 0.5512 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.6188, allocations: 0.64 MB / 0.5518 GB, free: 0.625 MB / 414.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.005155/0.624, allocations: 4.229 MB / 0.5559 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008956/0.6249, allocations: 415.9 kB / 0.5563 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/0.6253, allocations: 205.4 kB / 0.5565 GB, free: 11.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000492/0.6258, allocations: 0.5028 MB / 0.557 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.6258, allocations: 38.89 kB / 0.557 GB, free: 10.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.004e-06/0.6258, allocations: 0 / 0.557 GB, free: 10.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003524/0.6294, allocations: 1.522 MB / 0.5585 GB, free: 9.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/0.6294, allocations: 136.5 kB / 0.5587 GB, free: 9.086 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007102/0.6302, allocations: 0.5692 MB / 0.5592 GB, free: 8.508 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/0.6302, allocations: 37.69 kB / 0.5592 GB, free: 8.465 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.6305, allocations: 354.9 kB / 0.5596 GB, free: 8.109 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.6306, allocations: 161.8 kB / 0.5597 GB, free: 7.949 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.921e-05/0.6308, allocations: 65.67 kB / 0.5598 GB, free: 7.879 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.6309, allocations: 370.8 kB / 0.5602 GB, free: 7.508 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.6313, allocations: 229.9 kB / 0.5604 GB, free: 7.285 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000579/0.6319, allocations: 0.524 MB / 0.5609 GB, free: 6.625 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.633, allocations: 0.7757 MB / 0.5616 GB, free: 5.723 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.633, allocations: 4 kB / 0.5616 GB, free: 5.719 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00193/0.6349, allocations: 0.9405 MB / 0.5626 GB, free: 4.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.635, allocations: 12.94 kB / 0.5626 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.635, allocations: 8 kB / 0.5626 GB, free: 4.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.6362, allocations: 276.6 kB / 0.5629 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.6366, allocations: 123.8 kB / 0.563 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009616/0.6376, allocations: 0.8573 MB / 0.5638 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006093/0.6382, allocations: 51.97 kB / 0.5639 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.117e-05/0.6383, allocations: 36 kB / 0.5639 GB, free: 3.387 MB / 430.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.0004001/0.6387, allocations: 245.5 kB / 0.5641 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.6389, allocations: 79.03 kB / 0.5642 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/0.6404, allocations: 0.7173 MB / 0.5649 GB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.6404, allocations: 4 kB / 0.5649 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.6405, allocations: 0 / 0.5649 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.6405, allocations: 3.984 kB / 0.5649 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/0.643, allocations: 1.407 MB / 0.5663 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.643, allocations: 4 kB / 0.5663 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000948/0.6439, allocations: 191.8 kB / 0.5665 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003002/0.6443, allocations: 61.02 kB / 0.5665 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.034e-05/0.6443, allocations: 15.98 kB / 0.5665 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002639/0.647, allocations: 2.805 MB / 0.5693 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.647, allocations: 0 / 0.5693 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.6486, allocations: 0.9996 MB / 0.5703 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003464/0.649, allocations: 204.2 kB / 0.5705 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.6491, allocations: 12 kB / 0.5705 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/0.6496, allocations: 31.95 kB / 0.5705 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.6497, allocations: 47.81 kB / 0.5705 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.817e-05/0.6498, allocations: 20 kB / 0.5706 GB, free: 12.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006038/0.6504, allocations: 423 kB / 0.571 GB, free: 11.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6504, allocations: 0 / 0.571 GB, free: 11.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001027/0.6514, allocations: 212 kB / 0.5712 GB, free: 11.51 MB / 446.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.0006668/0.6521, allocations: 224.6 kB / 0.5714 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.6534, allocations: 0.6084 MB / 0.572 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6534, allocations: 0 / 0.572 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.6547, allocations: 482.6 kB / 0.5724 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.6568, allocations: 361.6 kB / 0.5728 GB, free: 9.848 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.6596, allocations: 1.713 MB / 0.5744 GB, free: 8.086 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006269/0.6603, allocations: 0.9385 MB / 0.5754 GB, free: 7.121 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009454/0.6612, allocations: 213.9 kB / 0.5756 GB, free: 6.918 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.6614, allocations: 63.42 kB / 0.5756 GB, free: 6.855 MB / 446.1 MB Notification: Performance of SimCode: time 1.532e-06/0.6614, allocations: 0 / 0.5756 GB, free: 6.855 MB / 446.1 MB Notification: Performance of Templates: time 0.02626/0.6877, allocations: 14.45 MB / 0.5897 GB, free: 8.441 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches