Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.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.Fluid.TestPipesAndValves.DynamicPipeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|pipe.mediums.3..h|pipe.mediums.3..p|pipe.mediums.4..h|pipe.mediums.4..p|pipe.mediums.5..h|pipe.mediums.5..p|m_flow_initial",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization") translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|pipe.mediums.3..h|pipe.mediums.3..p|pipe.mediums.4..h|pipe.mediums.4..p|pipe.mediums.5..h|pipe.mediums.5..p|m_flow_initial",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001331, allocations: 106.1 kB / 17.08 MB, free: 6.02 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.001522/0.001522, allocations: 198.2 kB / 18.02 MB, free: 5.094 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.264/1.264, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2164/0.2164, allocations: 43.52 MB / 314.8 MB, free: 480 kB / 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.001508/0.001508, allocations: 67.89 kB / 442.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.104, allocations: 57.79 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization): time 0.2847/0.3888, allocations: 47.68 MB / 0.5351 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02675/0.4155, allocations: 25.85 MB / 0.5603 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.4168, allocations: 35.06 kB / 0.5604 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.4181, allocations: 0.5069 MB / 0.5609 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01604/0.4341, allocations: 5.845 MB / 0.5666 GB, free: 1.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01102/0.4452, allocations: 3.963 MB / 0.5704 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00556/0.4508, allocations: 4.316 MB / 0.5747 GB, free: 12.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.4523, allocations: 1.018 MB / 0.5757 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05673/0.5091, allocations: 29.43 MB / 0.6044 GB, free: 3.758 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02421/0.5333, allocations: 12.3 MB / 0.6164 GB, free: 7.305 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007154/0.5341, allocations: 184 kB / 0.6166 GB, free: 7.125 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01791/0.552, allocations: 8.557 MB / 0.6249 GB, free: 14.56 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.5531, allocations: 0.7909 MB / 0.6257 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001607/0.5547, allocations: 1.198 MB / 0.6269 GB, free: 12.56 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01593/0.5707, allocations: 7.611 MB / 0.6343 GB, free: 4.934 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.5707, allocations: 0 / 0.6343 GB, free: 4.934 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5708, allocations: 0 / 0.6343 GB, free: 4.934 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001091/0.5709, allocations: 0 / 0.6343 GB, free: 4.934 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.01038/0.5813, allocations: 3.451 MB / 0.6377 GB, free: 1.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.5813, allocations: 15.89 kB / 0.6377 GB, free: 1.414 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004653/0.586, allocations: 0.6612 MB / 0.6383 GB, free: 0.75 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/0.5882, allocations: 1.257 MB / 0.6396 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.5883, allocations: 163.2 kB / 0.6397 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003093/0.5886, allocations: 175.9 kB / 0.6399 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006816/0.5955, allocations: 3.526 MB / 0.6433 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.007e-05/0.5955, allocations: 4 kB / 0.6433 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/0.5957, allocations: 71.98 kB / 0.6434 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002421/0.596, allocations: 232.5 kB / 0.6436 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007339/0.6033, allocations: 3.449 MB / 0.647 GB, free: 7.719 MB / 494.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.01899/0.6223, allocations: 14.1 MB / 0.6608 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005424/0.6278, allocations: 2.208 MB / 0.6629 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002021/0.6298, allocations: 1.171 MB / 0.6641 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1272/0.757, allocations: 64 MB / 0.7266 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004649/0.7617, allocations: 1.685 MB / 0.7282 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=154): time 5.651e-06/0.7618, allocations: 0 / 0.7282 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=174): time 0.02189/0.7837, allocations: 9.294 MB / 0.7373 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.7838, allocations: 278.5 kB / 0.7376 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.7856, allocations: 1.333 MB / 0.7389 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001654/0.7857, allocations: 57.7 kB / 0.7389 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006177/0.7864, allocations: 0.834 MB / 0.7397 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004876/0.7869, allocations: 0.6047 MB / 0.7403 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006718/0.7876, allocations: 447.8 kB / 0.7407 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.7876, allocations: 305.1 kB / 0.741 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00234/0.79, allocations: 1.294 MB / 0.7423 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002867/0.7929, allocations: 1.877 MB / 0.7441 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004949/0.7978, allocations: 3.181 MB / 0.7472 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.7979, allocations: 4 kB / 0.7472 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.007741/0.8056, allocations: 4.365 MB / 0.7515 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.8057, allocations: 15.94 kB / 0.7515 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/0.8057, allocations: 16 kB / 0.7515 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.225/1.031, allocations: 3.687 MB / 0.7551 GB, free: 220.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/1.032, allocations: 328.8 kB / 0.7554 GB, free: 220.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006872/1.039, allocations: 3.989 MB / 0.7593 GB, free: 220.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/1.041, allocations: 145.9 kB / 0.7595 GB, free: 220.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002033/1.041, allocations: 113.1 kB / 0.7596 GB, free: 220.3 MB / 0.5919 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002847/1.044, allocations: 1.703 MB / 0.7612 GB, free: 220.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002371/1.047, allocations: 1.776 MB / 0.763 GB, free: 219.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004622/1.051, allocations: 3.011 MB / 0.7659 GB, free: 217.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.216e-05/1.051, allocations: 9.062 kB / 0.7659 GB, free: 217.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=275) (initialization_lambda0): time 0.007804/1.059, allocations: 4.077 MB / 0.7699 GB, free: 216.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/1.059, allocations: 19.75 kB / 0.7699 GB, free: 216.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/1.059, allocations: 17.12 kB / 0.7699 GB, free: 216.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009894/1.069, allocations: 2.47 MB / 0.7724 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/1.07, allocations: 370.3 kB / 0.7727 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004654/1.075, allocations: 3.295 MB / 0.7759 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/1.077, allocations: 143.6 kB / 0.7761 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/1.077, allocations: 103.8 kB / 0.7762 GB, free: 214.4 MB / 0.5919 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 17 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,pipe.statesFM[6].phase,pipe.statesFM[5].phase,pipe.statesFM[4].phase,pipe.statesFM[3].phase,pipe.statesFM[2].phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 170 * 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 {(14,91)} Notification: Performance of prepare postOptimizeDAE: time 0.0006314/1.078, allocations: 322.7 kB / 0.7765 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003242/1.078, allocations: 165.4 kB / 0.7766 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007713/1.086, allocations: 6.682 MB / 0.7832 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00554/1.091, allocations: 5.416 MB / 0.7884 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/1.091, allocations: 0 / 0.7884 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009206/1.092, allocations: 0.6105 MB / 0.789 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003406/1.093, allocations: 97.14 kB / 0.7891 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/1.094, allocations: 146 kB / 0.7893 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003054/1.094, allocations: 177.5 kB / 0.7894 GB, free: 208.5 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006124/1.1, allocations: 5.037 MB / 0.7944 GB, free: 203.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007083/1.108, allocations: 7.064 MB / 0.8013 GB, free: 196.7 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002167/1.11, allocations: 2.225 MB / 0.8034 GB, free: 194.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001488/1.111, allocations: 1.248 MB / 0.8047 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of Backend: time 6.71e-07/1.111, allocations: 3.844 kB / 0.8047 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01373/1.125, allocations: 5.605 MB / 0.8101 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of SimCode: time 0.006386/1.131, allocations: 5.609 MB / 0.8156 GB, free: 182.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.111/1.242, allocations: 99.68 MB / 0.913 GB, free: 82.71 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestPipesAndValves/DynamicPipeInitialization/DynamicPipeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches