Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.254/0.254, allocations: 46.96 MB / 361.6 MB, free: 4.062 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,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_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization") translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,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_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 75.89 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3581, allocations: 66.04 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization): time 0.0505/0.4086, allocations: 43.77 MB / 0.6046 GB, free: 8.254 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03361/0.4422, allocations: 23.27 MB / 0.6273 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.4433, allocations: 51.5 kB / 0.6273 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.4446, allocations: 469.1 kB / 0.6278 GB, free: 420 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01562/0.4603, allocations: 5.906 MB / 0.6335 GB, free: 10.5 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01033/0.4706, allocations: 4.059 MB / 0.6375 GB, free: 6.445 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005347/0.4759, allocations: 4.41 MB / 0.6418 GB, free: 2.02 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.4772, allocations: 0.9131 MB / 0.6427 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.06187/0.5391, allocations: 29.06 MB / 0.6711 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02535/0.5644, allocations: 12.33 MB / 0.6831 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004829/0.5649, allocations: 187.9 kB / 0.6833 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01634/0.5813, allocations: 8.363 MB / 0.6915 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001146/0.5824, allocations: 0.8063 MB / 0.6923 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001538/0.5839, allocations: 1.004 MB / 0.6932 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01545/0.5994, allocations: 7.604 MB / 0.7007 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.5994, allocations: 0 / 0.7007 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.148e-06/0.5994, allocations: 4 kB / 0.7007 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.595e-05/0.5994, allocations: 0 / 0.7007 GB, free: 5.309 MB / 0.5294 GB 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.01004/0.6095, allocations: 3.451 MB / 0.704 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.6095, allocations: 8.031 kB / 0.7041 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004852/0.6144, allocations: 0.6741 MB / 0.7047 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002688/0.6171, allocations: 1.202 MB / 0.7059 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.6173, allocations: 163.2 kB / 0.706 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003171/0.6176, allocations: 164 kB / 0.7062 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007473/0.6251, allocations: 3.931 MB / 0.71 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.759e-05/0.6251, allocations: 15.89 kB / 0.7101 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002184/0.6253, allocations: 71.98 kB / 0.7101 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003003/0.6256, allocations: 227.4 kB / 0.7103 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00759/0.6332, allocations: 3.429 MB / 0.7137 GB, free: 7.676 MB / 0.545 GB 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.01776/0.651, allocations: 9.661 MB / 0.7231 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005511/0.6565, allocations: 2.127 MB / 0.7252 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002125/0.6586, allocations: 1.113 MB / 0.7263 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3593/1.018, allocations: 35.01 MB / 0.7605 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004261/1.022, allocations: 1.843 MB / 0.7623 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=154): time 6.072e-06/1.022, allocations: 0 / 0.7623 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01938/1.042, allocations: 9.281 MB / 0.7713 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/1.042, allocations: 278.3 kB / 0.7716 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/1.043, allocations: 1.06 MB / 0.7726 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001731/1.043, allocations: 60.98 kB / 0.7727 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004491/1.043, allocations: 0.8672 MB / 0.7735 GB, free: 136 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003949/1.044, allocations: 0.634 MB / 0.7742 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006193/1.044, allocations: 451.8 kB / 0.7746 GB, free: 135 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.13e-05/1.044, allocations: 365.9 kB / 0.7749 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/1.046, allocations: 1.286 MB / 0.7762 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002169/1.049, allocations: 1.94 MB / 0.7781 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004083/1.053, allocations: 3.173 MB / 0.7812 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/1.053, allocations: 4 kB / 0.7812 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.006561/1.059, allocations: 4.26 MB / 0.7854 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/1.059, allocations: 15.98 kB / 0.7854 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/1.059, allocations: 19.94 kB / 0.7854 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01496/1.074, allocations: 3.576 MB / 0.7889 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/1.076, allocations: 335.4 kB / 0.7892 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006167/1.082, allocations: 3.961 MB / 0.7931 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/1.084, allocations: 147.5 kB / 0.7932 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002637/1.084, allocations: 108 kB / 0.7933 GB, free: 115.3 MB / 0.5606 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.002713/1.087, allocations: 1.706 MB / 0.795 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002108/1.089, allocations: 1.851 MB / 0.7968 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003818/1.092, allocations: 2.982 MB / 0.7997 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.354e-05/1.092, allocations: 8 kB / 0.7997 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=275) (initialization_lambda0): time 0.006723/1.099, allocations: 3.989 MB / 0.8036 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/1.099, allocations: 12 kB / 0.8036 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/1.099, allocations: 16 kB / 0.8036 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008142/1.107, allocations: 2.324 MB / 0.8059 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/1.109, allocations: 371.4 kB / 0.8063 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004243/1.113, allocations: 3.274 MB / 0.8095 GB, free: 98.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/1.115, allocations: 139.9 kB / 0.8096 GB, free: 98.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003301/1.115, allocations: 108 kB / 0.8097 GB, free: 97.97 MB / 0.5606 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.0008188/1.116, allocations: 311.4 kB / 0.81 GB, free: 97.67 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005037/1.117, allocations: 155 kB / 0.8101 GB, free: 97.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00871/1.125, allocations: 6.841 MB / 0.8168 GB, free: 90.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006266/1.131, allocations: 5.55 MB / 0.8222 GB, free: 85.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/1.132, allocations: 4 kB / 0.8222 GB, free: 85.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/1.133, allocations: 0.515 MB / 0.8227 GB, free: 84.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000555/1.133, allocations: 101 kB / 0.8228 GB, free: 84.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/1.135, allocations: 147.8 kB / 0.823 GB, free: 84.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003702/1.135, allocations: 189.6 kB / 0.8232 GB, free: 84.16 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007302/1.143, allocations: 5.072 MB / 0.8281 GB, free: 79.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007905/1.151, allocations: 7.162 MB / 0.8351 GB, free: 71.9 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002364/1.153, allocations: 1.922 MB / 0.837 GB, free: 69.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001349/1.154, allocations: 1.031 MB / 0.838 GB, free: 68.95 MB / 0.5606 GB Notification: Performance of Backend: time 6.61e-07/1.154, allocations: 0 / 0.838 GB, free: 68.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01669/1.171, allocations: 5.346 MB / 0.8432 GB, free: 63.79 MB / 0.5606 GB Notification: Performance of SimCode: time 0.007659/1.179, allocations: 5.539 MB / 0.8486 GB, free: 58.21 MB / 0.5606 GB Notification: Performance of Templates: time 0.1142/1.293, allocations: 94.08 MB / 0.9405 GB, free: 12.56 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestPipesAndValves/DynamicPipeInitialization/DynamicPipeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.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: 11.068091159999312]