Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.001347/0.001347, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.001436/0.001436, allocations: 202.2 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.451/1.451, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] 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.2551/0.2551, allocations: 46.94 MB / 360.8 MB, free: 3.938 MB / 286.1 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.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 75.88 kB / 0.4962 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.323, allocations: 66.08 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02266/0.3456, allocations: 18.68 MB / 0.5789 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006523/0.3522, allocations: 4.006 MB / 0.5829 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000652/0.3528, allocations: 27.75 kB / 0.5829 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.3539, allocations: 306 kB / 0.5832 GB, free: 12.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002004/0.3559, allocations: 0.8784 MB / 0.584 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002263/0.3581, allocations: 0.9156 MB / 0.5849 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002125/0.3603, allocations: 1.809 MB / 0.5867 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005925/0.3608, allocations: 401.5 kB / 0.5871 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.3627, allocations: 0.9652 MB / 0.588 GB, free: 7.961 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009865/0.3637, allocations: 0.6654 MB / 0.5887 GB, free: 7.293 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.3638, allocations: 56 kB / 0.5887 GB, free: 7.238 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007202/0.3645, allocations: 275.6 kB / 0.589 GB, free: 6.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000294/0.3648, allocations: 271.2 kB / 0.5892 GB, free: 6.703 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003717/0.3652, allocations: 334.6 kB / 0.5896 GB, free: 6.375 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.3665, allocations: 1.078 MB / 0.5906 GB, free: 5.293 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3665, allocations: 0 / 0.5906 GB, free: 5.293 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3665, allocations: 3.938 kB / 0.5906 GB, free: 5.289 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.3665, allocations: 0 / 0.5906 GB, free: 5.289 MB / 430.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.002142/0.3687, allocations: 0.9912 MB / 0.5916 GB, free: 4.266 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3687, allocations: 8.031 kB / 0.5916 GB, free: 4.258 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001351/0.3688, allocations: 98.7 kB / 0.5917 GB, free: 4.152 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003428/0.3692, allocations: 100.4 kB / 0.5918 GB, free: 4.055 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009233/0.3701, allocations: 474.8 kB / 0.5922 GB, free: 3.562 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.3703, allocations: 148.4 kB / 0.5924 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.3704, allocations: 64.05 kB / 0.5924 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.3718, allocations: 1.068 MB / 0.5935 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.3718, allocations: 0 / 0.5935 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.011e-05/0.3719, allocations: 31.92 kB / 0.5935 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.086e-05/0.372, allocations: 40.92 kB / 0.5936 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.3731, allocations: 0.6439 MB / 0.5942 GB, free: 1.41 MB / 430.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.00474/0.3778, allocations: 3.402 MB / 0.5975 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009048/0.3787, allocations: 403 kB / 0.5979 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.3791, allocations: 193.4 kB / 0.5981 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002728/0.3793, allocations: 48.23 kB / 0.5981 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/0.3794, allocations: 42.88 kB / 0.5982 GB, free: 13.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.044e-06/0.3794, allocations: 0 / 0.5982 GB, free: 13.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003256/0.3826, allocations: 1.459 MB / 0.5996 GB, free: 11.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.3827, allocations: 132.5 kB / 0.5997 GB, free: 11.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006972/0.3834, allocations: 0.5926 MB / 0.6003 GB, free: 10.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/0.3835, allocations: 29.7 kB / 0.6003 GB, free: 10.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/0.3838, allocations: 363.9 kB / 0.6007 GB, free: 10.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.3839, allocations: 170.5 kB / 0.6008 GB, free: 10.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.3841, allocations: 146.6 kB / 0.601 GB, free: 10.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.3843, allocations: 374.7 kB / 0.6013 GB, free: 9.848 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.3847, allocations: 225.9 kB / 0.6015 GB, free: 9.625 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006976/0.3854, allocations: 0.5923 MB / 0.6021 GB, free: 8.879 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.3865, allocations: 0.7796 MB / 0.6029 GB, free: 7.973 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3865, allocations: 4 kB / 0.6029 GB, free: 7.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00178/0.3883, allocations: 0.934 MB / 0.6038 GB, free: 7.027 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.3883, allocations: 11.94 kB / 0.6038 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.3883, allocations: 11.98 kB / 0.6038 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.3894, allocations: 268.7 kB / 0.6041 GB, free: 6.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.3898, allocations: 123.8 kB / 0.6042 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.391, allocations: 0.8747 MB / 0.605 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.3914, allocations: 24.06 kB / 0.6051 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.789e-05/0.3915, allocations: 43.98 kB / 0.6051 GB, free: 5.652 MB / 446.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.0004087/0.3919, allocations: 242.2 kB / 0.6053 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.392, allocations: 67.58 kB / 0.6054 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.3935, allocations: 0.7163 MB / 0.6061 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.3935, allocations: 4 kB / 0.6061 GB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.3935, allocations: 4 kB / 0.6061 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3935, allocations: 3.984 kB / 0.6061 GB, free: 4.609 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.3958, allocations: 1.29 MB / 0.6074 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.3958, allocations: 4.219 kB / 0.6074 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009949/0.3968, allocations: 199.7 kB / 0.6076 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/0.3971, allocations: 56.73 kB / 0.6076 GB, free: 2.984 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.091e-05/0.3971, allocations: 15.98 kB / 0.6076 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00271/0.3998, allocations: 2.769 MB / 0.6103 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3998, allocations: 3.938 kB / 0.6103 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.4015, allocations: 1.005 MB / 0.6113 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003349/0.4019, allocations: 127.5 kB / 0.6115 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.537e-05/0.402, allocations: 16 kB / 0.6115 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.4023, allocations: 11.98 kB / 0.6115 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.4024, allocations: 43.88 kB / 0.6115 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.4025, allocations: 19.98 kB / 0.6115 GB, free: 14.71 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000564/0.403, allocations: 423 kB / 0.6119 GB, free: 14.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.403, allocations: 3.938 kB / 0.6119 GB, free: 14.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007933/0.4038, allocations: 203.9 kB / 0.6121 GB, free: 14.09 MB / 462.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.002319/0.4062, allocations: 1.676 MB / 0.6138 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.4075, allocations: 0.5842 MB / 0.6143 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4075, allocations: 0 / 0.6143 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.4087, allocations: 475.7 kB / 0.6148 GB, free: 11.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.4105, allocations: 379.6 kB / 0.6152 GB, free: 10.94 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.4213, allocations: 6.534 MB / 0.6215 GB, free: 4.016 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.4217, allocations: 337.4 kB / 0.6219 GB, free: 3.66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007614/0.4225, allocations: 217 kB / 0.6221 GB, free: 3.461 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/0.4229, allocations: 231.4 kB / 0.6223 GB, free: 3.234 MB / 462.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4229, allocations: 0 / 0.6223 GB, free: 3.234 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06777/0.4906, allocations: 23.58 MB / 0.6453 GB, free: 12.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/13.9, allocations: 8 kB / 0.6453 GB, free: 12.01 MB / 494.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.135997463949025]