Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001587/0.001587, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 82.88 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2916/0.2916, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.0004879, allocations: 16 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1276, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.06138/0.189, allocations: 34.48 MB / 0.5124 GB, free: 6.762 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009366/0.1984, allocations: 4.14 MB / 0.5165 GB, free: 2.609 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009583/0.1994, allocations: 23.75 kB / 0.5165 GB, free: 2.586 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.2008, allocations: 270.6 kB / 0.5167 GB, free: 2.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.2039, allocations: 0.7009 MB / 0.5174 GB, free: 1.617 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003165/0.2071, allocations: 0.6976 MB / 0.5181 GB, free: 0.918 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.3208/0.5279, allocations: 1.014 MB / 0.5191 GB, free: 11.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.5291, allocations: 373.5 kB / 0.5195 GB, free: 11.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2229/0.7521, allocations: 72.41 MB / 0.5902 GB, free: 11.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04144/0.7936, allocations: 13.32 MB / 0.6032 GB, free: 15.51 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002381/0.7939, allocations: 32 kB / 0.6032 GB, free: 15.48 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05837/0.8523, allocations: 18.48 MB / 0.6213 GB, free: 14.22 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006051/0.8529, allocations: 212.8 kB / 0.6215 GB, free: 14.09 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003612/0.8533, allocations: 164.5 kB / 0.6216 GB, free: 13.98 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.8551, allocations: 0.7596 MB / 0.6224 GB, free: 13.34 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8551, allocations: 4 kB / 0.6224 GB, free: 13.34 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.8552, allocations: 0 / 0.6224 GB, free: 13.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.95e-05/0.8552, allocations: 0 / 0.6224 GB, free: 13.34 MB / 442.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.00326/0.8585, allocations: 0.9251 MB / 0.6233 GB, free: 12.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.8585, allocations: 12.02 kB / 0.6233 GB, free: 12.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006428/0.8592, allocations: 91.14 kB / 0.6234 GB, free: 12.33 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.8606, allocations: 0.4902 MB / 0.6238 GB, free: 11.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/0.8609, allocations: 101.2 kB / 0.6239 GB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.8611, allocations: 46.44 kB / 0.624 GB, free: 11.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.8634, allocations: 0.816 MB / 0.6248 GB, free: 11.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.808e-05/0.8635, allocations: 2.719 kB / 0.6248 GB, free: 11.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.8636, allocations: 26.69 kB / 0.6248 GB, free: 11.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.8637, allocations: 36.23 kB / 0.6248 GB, free: 11.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/0.8659, allocations: 0.6423 MB / 0.6255 GB, free: 10.65 MB / 442.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.008446/0.8744, allocations: 4.266 MB / 0.6296 GB, free: 6.734 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.876, allocations: 412.9 kB / 0.63 GB, free: 6.465 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007248/0.8767, allocations: 0.495 MB / 0.6305 GB, free: 5.863 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.8768, allocations: 42.81 kB / 0.6306 GB, free: 5.816 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 3.898e-06/0.8768, allocations: 0 / 0.6306 GB, free: 5.816 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.005504/0.8823, allocations: 1.527 MB / 0.632 GB, free: 4.648 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.129e-05/0.8825, allocations: 136.5 kB / 0.6322 GB, free: 4.484 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.8835, allocations: 0.5645 MB / 0.6327 GB, free: 4.035 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.8836, allocations: 33.27 kB / 0.6328 GB, free: 4.004 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003243/0.884, allocations: 391.2 kB / 0.6331 GB, free: 3.703 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.8842, allocations: 159.5 kB / 0.6333 GB, free: 3.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/0.8843, allocations: 14.5 kB / 0.6333 GB, free: 3.566 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.8845, allocations: 341.6 kB / 0.6336 GB, free: 3.234 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006837/0.8852, allocations: 218.8 kB / 0.6338 GB, free: 3.098 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009153/0.8861, allocations: 0.519 MB / 0.6343 GB, free: 2.547 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008356/0.887, allocations: 320.5 kB / 0.6346 GB, free: 2.363 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.887, allocations: 4 kB / 0.6346 GB, free: 2.359 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003266/0.8903, allocations: 0.9286 MB / 0.6356 GB, free: 1.719 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.8903, allocations: 9 kB / 0.6356 GB, free: 1.711 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.8904, allocations: 11.98 kB / 0.6356 GB, free: 1.699 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001887/0.8923, allocations: 270.9 kB / 0.6358 GB, free: 1.477 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000866/0.8932, allocations: 123 kB / 0.636 GB, free: 1.371 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.8948, allocations: 0.8699 MB / 0.6368 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.8958, allocations: 47.98 kB / 0.6368 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.896, allocations: 35.23 kB / 0.6369 GB, free: 0.5469 MB / 442.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006149/0.8966, allocations: 244.3 kB / 0.6371 GB, free: 368 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.8968, allocations: 67.25 kB / 0.6372 GB, free: 300 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/0.8992, allocations: 0.7144 MB / 0.6379 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/0.8993, allocations: 12 kB / 0.6379 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.8993, allocations: 3.953 kB / 0.6379 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.8993, allocations: 0 / 0.6379 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004077/0.9034, allocations: 1.413 MB / 0.6393 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.901e-05/0.9035, allocations: 4 kB / 0.6393 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002853/0.9064, allocations: 189.7 kB / 0.6395 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005364/0.907, allocations: 67.69 kB / 0.6395 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.222e-05/0.9071, allocations: 9.625 kB / 0.6395 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00343/0.9105, allocations: 2.802 MB / 0.6423 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.9106, allocations: 10.67 kB / 0.6423 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00279/0.9134, allocations: 1.068 MB / 0.6433 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004923/0.9139, allocations: 204.5 kB / 0.6435 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.9141, allocations: 18.42 kB / 0.6435 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007352/0.9149, allocations: 31.17 kB / 0.6436 GB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.915, allocations: 38.67 kB / 0.6436 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.122e-05/0.9151, allocations: 23.23 kB / 0.6436 GB, free: 10.45 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007559/0.9159, allocations: 389.3 kB / 0.644 GB, free: 10.16 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.72e-07/0.9159, allocations: 0 / 0.644 GB, free: 10.16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001245/0.9172, allocations: 206 kB / 0.6442 GB, free: 9.977 MB / 458.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007012/0.9179, allocations: 245.6 kB / 0.6444 GB, free: 9.758 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001961/0.9199, allocations: 0.6028 MB / 0.645 GB, free: 9.297 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.9199, allocations: 0 / 0.645 GB, free: 9.297 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002047/0.9219, allocations: 477.2 kB / 0.6455 GB, free: 8.832 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/0.9247, allocations: 315.1 kB / 0.6458 GB, free: 8.531 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003697/0.9284, allocations: 1.683 MB / 0.6474 GB, free: 6.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007249/0.9292, allocations: 0.9503 MB / 0.6483 GB, free: 5.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003716/0.9296, allocations: 63.42 kB / 0.6484 GB, free: 5.777 MB / 458.7 MB Notification: Performance of SimCode: time 1.102e-06/0.9296, allocations: 4 kB / 0.6484 GB, free: 5.773 MB / 458.7 MB Notification: Performance of Templates: time 0.03307/0.9627, allocations: 14.87 MB / 0.6629 GB, free: 6.973 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches