Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.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.001806/0.001806, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.002215/0.002215, allocations: 212.6 kB / 24.49 MB, free: 3.934 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.464/1.464, 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.2239/0.2239, allocations: 46.96 MB / 361.6 MB, free: 4.012 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.SeriesPipes13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe2.mediums.2..h|pipe2.mediums.2..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valve.filter.x.1.|valve.filter.x.2.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13") translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe2.mediums.2..h|pipe2.mediums.2..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valve.filter.x.1.|valve.filter.x.2.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 64.14 kB / 0.4973 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3221, allocations: 66.03 MB / 0.5618 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13): time 0.09504/0.4171, allocations: 84.03 MB / 0.6439 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.05224/0.4694, allocations: 33.63 MB / 0.6767 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003326/0.4727, allocations: 119 kB / 0.6768 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003877/0.4766, allocations: 1.091 MB / 0.6779 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.02394/0.5005, allocations: 8.098 MB / 0.6858 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.02403/0.5245, allocations: 9.447 MB / 0.695 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01052/0.535, allocations: 6.921 MB / 0.7018 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002794/0.5378, allocations: 1.344 MB / 0.7031 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005987/0.5438, allocations: 2.695 MB / 0.7057 GB, free: 332 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02657/0.5704, allocations: 13.77 MB / 0.7192 GB, free: 2.363 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0009417/0.5713, allocations: 216 kB / 0.7194 GB, free: 2.152 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02101/0.5924, allocations: 9.942 MB / 0.7291 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001656/0.594, allocations: 0.9697 MB / 0.73 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002068/0.5961, allocations: 1.167 MB / 0.7312 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.2966/0.8927, allocations: 9.401 MB / 0.7404 GB, free: 39.46 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8927, allocations: 4.797 kB / 0.7404 GB, free: 39.46 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.385e-06/0.8927, allocations: 2.844 kB / 0.7404 GB, free: 39.46 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.958e-05/0.8928, allocations: 0.75 kB / 0.7404 GB, free: 39.46 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.01051/0.9033, allocations: 4.117 MB / 0.7444 GB, free: 37.69 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.9034, allocations: 10.88 kB / 0.7444 GB, free: 37.69 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00561/0.909, allocations: 0.8245 MB / 0.7452 GB, free: 37.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/0.9194, allocations: 6.601 MB / 0.7517 GB, free: 37 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.9196, allocations: 180.1 kB / 0.7518 GB, free: 37 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003377/0.9199, allocations: 202.3 kB / 0.752 GB, free: 36.99 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007761/0.9277, allocations: 3.94 MB / 0.7559 GB, free: 35.99 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.486e-05/0.9278, allocations: 5.938 kB / 0.7559 GB, free: 35.99 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002337/0.928, allocations: 88.28 kB / 0.756 GB, free: 35.99 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002308/0.9282, allocations: 196.6 kB / 0.7561 GB, free: 35.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006675/0.9349, allocations: 3.235 MB / 0.7593 GB, free: 35.93 MB / 0.5606 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.0156/0.9505, allocations: 9.874 MB / 0.7689 GB, free: 32.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005146/0.9556, allocations: 2.228 MB / 0.7711 GB, free: 32.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/0.9573, allocations: 1.108 MB / 0.7722 GB, free: 32.19 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04304/1, allocations: 13.35 MB / 0.7852 GB, free: 31.26 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004457/1.005, allocations: 1.785 MB / 0.787 GB, free: 30.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=155): time 4.758e-06/1.005, allocations: 9.109 kB / 0.787 GB, free: 30.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=171): time 0.01817/1.023, allocations: 8.026 MB / 0.7948 GB, free: 30.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/1.023, allocations: 228.3 kB / 0.7951 GB, free: 29.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/1.024, allocations: 1.382 MB / 0.7964 GB, free: 29.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000147/1.025, allocations: 60.55 kB / 0.7965 GB, free: 29.56 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005784/1.025, allocations: 1.023 MB / 0.7975 GB, free: 29.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003538/1.026, allocations: 0.6096 MB / 0.7981 GB, free: 28.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006062/1.026, allocations: 438.6 kB / 0.7985 GB, free: 28.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.986e-05/1.026, allocations: 301.1 kB / 0.7988 GB, free: 28.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/1.028, allocations: 1.195 MB / 0.7999 GB, free: 27.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/1.03, allocations: 1.811 MB / 0.8017 GB, free: 26.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003827/1.034, allocations: 2.885 MB / 0.8045 GB, free: 24.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/1.034, allocations: 4 kB / 0.8045 GB, free: 24.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006227/1.04, allocations: 3.937 MB / 0.8084 GB, free: 21.94 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.567e-05/1.04, allocations: 46.27 kB / 0.8084 GB, free: 21.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/1.04, allocations: 21.89 kB / 0.8084 GB, free: 21.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01552/1.056, allocations: 3.157 MB / 0.8115 GB, free: 19.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/1.057, allocations: 315.6 kB / 0.8118 GB, free: 18.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005748/1.063, allocations: 3.453 MB / 0.8152 GB, free: 16.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/1.065, allocations: 99.86 kB / 0.8153 GB, free: 16.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000339/1.065, allocations: 104.8 kB / 0.8154 GB, free: 16.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00296/1.068, allocations: 1.629 MB / 0.817 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002269/1.07, allocations: 1.754 MB / 0.8187 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003988/1.074, allocations: 2.772 MB / 0.8214 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.529e-05/1.074, allocations: 4 kB / 0.8214 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.006847/1.081, allocations: 3.728 MB / 0.825 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.293e-05/1.081, allocations: 37.7 kB / 0.8251 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/1.081, allocations: 20.73 kB / 0.8251 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006612/1.088, allocations: 1.721 MB / 0.8268 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/1.089, allocations: 360.6 kB / 0.8271 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003638/1.093, allocations: 2.745 MB / 0.8298 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00199/1.095, allocations: 107.9 kB / 0.8299 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003202/1.095, allocations: 102.7 kB / 0.83 GB, free: 3.426 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 23 (pipe3.state_a.phase,pipe1.state_a.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,valve.state_b.phase,valve.state_a.phase,pipe3.statesFM[2].phase,valveOpening1.nextEventScaled,valveOpening1.nextEvent,$PRE.valveOpening1.nextEvent,valveOpening1.last,valveOpening1.b,valveOpening1.a,pipe2.statesFM[2].phase,pipe2.statesFM[1].phase,sink.medium.phase,pipe1.statesFM[2].phase,source.medium.phase,$whenCondition1,pipe3.state_b.phase,pipe2.state_b.phase,pipe2.state_a.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 (164): * Single equations (assignments): 160 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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 {(8,86)} Notification: Performance of prepare postOptimizeDAE: time 0.0007457/1.096, allocations: 352.8 kB / 0.8303 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006141/1.097, allocations: 194.8 kB / 0.8305 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/1.108, allocations: 7.918 MB / 0.8382 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009709/1.118, allocations: 6.871 MB / 0.845 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/1.118, allocations: 0 / 0.845 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001633/1.119, allocations: 0.5594 MB / 0.8455 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005911/1.12, allocations: 83.66 kB / 0.8456 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/1.121, allocations: 119.8 kB / 0.8457 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/1.122, allocations: 161.7 kB / 0.8459 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009391/1.131, allocations: 4.908 MB / 0.8506 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01163/1.143, allocations: 7.122 MB / 0.8576 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003176/1.146, allocations: 1.918 MB / 0.8595 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002109/1.148, allocations: 1.096 MB / 0.8605 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of Backend: time 3.71e-07/1.148, allocations: 0 / 0.8605 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01947/1.168, allocations: 6.005 MB / 0.8664 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of SimCode: time 0.011/1.179, allocations: 6.35 MB / 0.8726 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of Templates: time 0.159/1.338, allocations: 105.2 MB / 0.9753 GB, free: 15.18 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestPipesAndValves/SeriesPipes13/SeriesPipes13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.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.386877723001817]