Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",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.00526/0.00526, allocations: 101.1 kB / 15.87 MB, free: 6.316 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.001116/0.001116, allocations: 190.5 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 205.1 MB / 222.6 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3872/0.3872, allocations: 43.5 MB / 313.5 MB, free: 8.312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 63.91 kB / 382.2 MB, free: 8.383 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1352, allocations: 57.77 MB / 439.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.2869/0.4222, allocations: 20.98 MB / 460.9 MB, free: 37.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006007/0.4282, allocations: 4.443 MB / 465.3 MB, free: 36.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006367/0.4289, allocations: 31.41 kB / 465.4 MB, free: 36.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.43, allocations: 269.7 kB / 465.6 MB, free: 36.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.4322, allocations: 0.8146 MB / 466.5 MB, free: 36.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002304/0.4345, allocations: 0.7977 MB / 467.3 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002129/0.4366, allocations: 2.67 MB / 469.9 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005/0.4371, allocations: 404.9 kB / 470.3 MB, free: 35.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.4388, allocations: 0.8136 MB / 471.1 MB, free: 35.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008392/0.4396, allocations: 0.6588 MB / 471.8 MB, free: 35.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.34e-05/0.4398, allocations: 33 kB / 471.8 MB, free: 35.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007839/0.4405, allocations: 272.7 kB / 472.1 MB, free: 35.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.4408, allocations: 230.2 kB / 472.3 MB, free: 34.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003373/0.4411, allocations: 362.7 kB / 472.7 MB, free: 34.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009766/0.4421, allocations: 1.052 MB / 473.7 MB, free: 34.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4421, allocations: 0 / 473.7 MB, free: 34.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.4421, allocations: 3.188 kB / 473.7 MB, free: 34.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.4421, allocations: 0 / 473.7 MB, free: 34.4 MB / 382.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.002247/0.4444, allocations: 1.046 MB / 474.8 MB, free: 33.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.495e-05/0.4445, allocations: 13.97 kB / 474.8 MB, free: 33.69 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.4446, allocations: 106.8 kB / 474.9 MB, free: 33.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003794/0.445, allocations: 91.33 kB / 475 MB, free: 33.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008053/0.4458, allocations: 0.5041 MB / 475.5 MB, free: 33.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.4459, allocations: 102.4 kB / 475.6 MB, free: 33.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.136e-05/0.446, allocations: 44.88 kB / 475.6 MB, free: 33.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.4472, allocations: 0.8222 MB / 476.4 MB, free: 32.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.4473, allocations: 3.938 kB / 476.5 MB, free: 32.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.997e-05/0.4473, allocations: 29.61 kB / 476.5 MB, free: 32.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.949e-05/0.4474, allocations: 37.66 kB / 476.5 MB, free: 32.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009326/0.4483, allocations: 0.6496 MB / 477.2 MB, free: 32.4 MB / 382.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.003853/0.4522, allocations: 4.216 MB / 481.4 MB, free: 29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007927/0.453, allocations: 411 kB / 481.8 MB, free: 28.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.4533, allocations: 212.7 kB / 482 MB, free: 28.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003716/0.4537, allocations: 0.4984 MB / 482.5 MB, free: 28.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.4537, allocations: 38.11 kB / 482.5 MB, free: 28.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.124e-06/0.4537, allocations: 3.938 kB / 482.5 MB, free: 28.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003041/0.4567, allocations: 1.523 MB / 484.1 MB, free: 27.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.4568, allocations: 134.9 kB / 484.2 MB, free: 27.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005851/0.4574, allocations: 0.5694 MB / 484.8 MB, free: 26.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.4575, allocations: 36.83 kB / 484.8 MB, free: 26.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.4577, allocations: 351.9 kB / 485.1 MB, free: 26.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.96e-05/0.4578, allocations: 163.9 kB / 485.3 MB, free: 26.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.458, allocations: 143.7 kB / 485.4 MB, free: 26.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.4581, allocations: 379.5 kB / 485.8 MB, free: 26.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/0.4584, allocations: 225 kB / 486 MB, free: 25.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/0.4589, allocations: 0.5217 MB / 486.5 MB, free: 25.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008403/0.4597, allocations: 0.7753 MB / 487.3 MB, free: 24.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.4597, allocations: 2.906 kB / 487.3 MB, free: 24.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001534/0.4613, allocations: 0.9336 MB / 488.3 MB, free: 24.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.4613, allocations: 12.62 kB / 488.3 MB, free: 24.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.4613, allocations: 14.44 kB / 488.3 MB, free: 24.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.4624, allocations: 273.8 kB / 488.6 MB, free: 24.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.4628, allocations: 125.4 kB / 488.7 MB, free: 24.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007744/0.4636, allocations: 0.861 MB / 489.5 MB, free: 23.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005191/0.4641, allocations: 49.3 kB / 489.6 MB, free: 23.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/0.4642, allocations: 36.56 kB / 489.6 MB, free: 23.71 MB / 382.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.0002953/0.4645, allocations: 242.2 kB / 489.9 MB, free: 23.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.4646, allocations: 68.69 kB / 489.9 MB, free: 23.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.4658, allocations: 0.7162 MB / 490.6 MB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.4658, allocations: 14.06 kB / 490.7 MB, free: 23.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.4658, allocations: 0 / 490.7 MB, free: 23.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.4658, allocations: 3.562 kB / 490.7 MB, free: 23.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.468, allocations: 1.402 MB / 492.1 MB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.468, allocations: 6.062 kB / 492.1 MB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.469, allocations: 188.3 kB / 492.3 MB, free: 22.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002567/0.4693, allocations: 64.69 kB / 492.3 MB, free: 22.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/0.4693, allocations: 12.94 kB / 492.3 MB, free: 22.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/0.4715, allocations: 2.782 MB / 495.1 MB, free: 19.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.4715, allocations: 7.438 kB / 495.1 MB, free: 19.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.4732, allocations: 0.9852 MB / 496.1 MB, free: 19.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003271/0.4736, allocations: 207.4 kB / 496.3 MB, free: 18.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.772e-05/0.4737, allocations: 18.22 kB / 496.3 MB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004188/0.4741, allocations: 29.72 kB / 496.4 MB, free: 18.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.4742, allocations: 33.42 kB / 496.4 MB, free: 18.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.303e-05/0.4743, allocations: 23.86 kB / 496.4 MB, free: 18.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005803/0.4749, allocations: 419.7 kB / 496.8 MB, free: 18.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4749, allocations: 0 / 496.8 MB, free: 18.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008959/0.4758, allocations: 208.9 kB / 497 MB, free: 18.62 MB / 382.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.002183/0.478, allocations: 1.681 MB / 498.7 MB, free: 17.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.4792, allocations: 0.5937 MB / 499.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4793, allocations: 9.406 kB / 499.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.4805, allocations: 492.7 kB / 499.8 MB, free: 17.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.4826, allocations: 353.7 kB / 0.4884 GB, free: 16.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/0.4948, allocations: 6.941 MB / 0.4952 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005505/0.4954, allocations: 0.9406 MB / 0.4961 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001086/0.4965, allocations: 211.5 kB / 0.4963 GB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003457/0.4969, allocations: 233.3 kB / 0.4965 GB, free: 11.68 MB / 382.1 MB Notification: Performance of SimCode: time 1.253e-06/0.4969, allocations: 1.312 kB / 0.4965 GB, free: 11.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04628/0.5432, allocations: 21.13 MB / 0.5172 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.5434, allocations: 312.2 kB / 0.5175 GB, free: 468 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/2.773, allocations: 64 / 0.5175 GB, free: 468 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches