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.001496/0.001496, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001659/0.001659, allocations: 211 kB / 24.53 MB, free: 4.07 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.373/1.373, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.2177/0.2177, allocations: 46.92 MB / 361.6 MB, free: 4.164 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 83.86 kB / 0.497 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2988, allocations: 66.07 MB / 0.5615 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02208/0.3209, allocations: 20.7 MB / 0.5817 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006803/0.3277, allocations: 4.333 MB / 0.586 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005462/0.3282, allocations: 27.75 kB / 0.586 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007832/0.329, allocations: 326 kB / 0.5863 GB, free: 10.83 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001754/0.3308, allocations: 0.8823 MB / 0.5872 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00214/0.3329, allocations: 0.9218 MB / 0.5881 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002135/0.335, allocations: 1.823 MB / 0.5898 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000558/0.3356, allocations: 397.6 kB / 0.5902 GB, free: 6.805 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.3372, allocations: 0.9613 MB / 0.5912 GB, free: 5.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009466/0.3382, allocations: 0.6734 MB / 0.5918 GB, free: 5.164 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.404e-05/0.3383, allocations: 60 kB / 0.5919 GB, free: 5.105 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007161/0.339, allocations: 323.6 kB / 0.5922 GB, free: 4.789 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002586/0.3392, allocations: 267.2 kB / 0.5924 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003696/0.3396, allocations: 390.2 kB / 0.5928 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.3409, allocations: 1.094 MB / 0.5939 GB, free: 3.047 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.3409, allocations: 0 / 0.5939 GB, free: 3.047 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3409, allocations: 0 / 0.5939 GB, free: 3.047 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.3409, allocations: 0 / 0.5939 GB, free: 3.047 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.002059/0.3429, allocations: 0.9951 MB / 0.5948 GB, free: 2.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.343, allocations: 8.031 kB / 0.5948 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.366e-05/0.343, allocations: 13.19 kB / 0.5949 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.3431, allocations: 102.6 kB / 0.595 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003282/0.3434, allocations: 96.41 kB / 0.5951 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008586/0.3443, allocations: 470.8 kB / 0.5955 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.3444, allocations: 152.4 kB / 0.5956 GB, free: 1.133 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.595e-05/0.3445, allocations: 55.89 kB / 0.5957 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.3458, allocations: 0.8175 MB / 0.5965 GB, free: 192 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.3458, allocations: 7.875 kB / 0.5965 GB, free: 184 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-05/0.3459, allocations: 27.98 kB / 0.5965 GB, free: 156 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.025e-05/0.346, allocations: 40.97 kB / 0.5966 GB, free: 116 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.347, allocations: 0.6517 MB / 0.5972 GB, free: 15.46 MB / 446.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.004891/0.3519, allocations: 4.158 MB / 0.6013 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008625/0.3528, allocations: 406.1 kB / 0.6017 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/0.3531, allocations: 201.4 kB / 0.6018 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002969/0.3534, allocations: 48.28 kB / 0.6019 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.3535, allocations: 42.83 kB / 0.6019 GB, free: 10.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.753e-06/0.3535, allocations: 0 / 0.6019 GB, free: 10.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003077/0.3565, allocations: 1.459 MB / 0.6034 GB, free: 8.828 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/0.3566, allocations: 136.5 kB / 0.6035 GB, free: 8.664 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006591/0.3573, allocations: 0.5771 MB / 0.6041 GB, free: 8.074 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.404e-05/0.3573, allocations: 37.7 kB / 0.6041 GB, free: 8.031 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.3576, allocations: 363.9 kB / 0.6044 GB, free: 7.672 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.3578, allocations: 174.5 kB / 0.6046 GB, free: 7.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/0.358, allocations: 138.6 kB / 0.6047 GB, free: 7.359 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.3581, allocations: 378.7 kB / 0.6051 GB, free: 6.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/0.3585, allocations: 221.9 kB / 0.6053 GB, free: 6.762 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006214/0.3591, allocations: 0.5248 MB / 0.6058 GB, free: 6.098 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.3602, allocations: 0.7757 MB / 0.6066 GB, free: 5.195 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/0.3602, allocations: 4 kB / 0.6066 GB, free: 5.191 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001812/0.362, allocations: 0.9373 MB / 0.6075 GB, free: 4.246 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.362, allocations: 10.03 kB / 0.6075 GB, free: 4.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.3621, allocations: 8 kB / 0.6075 GB, free: 4.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.3631, allocations: 265.3 kB / 0.6078 GB, free: 3.969 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.3635, allocations: 131.8 kB / 0.6079 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009632/0.3645, allocations: 0.8606 MB / 0.6087 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004057/0.3649, allocations: 27.98 kB / 0.6088 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-05/0.3649, allocations: 32 kB / 0.6088 GB, free: 2.895 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.0003201/0.3653, allocations: 247.6 kB / 0.609 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.3654, allocations: 75.56 kB / 0.6091 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.3667, allocations: 0.7079 MB / 0.6098 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.3667, allocations: 8 kB / 0.6098 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.3667, allocations: 4 kB / 0.6098 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.3667, allocations: 3.984 kB / 0.6098 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.3688, allocations: 1.371 MB / 0.6111 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.3688, allocations: 4 kB / 0.6111 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000957/0.3698, allocations: 187.8 kB / 0.6113 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002347/0.37, allocations: 64.95 kB / 0.6114 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.37, allocations: 15.94 kB / 0.6114 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002448/0.3725, allocations: 2.781 MB / 0.6141 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3725, allocations: 0 / 0.6141 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.3741, allocations: 1.013 MB / 0.6151 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003419/0.3744, allocations: 131.4 kB / 0.6152 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-05/0.3745, allocations: 20 kB / 0.6153 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.3749, allocations: 12 kB / 0.6153 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.527e-05/0.375, allocations: 40.02 kB / 0.6153 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.464e-05/0.375, allocations: 23.98 kB / 0.6153 GB, free: 11.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005595/0.3756, allocations: 419 kB / 0.6157 GB, free: 11.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3756, allocations: 0 / 0.6157 GB, free: 11.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007616/0.3763, allocations: 207.9 kB / 0.6159 GB, free: 11.23 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.002225/0.3785, allocations: 1.673 MB / 0.6176 GB, free: 9.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.3798, allocations: 0.5765 MB / 0.6181 GB, free: 8.922 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3798, allocations: 0 / 0.6181 GB, free: 8.922 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.3809, allocations: 479.6 kB / 0.6186 GB, free: 8.441 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.3825, allocations: 372.1 kB / 0.6189 GB, free: 8.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009555/0.392, allocations: 6.549 MB / 0.6253 GB, free: 1.148 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.3926, allocations: 0.9384 MB / 0.6262 GB, free: 188 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007035/0.3933, allocations: 210.8 kB / 0.6264 GB, free: 15.99 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/0.3937, allocations: 231.4 kB / 0.6267 GB, free: 15.76 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3937, allocations: 0 / 0.6267 GB, free: 15.76 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05283/0.4465, allocations: 22.82 MB / 0.649 GB, free: 9.168 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.75, allocations: 6.125 kB / 0.649 GB, free: 9.164 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: 16.907384620048106]