Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001636/0.001636, allocations: 112.6 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001471/0.001471, allocations: 212.2 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 230.2 MB / 257.8 MB, free: 8.477 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2416/0.2416, allocations: 46.9 MB / 361.1 MB, free: 4.625 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 83.86 kB / 0.4968 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3333, allocations: 66 MB / 0.5612 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13): time 0.1028/0.4361, allocations: 93.44 MB / 0.6525 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.05447/0.4905, allocations: 37.52 MB / 0.6891 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00278/0.4933, allocations: 87.5 kB / 0.6892 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003691/0.497, allocations: 1.192 MB / 0.6904 GB, free: 360 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.02183/0.5188, allocations: 8.027 MB / 0.6982 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.02159/0.5404, allocations: 9.089 MB / 0.7071 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009538/0.55, allocations: 6.632 MB / 0.7136 GB, free: 8.574 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00234/0.5523, allocations: 1.312 MB / 0.7148 GB, free: 7.238 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005254/0.5576, allocations: 2.632 MB / 0.7174 GB, free: 4.598 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02758/0.5851, allocations: 13.76 MB / 0.7308 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0008908/0.586, allocations: 216 kB / 0.731 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3097/0.8957, allocations: 10.53 MB / 0.7413 GB, free: 31.6 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001452/0.8972, allocations: 0.9606 MB / 0.7423 GB, free: 31.6 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.8991, allocations: 1.402 MB / 0.7436 GB, free: 31.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01923/0.9183, allocations: 9.54 MB / 0.753 GB, free: 31.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.9183, allocations: 0 / 0.753 GB, free: 31.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9183, allocations: 2.625 kB / 0.753 GB, free: 31.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.174e-05/0.9183, allocations: 2.031 kB / 0.753 GB, free: 31.15 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.009458/0.9278, allocations: 4.206 MB / 0.7571 GB, free: 29.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.9278, allocations: 9.438 kB / 0.7571 GB, free: 29.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005501/0.9333, allocations: 0.8232 MB / 0.7579 GB, free: 29.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/0.9436, allocations: 6.695 MB / 0.7644 GB, free: 28.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.9437, allocations: 177.7 kB / 0.7646 GB, free: 28.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003061/0.944, allocations: 196.6 kB / 0.7648 GB, free: 28.47 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006698/0.9507, allocations: 3.483 MB / 0.7682 GB, free: 28.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.833e-05/0.9508, allocations: 8.969 kB / 0.7682 GB, free: 28.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002122/0.951, allocations: 85.5 kB / 0.7683 GB, free: 28.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000215/0.9512, allocations: 188 kB / 0.7684 GB, free: 28.01 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006635/0.9578, allocations: 3.227 MB / 0.7716 GB, free: 27.99 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.01637/0.9742, allocations: 15.12 MB / 0.7864 GB, free: 18.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005138/0.9793, allocations: 2.189 MB / 0.7885 GB, free: 18.85 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.981, allocations: 1.076 MB / 0.7896 GB, free: 18.84 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04903/1.03, allocations: 27.26 MB / 0.8162 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004354/1.034, allocations: 1.606 MB / 0.8177 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=155): time 3.817e-06/1.034, allocations: 7.938 kB / 0.8177 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=171): time 0.01804/1.052, allocations: 8.057 MB / 0.8256 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001496/1.053, allocations: 230.8 kB / 0.8258 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/1.055, allocations: 1.629 MB / 0.8274 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001907/1.055, allocations: 61.83 kB / 0.8275 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008065/1.056, allocations: 1.011 MB / 0.8285 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005635/1.056, allocations: 0.6125 MB / 0.8291 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006903/1.057, allocations: 437.8 kB / 0.8295 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.057, allocations: 305.1 kB / 0.8298 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002207/1.059, allocations: 1.155 MB / 0.8309 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002655/1.062, allocations: 1.655 MB / 0.8325 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004831/1.067, allocations: 2.885 MB / 0.8353 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/1.067, allocations: 4 kB / 0.8353 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007746/1.075, allocations: 3.918 MB / 0.8392 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.019e-05/1.075, allocations: 51.62 kB / 0.8392 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.652e-05/1.075, allocations: 12 kB / 0.8392 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01624/1.091, allocations: 3.143 MB / 0.8423 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/1.092, allocations: 323.3 kB / 0.8426 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00582/1.098, allocations: 3.448 MB / 0.846 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/1.1, allocations: 103 kB / 0.8461 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/1.1, allocations: 110.5 kB / 0.8462 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00311/1.103, allocations: 1.595 MB / 0.8477 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002657/1.106, allocations: 1.59 MB / 0.8493 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0049/1.111, allocations: 2.781 MB / 0.852 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.254e-05/1.111, allocations: 4 kB / 0.852 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.008001/1.119, allocations: 3.709 MB / 0.8556 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.494e-05/1.119, allocations: 45.69 kB / 0.8557 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.16e-05/1.119, allocations: 15.94 kB / 0.8557 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006926/1.126, allocations: 1.717 MB / 0.8574 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/1.127, allocations: 358.3 kB / 0.8577 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004507/1.132, allocations: 2.756 MB / 0.8604 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/1.134, allocations: 108 kB / 0.8605 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/1.134, allocations: 99.97 kB / 0.8606 GB, free: 8.246 MB / 0.6075 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.000661/1.134, allocations: 345.7 kB / 0.8609 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004674/1.135, allocations: 214.6 kB / 0.8611 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/1.146, allocations: 7.684 MB / 0.8686 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00952/1.156, allocations: 6.619 MB / 0.8751 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/1.156, allocations: 0 / 0.8751 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001936/1.158, allocations: 0.6463 MB / 0.8757 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006645/1.159, allocations: 87.61 kB / 0.8758 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/1.16, allocations: 127.8 kB / 0.8759 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003465/1.16, allocations: 149.8 kB / 0.8761 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008518/1.169, allocations: 4.819 MB / 0.8808 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01034/1.179, allocations: 6.932 MB / 0.8876 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002751/1.182, allocations: 1.833 MB / 0.8893 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00212/1.184, allocations: 1.293 MB / 0.8906 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of Backend: time 1.81e-07/1.184, allocations: 0 / 0.8906 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01822/1.202, allocations: 5.953 MB / 0.8964 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of SimCode: time 0.01082/1.213, allocations: 6.494 MB / 0.9028 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of Templates: time 0.1704/1.384, allocations: 108.6 MB / 1.009 GB, free: 0.8398 MB / 0.7481 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestPipesAndValves/SeriesPipes13/SeriesPipes13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.580058293882757]