Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 113.4 kB / 17.78 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 180.1 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2021/0.2021, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.91 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3439, allocations: 60.83 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05111/0.3951, allocations: 43.92 MB / 0.5613 GB, free: 52 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006388/0.4015, allocations: 4.385 MB / 0.5656 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008205/0.4024, allocations: 19.88 kB / 0.5656 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.4035, allocations: 326 kB / 0.5659 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.4057, allocations: 0.8433 MB / 0.5668 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002324/0.408, allocations: 0.8918 MB / 0.5676 GB, free: 9.578 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002336/0.4104, allocations: 1.794 MB / 0.5694 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009331/0.4113, allocations: 477.2 kB / 0.5698 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1073/0.5187, allocations: 44.53 MB / 0.6133 GB, free: 10.28 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01908/0.5378, allocations: 7.951 MB / 0.6211 GB, free: 2.234 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003123/0.5381, allocations: 64 kB / 0.6212 GB, free: 2.172 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02559/0.5637, allocations: 10.67 MB / 0.6316 GB, free: 7.371 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005511/0.5643, allocations: 259.2 kB / 0.6318 GB, free: 7.117 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007984/0.5652, allocations: 386.2 kB / 0.6322 GB, free: 6.738 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002385/0.5676, allocations: 1.087 MB / 0.6333 GB, free: 5.648 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5676, allocations: 4 kB / 0.6333 GB, free: 5.645 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5676, allocations: 0 / 0.6333 GB, free: 5.645 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.367e-05/0.5676, allocations: 0 / 0.6333 GB, free: 5.645 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.002769/0.5704, allocations: 1.052 MB / 0.6343 GB, free: 4.543 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.5705, allocations: 8.031 kB / 0.6343 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002129/0.5707, allocations: 98.69 kB / 0.6344 GB, free: 4.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003997/0.5711, allocations: 91.98 kB / 0.6345 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009668/0.5721, allocations: 0.5327 MB / 0.635 GB, free: 3.766 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.5722, allocations: 104.9 kB / 0.6351 GB, free: 3.652 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.5723, allocations: 51.94 kB / 0.6351 GB, free: 3.602 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.5736, allocations: 0.8174 MB / 0.6359 GB, free: 2.707 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.5737, allocations: 4 kB / 0.6359 GB, free: 2.703 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.067e-05/0.5737, allocations: 23.97 kB / 0.636 GB, free: 2.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.663e-05/0.5738, allocations: 44.92 kB / 0.636 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.5749, allocations: 0.6439 MB / 0.6366 GB, free: 1.988 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.005012/0.5799, allocations: 4.205 MB / 0.6407 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008627/0.5808, allocations: 423.1 kB / 0.6411 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.5811, allocations: 213.4 kB / 0.6414 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004786/0.5816, allocations: 0.5029 MB / 0.6418 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.5817, allocations: 38.89 kB / 0.6419 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.455e-06/0.5817, allocations: 0 / 0.6419 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003273/0.585, allocations: 1.533 MB / 0.6434 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.858e-05/0.5851, allocations: 136.5 kB / 0.6435 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007136/0.5858, allocations: 0.5654 MB / 0.6441 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/0.5859, allocations: 37.7 kB / 0.6441 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.5861, allocations: 351.1 kB / 0.6444 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.5863, allocations: 169.6 kB / 0.6446 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/0.5865, allocations: 138.6 kB / 0.6447 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.5867, allocations: 378.7 kB / 0.6451 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.587, allocations: 217.9 kB / 0.6453 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006032/0.5877, allocations: 0.524 MB / 0.6458 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009694/0.5886, allocations: 0.7757 MB / 0.6466 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.5887, allocations: 4 kB / 0.6466 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001751/0.5904, allocations: 0.9448 MB / 0.6475 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.5904, allocations: 8 kB / 0.6475 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.5905, allocations: 12 kB / 0.6475 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.5916, allocations: 265.1 kB / 0.6478 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.592, allocations: 127.8 kB / 0.6479 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000983/0.593, allocations: 0.8683 MB / 0.6487 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000455/0.5935, allocations: 20 kB / 0.6488 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/0.5935, allocations: 43.98 kB / 0.6488 GB, free: 4.691 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.0003306/0.5939, allocations: 241.6 kB / 0.649 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.594, allocations: 67.19 kB / 0.6491 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.5954, allocations: 0.7096 MB / 0.6498 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.5954, allocations: 4 kB / 0.6498 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.5954, allocations: 0 / 0.6498 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.5954, allocations: 7.984 kB / 0.6498 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.5976, allocations: 1.408 MB / 0.6512 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.5976, allocations: 0 / 0.6512 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000992/0.5986, allocations: 191.7 kB / 0.6513 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002478/0.5989, allocations: 60.69 kB / 0.6514 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/0.5989, allocations: 20.09 kB / 0.6514 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/0.6015, allocations: 2.978 MB / 0.6543 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.6015, allocations: 4.031 kB / 0.6543 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.603, allocations: 0.9968 MB / 0.6553 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003085/0.6033, allocations: 204.2 kB / 0.6555 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.6035, allocations: 12 kB / 0.6555 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.6039, allocations: 15.98 kB / 0.6555 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.41e-05/0.604, allocations: 48.03 kB / 0.6556 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.604, allocations: 16 kB / 0.6556 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005251/0.6045, allocations: 423 kB / 0.656 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6046, allocations: 0 / 0.656 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008362/0.6054, allocations: 204 kB / 0.6562 GB, free: 12.68 MB / 0.5137 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.002357/0.6078, allocations: 1.681 MB / 0.6578 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.609, allocations: 0.6071 MB / 0.6584 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.6091, allocations: 5.5 kB / 0.6584 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.6103, allocations: 490.8 kB / 0.6589 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.612, allocations: 364 kB / 0.6592 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009614/0.6216, allocations: 6.522 MB / 0.6656 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/0.6221, allocations: 0.9385 MB / 0.6665 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006712/0.6228, allocations: 214.3 kB / 0.6667 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/0.6231, allocations: 235.3 kB / 0.667 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of SimCode: time 9.62e-07/0.6232, allocations: 4 kB / 0.667 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0547/0.6779, allocations: 22.45 MB / 0.6889 GB, free: 11.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.13, allocations: 12.17 kB / 0.6889 GB, free: 11.09 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches