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.0007897/0.0007897, allocations: 88.33 kB / 20.67 MB, free: 3.871 MB / 18.57 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.0009804/0.0009804, allocations: 160.9 kB / 23.95 MB, free: 0.5938 MB / 18.57 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 0.8611/0.8611, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2675/0.2675, allocations: 34.24 MB / 294.8 MB, free: 0.6836 MB / 266.7 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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.189e-05, allocations: 2.281 kB / 442.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.1887/0.1887, allocations: 39.68 MB / 481.9 MB, free: 19.17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003238/0.1919, allocations: 4.062 MB / 485.9 MB, free: 16.45 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.1922, allocations: 28.25 kB / 485.9 MB, free: 16.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005267/0.1927, allocations: 308.9 kB / 486.2 MB, free: 16.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009242/0.1936, allocations: 0.9159 MB / 487.2 MB, free: 15.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.1947, allocations: 0.9349 MB / 488.1 MB, free: 15.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008615/0.1955, allocations: 1.833 MB / 489.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003144/0.1958, allocations: 396.9 kB / 490.3 MB, free: 14.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04902/0.2449, allocations: 44.59 MB / 0.5224 GB, free: 3.703 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008587/0.2534, allocations: 7.895 MB / 0.5301 GB, free: 11.72 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.2536, allocations: 59.98 kB / 0.5301 GB, free: 11.66 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01068/0.2643, allocations: 10.61 MB / 0.5405 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002783/0.2645, allocations: 279.1 kB / 0.5408 GB, free: 0.668 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003572/0.2649, allocations: 279.3 kB / 0.541 GB, free: 404 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.2661, allocations: 1.114 MB / 0.5421 GB, free: 15.28 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2661, allocations: 0 / 0.5421 GB, free: 15.28 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2661, allocations: 7.281 kB / 0.5421 GB, free: 15.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.2661, allocations: 3.938 kB / 0.5421 GB, free: 15.27 MB / 458.7 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.001656/0.2678, allocations: 0.9834 MB / 0.5431 GB, free: 14.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.2678, allocations: 8.031 kB / 0.5431 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.987e-05/0.2679, allocations: 98.69 kB / 0.5432 GB, free: 14.14 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/0.2681, allocations: 96.39 kB / 0.5433 GB, free: 14.05 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005617/0.2687, allocations: 477.9 kB / 0.5437 GB, free: 13.55 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.2688, allocations: 164.3 kB / 0.5439 GB, free: 13.37 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.2689, allocations: 44.38 kB / 0.5439 GB, free: 13.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008471/0.2697, allocations: 1.073 MB / 0.545 GB, free: 12.12 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.2697, allocations: 3.938 kB / 0.545 GB, free: 12.12 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.492e-05/0.2698, allocations: 24 kB / 0.545 GB, free: 12.09 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.951e-05/0.2698, allocations: 36.98 kB / 0.545 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006724/0.2705, allocations: 0.6361 MB / 0.5457 GB, free: 11.42 MB / 458.7 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.002602/0.2731, allocations: 3.413 MB / 0.549 GB, free: 7.887 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005384/0.2736, allocations: 391.9 kB / 0.5494 GB, free: 7.496 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.2739, allocations: 197.4 kB / 0.5496 GB, free: 7.301 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.274, allocations: 56.28 kB / 0.5496 GB, free: 7.246 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.2741, allocations: 38.89 kB / 0.5496 GB, free: 7.199 MB / 458.7 MB Notification: Performance of pre-optimization done (n=40): time 1.823e-06/0.2741, allocations: 0 / 0.5496 GB, free: 7.199 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.001934/0.276, allocations: 1.448 MB / 0.5511 GB, free: 5.711 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.276, allocations: 136.5 kB / 0.5512 GB, free: 5.547 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004504/0.2765, allocations: 0.5848 MB / 0.5518 GB, free: 4.953 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.2765, allocations: 37.7 kB / 0.5518 GB, free: 4.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.2767, allocations: 359.9 kB / 0.5521 GB, free: 4.551 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.23e-05/0.2768, allocations: 170.6 kB / 0.5523 GB, free: 4.383 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.2769, allocations: 134.6 kB / 0.5524 GB, free: 4.246 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.277, allocations: 378.8 kB / 0.5528 GB, free: 3.867 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.2772, allocations: 221.9 kB / 0.553 GB, free: 3.652 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000381/0.2776, allocations: 0.6079 MB / 0.5536 GB, free: 2.887 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006347/0.2783, allocations: 0.7728 MB / 0.5544 GB, free: 1.984 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2783, allocations: 4 kB / 0.5544 GB, free: 1.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001046/0.2793, allocations: 0.941 MB / 0.5553 GB, free: 1.031 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2793, allocations: 8.938 kB / 0.5553 GB, free: 1.023 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.2793, allocations: 12.56 kB / 0.5553 GB, free: 1.012 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005798/0.2799, allocations: 267.7 kB / 0.5556 GB, free: 0.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.2801, allocations: 123.8 kB / 0.5557 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008335/0.281, allocations: 0.8663 MB / 0.5565 GB, free: 15.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.2812, allocations: 31.94 kB / 0.5565 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.2812, allocations: 39.98 kB / 0.5566 GB, free: 15.67 MB / 474.7 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.0002025/0.2814, allocations: 243.2 kB / 0.5568 GB, free: 15.42 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.929e-05/0.2815, allocations: 71.56 kB / 0.5569 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008336/0.2823, allocations: 0.7218 MB / 0.5576 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2824, allocations: 4 kB / 0.5576 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2824, allocations: 0 / 0.5576 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2824, allocations: 3.984 kB / 0.5576 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.2836, allocations: 1.304 MB / 0.5589 GB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2836, allocations: 5.594 kB / 0.5589 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004773/0.2841, allocations: 183.8 kB / 0.5591 GB, free: 13.06 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000135/0.2843, allocations: 64.95 kB / 0.5591 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.2843, allocations: 11.98 kB / 0.5591 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/0.2857, allocations: 2.776 MB / 0.5618 GB, free: 9.988 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2857, allocations: 0 / 0.5618 GB, free: 9.988 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009457/0.2866, allocations: 0.9965 MB / 0.5628 GB, free: 8.953 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.2868, allocations: 127.5 kB / 0.5629 GB, free: 8.828 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.2868, allocations: 12 kB / 0.5629 GB, free: 8.816 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.287, allocations: 16.11 kB / 0.563 GB, free: 8.801 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.2871, allocations: 51.81 kB / 0.563 GB, free: 8.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.2871, allocations: 19.98 kB / 0.563 GB, free: 8.73 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005586/0.2877, allocations: 419 kB / 0.5634 GB, free: 8.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2877, allocations: 0 / 0.5634 GB, free: 8.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004947/0.2882, allocations: 207.9 kB / 0.5636 GB, free: 8.117 MB / 474.7 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.001389/0.2895, allocations: 1.667 MB / 0.5653 GB, free: 6.398 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007511/0.2903, allocations: 0.5795 MB / 0.5658 GB, free: 5.82 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2903, allocations: 8 kB / 0.5658 GB, free: 5.812 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006671/0.291, allocations: 466.3 kB / 0.5663 GB, free: 5.344 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009648/0.2919, allocations: 379.6 kB / 0.5666 GB, free: 4.996 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006274/0.2982, allocations: 6.473 MB / 0.573 GB, free: 14.14 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.2984, allocations: 337.4 kB / 0.5733 GB, free: 13.78 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003777/0.2988, allocations: 204.1 kB / 0.5735 GB, free: 13.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/0.299, allocations: 236.4 kB / 0.5737 GB, free: 13.36 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.299, allocations: 0 / 0.5737 GB, free: 13.36 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03507/0.3341, allocations: 23.66 MB / 0.5968 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.295/8.629, allocations: 15.95 kB / 0.5968 GB, free: 6.066 MB / 0.4948 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 52.5] 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: 10.663356519304216]