Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.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.001657/0.001657, 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.002094/0.002094, allocations: 209.3 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.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2189/0.2189, allocations: 46.95 MB / 361.6 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 180] 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.SeriesPipes2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valveIncompressible1.filter.x.1.|valveIncompressible1.filter.x.2.|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2") translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valveIncompressible1.filter.x.1.|valveIncompressible1.filter.x.2.|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 71.89 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3261, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2): time 0.06946/0.3956, allocations: 60.26 MB / 0.6207 GB, free: 7.695 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0413/0.4369, allocations: 26.7 MB / 0.6467 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.4387, allocations: 83.31 kB / 0.6468 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00231/0.441, allocations: 0.7805 MB / 0.6476 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01773/0.4588, allocations: 6.647 MB / 0.6541 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01824/0.477, allocations: 7.418 MB / 0.6613 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006585/0.4836, allocations: 4.593 MB / 0.6658 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/0.4851, allocations: 0.8805 MB / 0.6667 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003392/0.4885, allocations: 1.803 MB / 0.6684 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01564/0.5041, allocations: 8.139 MB / 0.6764 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005123/0.5046, allocations: 144 kB / 0.6765 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01841/0.5231, allocations: 9.22 MB / 0.6855 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.5242, allocations: 0.623 MB / 0.6861 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001411/0.5256, allocations: 0.7546 MB / 0.6869 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01713/0.5427, allocations: 7.644 MB / 0.6943 GB, free: 12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5427, allocations: 0 / 0.6943 GB, free: 12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5427, allocations: 0 / 0.6943 GB, free: 12 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.364e-05/0.5428, allocations: 3.938 kB / 0.6943 GB, free: 12 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: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.00822/0.551, allocations: 2.981 MB / 0.6972 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.551, allocations: 8.031 kB / 0.6972 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003856/0.5549, allocations: 0.5297 MB / 0.6978 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008377/0.5633, allocations: 4.43 MB / 0.7021 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.5634, allocations: 114.4 kB / 0.7022 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002762/0.5637, allocations: 127.9 kB / 0.7023 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005485/0.5692, allocations: 2.579 MB / 0.7048 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.043e-05/0.5692, allocations: 4 kB / 0.7048 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.5694, allocations: 47.98 kB / 0.7049 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001746/0.5695, allocations: 122.2 kB / 0.705 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004861/0.5744, allocations: 2.029 MB / 0.707 GB, free: 14.71 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.01279/0.5872, allocations: 6.368 MB / 0.7132 GB, free: 8.203 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003806/0.591, allocations: 1.337 MB / 0.7145 GB, free: 6.852 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.5923, allocations: 0.6652 MB / 0.7152 GB, free: 6.176 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04991/0.6422, allocations: 13.33 MB / 0.7282 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003326/0.6455, allocations: 1.15 MB / 0.7293 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=96): time 4.027e-06/0.6455, allocations: 0 / 0.7293 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of matching and sorting (n=104): time 0.0147/0.6602, allocations: 5.042 MB / 0.7342 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/0.6604, allocations: 226.6 kB / 0.7344 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.6618, allocations: 0.9488 MB / 0.7354 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/0.6619, allocations: 41.7 kB / 0.7354 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000652/0.6626, allocations: 0.6917 MB / 0.7361 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003619/0.6629, allocations: 372.8 kB / 0.7364 GB, free: 168 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2272/0.8902, allocations: 274.1 kB / 0.7367 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.8903, allocations: 355.7 kB / 0.737 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/0.8919, allocations: 0.7251 MB / 0.7377 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001786/0.8937, allocations: 1.164 MB / 0.7389 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002734/0.8965, allocations: 1.737 MB / 0.7406 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.8965, allocations: 0 / 0.7406 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003577/0.9, allocations: 2.075 MB / 0.7426 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/0.9001, allocations: 45.19 kB / 0.7426 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.9001, allocations: 7.906 kB / 0.7427 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004721/0.9006, allocations: 142.5 kB / 0.7428 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.9019, allocations: 314.1 kB / 0.7431 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005632/0.9024, allocations: 1.248 MB / 0.7443 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009898/0.9034, allocations: 66.41 kB / 0.7444 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.9035, allocations: 62.48 kB / 0.7444 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001563/0.9051, allocations: 1.031 MB / 0.7454 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001241/0.9063, allocations: 1.131 MB / 0.7465 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002349/0.9087, allocations: 1.665 MB / 0.7482 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.759e-06/0.9087, allocations: 0 / 0.7482 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=162) (initialization_lambda0): time 0.003189/0.9119, allocations: 2.005 MB / 0.7501 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.9119, allocations: 42.64 kB / 0.7502 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.9119, allocations: 10.95 kB / 0.7502 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004075/0.9123, allocations: 129.7 kB / 0.7503 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.9136, allocations: 322.3 kB / 0.7506 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004955/0.9141, allocations: 1.247 MB / 0.7518 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008632/0.9149, allocations: 73.38 kB / 0.7519 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.915, allocations: 63.78 kB / 0.752 GB, free: 156.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 17 (pipe3.state_a.phase,pipe1.state_a.phase,valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,valveOpening1.nextEventScaled,valveOpening1.nextEvent,$PRE.valveOpening1.nextEvent,valveOpening1.last,valveOpening1.b,valveOpening1.a,pipe3.statesFM[2].phase,sink.medium.phase,pipe1.statesFM[2].phase,source.medium.phase,$whenCondition1,pipe3.state_b.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002894/0.9153, allocations: 297.1 kB / 0.7522 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.9155, allocations: 128.4 kB / 0.7524 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004955/0.9205, allocations: 4.864 MB / 0.7571 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003884/0.9244, allocations: 4.13 MB / 0.7611 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.9244, allocations: 0 / 0.7611 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006042/0.925, allocations: 348.9 kB / 0.7615 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.9252, allocations: 69.3 kB / 0.7615 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007931/0.926, allocations: 81.22 kB / 0.7616 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.9261, allocations: 92.83 kB / 0.7617 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003877/0.93, allocations: 3.019 MB / 0.7647 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00463/0.9346, allocations: 4.412 MB / 0.769 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001217/0.9359, allocations: 1.15 MB / 0.7701 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008904/0.9368, allocations: 0.83 MB / 0.7709 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of Backend: time 4.91e-07/0.9368, allocations: 0 / 0.7709 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01139/0.9481, allocations: 4.367 MB / 0.7752 GB, free: 134 MB / 0.5606 GB Notification: Performance of SimCode: time 0.005362/0.9535, allocations: 4.358 MB / 0.7794 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.08275/1.036, allocations: 81.14 MB / 0.8587 GB, free: 49 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestPipesAndValves/SeriesPipes2/SeriesPipes2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.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: 9.876230968999153]