Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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) 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: 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_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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009919/0.000992, allocations: 101.8 kB / 16.27 MB, free: 5.949 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.001086/0.001086, allocations: 189.4 kB / 17.19 MB, free: 5.59 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.429/1.429, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2274/0.2274, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.001741/0.001741, allocations: 73.5 kB / 382.8 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1444, allocations: 57.78 MB / 440.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04891/0.1933, allocations: 43.94 MB / 484.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007456/0.2008, allocations: 4.366 MB / 488.8 MB, free: 6.406 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008765/0.2018, allocations: 19.88 kB / 488.9 MB, free: 6.387 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.2028, allocations: 317.9 kB / 489.2 MB, free: 6.074 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002352/0.2052, allocations: 0.8549 MB / 490 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.208, allocations: 0.9031 MB / 490.9 MB, free: 4.316 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003097/0.2111, allocations: 1.782 MB / 492.7 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008873/0.212, allocations: 457.3 kB / 493.2 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.114/0.3261, allocations: 44.5 MB / 0.5251 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3211/0.6472, allocations: 7.951 MB / 0.5328 GB, free: 48.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004705/0.6477, allocations: 59.81 kB / 0.5329 GB, free: 48.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02654/0.6743, allocations: 10.68 MB / 0.5433 GB, free: 45.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000576/0.6749, allocations: 251.5 kB / 0.5435 GB, free: 45.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007795/0.6757, allocations: 396 kB / 0.5439 GB, free: 45.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.6775, allocations: 1.073 MB / 0.545 GB, free: 45.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6775, allocations: 0 / 0.545 GB, free: 45.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6775, allocations: 4 kB / 0.545 GB, free: 45.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.6775, allocations: 0 / 0.545 GB, free: 45.43 MB / 414.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.002502/0.68, allocations: 1.055 MB / 0.546 GB, free: 44.94 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.6801, allocations: 12.95 kB / 0.546 GB, free: 44.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004247/0.6805, allocations: 84.91 kB / 0.5461 GB, free: 44.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009127/0.6814, allocations: 0.503 MB / 0.5466 GB, free: 44.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.6816, allocations: 108.5 kB / 0.5467 GB, free: 44.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.6817, allocations: 46.94 kB / 0.5467 GB, free: 44.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.6832, allocations: 0.8237 MB / 0.5475 GB, free: 44.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.6833, allocations: 6.5 kB / 0.5475 GB, free: 44.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.6834, allocations: 25.83 kB / 0.5476 GB, free: 44.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.6835, allocations: 40.78 kB / 0.5476 GB, free: 44.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.6848, allocations: 0.6402 MB / 0.5482 GB, free: 44.35 MB / 414.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.00457/0.6894, allocations: 4.232 MB / 0.5524 GB, free: 41.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008263/0.6902, allocations: 420.4 kB / 0.5528 GB, free: 41.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.6905, allocations: 208.2 kB / 0.553 GB, free: 41.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004084/0.6909, allocations: 0.4959 MB / 0.5535 GB, free: 40.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.691, allocations: 42.27 kB / 0.5535 GB, free: 40.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.976e-06/0.691, allocations: 4 kB / 0.5535 GB, free: 40.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003314/0.6943, allocations: 1.519 MB / 0.555 GB, free: 40.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/0.6944, allocations: 136.2 kB / 0.5551 GB, free: 40.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007109/0.6951, allocations: 0.5716 MB / 0.5557 GB, free: 40.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/0.6952, allocations: 35.39 kB / 0.5557 GB, free: 40.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/0.6954, allocations: 352 kB / 0.556 GB, free: 39.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.6956, allocations: 166.5 kB / 0.5562 GB, free: 39.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.6958, allocations: 140.1 kB / 0.5563 GB, free: 39.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.6959, allocations: 379.1 kB / 0.5567 GB, free: 39.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.6963, allocations: 223 kB / 0.5569 GB, free: 39.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005354/0.6968, allocations: 0.5212 MB / 0.5574 GB, free: 39.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008144/0.6977, allocations: 0.7753 MB / 0.5582 GB, free: 38.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.6977, allocations: 6.812 kB / 0.5582 GB, free: 38.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001511/0.6992, allocations: 0.947 MB / 0.5591 GB, free: 38.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.6992, allocations: 8.719 kB / 0.5591 GB, free: 38.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.6992, allocations: 8.344 kB / 0.5591 GB, free: 38.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.7003, allocations: 270 kB / 0.5594 GB, free: 38.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/0.7008, allocations: 123.5 kB / 0.5595 GB, free: 38.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008758/0.7017, allocations: 0.8688 MB / 0.5603 GB, free: 38.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.7022, allocations: 24.55 kB / 0.5604 GB, free: 38.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.993e-05/0.7023, allocations: 37.45 kB / 0.5604 GB, free: 38.19 MB / 414.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.0003306/0.7026, allocations: 246.7 kB / 0.5606 GB, free: 38.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.7028, allocations: 67.09 kB / 0.5607 GB, free: 38.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.7043, allocations: 0.7108 MB / 0.5614 GB, free: 37.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.7043, allocations: 5.344 kB / 0.5614 GB, free: 37.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.7043, allocations: 2.812 kB / 0.5614 GB, free: 37.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.7043, allocations: 5.656 kB / 0.5614 GB, free: 37.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/0.7064, allocations: 1.405 MB / 0.5628 GB, free: 37.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.7064, allocations: 8.266 kB / 0.5628 GB, free: 37.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009246/0.7073, allocations: 194.8 kB / 0.563 GB, free: 37.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000232/0.7076, allocations: 55.08 kB / 0.563 GB, free: 37.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/0.7076, allocations: 15.08 kB / 0.563 GB, free: 37.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.7096, allocations: 2.988 MB / 0.566 GB, free: 34.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.7096, allocations: 2.844 kB / 0.566 GB, free: 34.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.7111, allocations: 0.9969 MB / 0.5669 GB, free: 34.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/0.7115, allocations: 198.7 kB / 0.5671 GB, free: 34.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.7116, allocations: 14.81 kB / 0.5671 GB, free: 34.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004677/0.7121, allocations: 14.36 kB / 0.5672 GB, free: 34.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.7122, allocations: 44 kB / 0.5672 GB, free: 34.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/0.7123, allocations: 20 kB / 0.5672 GB, free: 34.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005164/0.7128, allocations: 422.5 kB / 0.5676 GB, free: 34.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7128, allocations: 0 / 0.5676 GB, free: 34.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009318/0.7138, allocations: 207.5 kB / 0.5678 GB, free: 34.29 MB / 414.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.0005526/0.7143, allocations: 235.4 kB / 0.568 GB, free: 34.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.7156, allocations: 0.6768 MB / 0.5687 GB, free: 34.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.7157, allocations: 0 / 0.5687 GB, free: 34.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.7168, allocations: 484.8 kB / 0.5692 GB, free: 34.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.7186, allocations: 374.3 kB / 0.5695 GB, free: 34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.7214, allocations: 1.414 MB / 0.5709 GB, free: 33.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005902/0.722, allocations: 0.948 MB / 0.5718 GB, free: 32.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001083/0.7231, allocations: 203 kB / 0.572 GB, free: 32.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.7233, allocations: 58.27 kB / 0.5721 GB, free: 32.65 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.7233, allocations: 0 / 0.5721 GB, free: 32.65 MB / 414.1 MB Notification: Performance of Templates: time 0.02613/0.7494, allocations: 15.13 MB / 0.5869 GB, free: 19.27 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches