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.00118/0.00118, allocations: 113.4 kB / 17.78 MB, free: 5.262 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.001177/0.001177, allocations: 184.9 kB / 18.71 MB, free: 4.344 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.334/1.334, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2133/0.2133, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3545, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.06031/0.4148, allocations: 43.92 MB / 0.5613 GB, free: 56 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007756/0.4226, allocations: 4.381 MB / 0.5656 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.4238, allocations: 19.88 kB / 0.5656 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.4251, allocations: 326 kB / 0.5659 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002692/0.4278, allocations: 0.8472 MB / 0.5668 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002684/0.4305, allocations: 0.8916 MB / 0.5676 GB, free: 9.582 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002516/0.433, allocations: 1.79 MB / 0.5694 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009299/0.434, allocations: 473.3 kB / 0.5698 GB, free: 7.316 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1063/0.5403, allocations: 44.54 MB / 0.6133 GB, free: 10.29 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01687/0.5572, allocations: 7.959 MB / 0.6211 GB, free: 2.234 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000345/0.5576, allocations: 60 kB / 0.6212 GB, free: 2.176 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0261/0.5837, allocations: 10.67 MB / 0.6316 GB, free: 7.375 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000533/0.5843, allocations: 263.2 kB / 0.6318 GB, free: 7.117 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008338/0.5851, allocations: 394.2 kB / 0.6322 GB, free: 6.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002364/0.5875, allocations: 1.083 MB / 0.6333 GB, free: 5.645 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.5875, allocations: 0 / 0.6333 GB, free: 5.645 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5875, allocations: 0 / 0.6333 GB, free: 5.645 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.305e-05/0.5876, 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.00358/0.5912, allocations: 1.052 MB / 0.6343 GB, free: 4.543 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.5912, allocations: 8.031 kB / 0.6343 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002242/0.5915, allocations: 94.7 kB / 0.6344 GB, free: 4.434 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004776/0.592, allocations: 91.98 kB / 0.6345 GB, free: 4.344 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.5932, allocations: 0.5327 MB / 0.635 GB, free: 3.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.5933, allocations: 96.97 kB / 0.6351 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.5934, allocations: 55.92 kB / 0.6351 GB, free: 3.609 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.5948, allocations: 0.8213 MB / 0.6359 GB, free: 2.711 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.5948, allocations: 7.938 kB / 0.6359 GB, free: 2.703 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-05/0.5949, allocations: 16 kB / 0.636 GB, free: 2.688 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.427e-05/0.595, allocations: 44.97 kB / 0.636 GB, free: 2.645 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.5963, allocations: 0.6478 MB / 0.6366 GB, free: 1.992 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.005682/0.602, allocations: 4.221 MB / 0.6408 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009304/0.6029, allocations: 408 kB / 0.6412 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004043/0.6033, allocations: 209.4 kB / 0.6414 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005014/0.6038, allocations: 0.4989 MB / 0.6418 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.6039, allocations: 38.89 kB / 0.6419 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.324e-06/0.6039, allocations: 0 / 0.6419 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003329/0.6072, allocations: 1.541 MB / 0.6434 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/0.6073, allocations: 136.5 kB / 0.6435 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007034/0.608, allocations: 0.5654 MB / 0.6441 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/0.6081, allocations: 37.7 kB / 0.6441 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.6083, allocations: 351.1 kB / 0.6444 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.6085, allocations: 165.6 kB / 0.6446 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/0.6087, allocations: 138.6 kB / 0.6447 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.6089, allocations: 378.7 kB / 0.6451 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003831/0.6093, allocations: 225.9 kB / 0.6453 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/0.6098, allocations: 0.5201 MB / 0.6458 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.6109, allocations: 0.7757 MB / 0.6466 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.6109, allocations: 4 kB / 0.6466 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001785/0.6127, allocations: 0.9414 MB / 0.6475 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.6127, allocations: 10.97 kB / 0.6475 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.6127, allocations: 12.09 kB / 0.6475 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.6138, allocations: 263.6 kB / 0.6478 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/0.6142, allocations: 127.8 kB / 0.6479 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009382/0.6152, allocations: 0.8606 MB / 0.6487 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.6157, allocations: 32.05 kB / 0.6488 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.38e-05/0.6158, allocations: 36.05 kB / 0.6488 GB, free: 4.703 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.0003153/0.6161, allocations: 249.5 kB / 0.649 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.6162, allocations: 63.25 kB / 0.6491 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.6175, allocations: 0.7138 MB / 0.6498 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.6176, allocations: 7.984 kB / 0.6498 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.6176, allocations: 4 kB / 0.6498 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.6176, allocations: 0 / 0.6498 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.6198, allocations: 1.404 MB / 0.6512 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.6198, allocations: 3.938 kB / 0.6512 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009898/0.6208, allocations: 196 kB / 0.6514 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002494/0.621, allocations: 64.58 kB / 0.6514 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.622e-05/0.6211, allocations: 19.98 kB / 0.6514 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/0.6237, allocations: 2.971 MB / 0.6543 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.6237, allocations: 7.969 kB / 0.6543 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.6252, allocations: 1.001 MB / 0.6553 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003418/0.6256, allocations: 200.2 kB / 0.6555 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.6257, allocations: 12 kB / 0.6555 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/0.6261, allocations: 15.98 kB / 0.6555 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/0.6262, allocations: 39.89 kB / 0.6556 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/0.6262, allocations: 19.98 kB / 0.6556 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005268/0.6268, allocations: 423.1 kB / 0.656 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6268, allocations: 4 kB / 0.656 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007933/0.6276, allocations: 200 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.002317/0.6299, allocations: 1.679 MB / 0.6578 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001279/0.6312, allocations: 0.6047 MB / 0.6584 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.6312, allocations: 7.938 kB / 0.6584 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.6324, allocations: 490.3 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.001704/0.6342, allocations: 374.6 kB / 0.6593 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009879/0.644, allocations: 6.513 MB / 0.6656 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.6446, allocations: 0.9346 MB / 0.6665 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006864/0.6453, allocations: 214.3 kB / 0.6667 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/0.6457, allocations: 231.4 kB / 0.667 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of SimCode: time 9.91e-07/0.6457, allocations: 0 / 0.667 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06679/0.7125, allocations: 22.46 MB / 0.6889 GB, free: 11.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.56, allocations: 8.234 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