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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 116.7 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 193.2 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 249.8 MB, free: 3.652 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2183/0.2183, allocations: 44.92 MB / 349.6 MB, free: 1.762 MB / 270.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 67.7 kB / 491.8 MB, free: 30.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1129, allocations: 64.26 MB / 0.543 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05174/0.1647, allocations: 44.12 MB / 0.5861 GB, free: 7.863 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00651/0.1712, allocations: 4.397 MB / 0.5904 GB, free: 3.453 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005428/0.1717, allocations: 19.88 kB / 0.5904 GB, free: 3.434 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009359/0.1727, allocations: 325.9 kB / 0.5907 GB, free: 3.113 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.1746, allocations: 0.8589 MB / 0.5916 GB, free: 2.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.1769, allocations: 0.9002 MB / 0.5924 GB, free: 1.352 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00208/0.179, allocations: 1.798 MB / 0.5942 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006102/0.1796, allocations: 429.3 kB / 0.5946 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3469/0.5265, allocations: 44.61 MB / 0.6382 GB, free: 5.918 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01384/0.5403, allocations: 8.01 MB / 0.646 GB, free: 3.492 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002915/0.5406, allocations: 60.09 kB / 0.646 GB, free: 3.492 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0196/0.5602, allocations: 10.71 MB / 0.6565 GB, free: 14.46 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007112/0.5609, allocations: 267.8 kB / 0.6568 GB, free: 14.39 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008413/0.5617, allocations: 393.8 kB / 0.6571 GB, free: 14.36 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001936/0.5637, allocations: 1.093 MB / 0.6582 GB, free: 13.95 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.5637, allocations: 3.625 kB / 0.6582 GB, free: 13.95 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5637, allocations: 4 kB / 0.6582 GB, free: 13.94 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.967e-05/0.5637, allocations: 0 / 0.6582 GB, free: 13.94 MB / 478.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.002208/0.5659, allocations: 1.069 MB / 0.6593 GB, free: 13.19 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.566, allocations: 6.75 kB / 0.6593 GB, free: 13.19 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000123/0.5661, allocations: 97.08 kB / 0.6594 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000349/0.5664, allocations: 96.41 kB / 0.6594 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.5674, allocations: 0.5333 MB / 0.66 GB, free: 12.46 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.5676, allocations: 101.2 kB / 0.6601 GB, free: 12.35 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.5677, allocations: 54.39 kB / 0.6601 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.569, allocations: 0.8212 MB / 0.6609 GB, free: 11.43 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.569, allocations: 0 / 0.6609 GB, free: 11.43 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.956e-05/0.5691, allocations: 28.77 kB / 0.6609 GB, free: 11.4 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.948e-05/0.5691, allocations: 40.97 kB / 0.661 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.5703, allocations: 0.6411 MB / 0.6616 GB, free: 10.74 MB / 478.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.005366/0.5756, allocations: 4.223 MB / 0.6657 GB, free: 6.293 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008986/0.5765, allocations: 392.7 kB / 0.6661 GB, free: 5.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000344/0.5769, allocations: 193.4 kB / 0.6663 GB, free: 5.719 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005708/0.5774, allocations: 0.5045 MB / 0.6668 GB, free: 5.105 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.5775, allocations: 40.77 kB / 0.6668 GB, free: 5.059 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 1.633e-06/0.5775, allocations: 0 / 0.6668 GB, free: 5.059 MB / 478.1 MB Notification: Performance of matching and sorting (n=45): time 0.003402/0.5809, allocations: 1.543 MB / 0.6683 GB, free: 3.465 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.431e-05/0.581, allocations: 136.5 kB / 0.6685 GB, free: 3.301 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007744/0.5817, allocations: 0.5655 MB / 0.669 GB, free: 2.723 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/0.5818, allocations: 33.7 kB / 0.669 GB, free: 2.684 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.5821, allocations: 372.7 kB / 0.6694 GB, free: 2.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.5822, allocations: 170.1 kB / 0.6696 GB, free: 2.156 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.5825, allocations: 134.6 kB / 0.6697 GB, free: 2.02 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.5827, allocations: 378.7 kB / 0.6701 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/0.5831, allocations: 225.8 kB / 0.6703 GB, free: 1.422 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006731/0.5838, allocations: 0.5232 MB / 0.6708 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.5849, allocations: 0.7758 MB / 0.6715 GB, free: 15.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.5849, allocations: 4 kB / 0.6715 GB, free: 15.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001878/0.5867, allocations: 0.9342 MB / 0.6725 GB, free: 15.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.5868, allocations: 8 kB / 0.6725 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.5868, allocations: 12 kB / 0.6725 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.5879, allocations: 273.8 kB / 0.6727 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.5883, allocations: 128.6 kB / 0.6729 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.5894, allocations: 0.8683 MB / 0.6737 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004508/0.5898, allocations: 30.8 kB / 0.6737 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.235e-05/0.5899, allocations: 40 kB / 0.6738 GB, free: 13.67 MB / 494.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.0003797/0.5903, allocations: 245.7 kB / 0.674 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.5904, allocations: 71.64 kB / 0.6741 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.5918, allocations: 0.7066 MB / 0.6748 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.5918, allocations: 4 kB / 0.6748 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.5918, allocations: 3.984 kB / 0.6748 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5918, allocations: 4 kB / 0.6748 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/0.5943, allocations: 1.403 MB / 0.6761 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.5943, allocations: 4 kB / 0.6761 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.5953, allocations: 194.9 kB / 0.6763 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002426/0.5956, allocations: 56.75 kB / 0.6764 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/0.5956, allocations: 16.03 kB / 0.6764 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002658/0.5983, allocations: 2.979 MB / 0.6793 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.5983, allocations: 7.031 kB / 0.6793 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.5999, allocations: 0.9978 MB / 0.6803 GB, free: 6.652 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/0.6003, allocations: 196.6 kB / 0.6805 GB, free: 6.441 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.296e-05/0.6004, allocations: 16 kB / 0.6805 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/0.6007, allocations: 15.98 kB / 0.6805 GB, free: 6.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.076e-05/0.6008, allocations: 47.7 kB / 0.6806 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/0.6009, allocations: 20.86 kB / 0.6806 GB, free: 6.348 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005309/0.6014, allocations: 423 kB / 0.681 GB, free: 5.934 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6014, allocations: 0 / 0.681 GB, free: 5.934 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007852/0.6022, allocations: 207.8 kB / 0.6812 GB, free: 5.73 MB / 494.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.002312/0.6045, allocations: 1.681 MB / 0.6828 GB, free: 4.039 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.6057, allocations: 0.5843 MB / 0.6834 GB, free: 3.484 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.6057, allocations: 0 / 0.6834 GB, free: 3.484 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.6069, allocations: 481.2 kB / 0.6839 GB, free: 3.016 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.6085, allocations: 377.3 kB / 0.6842 GB, free: 2.684 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009928/0.6184, allocations: 6.518 MB / 0.6906 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006964/0.6191, allocations: 0.9385 MB / 0.6915 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007499/0.6199, allocations: 212.8 kB / 0.6917 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003632/0.6202, allocations: 231.4 kB / 0.6919 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of SimCode: time 7.92e-07/0.6202, allocations: 0 / 0.6919 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06625/0.6865, allocations: 22.27 MB / 0.7137 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.04, allocations: 12 kB / 0.7137 GB, free: 4.605 MB / 0.5137 GB " [Timeout remaining time 646] (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 --stepSize=0.000201919 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 17.26761418581009]