Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.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.001878/0.001878, allocations: 106.8 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.002272/0.002272, allocations: 217.1 kB / 24.49 MB, free: 3.93 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.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 7.77 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.222/0.222, allocations: 46.96 MB / 361.6 MB, free: 4.035 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.SeriesPipes12,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.SeriesPipes12") translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12,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.SeriesPipes12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 67.91 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2786, allocations: 66.03 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12): time 0.09305/0.3717, allocations: 84.02 MB / 0.6439 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.05011/0.4218, allocations: 33.64 MB / 0.6767 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002133/0.4239, allocations: 115.1 kB / 0.6768 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00306/0.427, allocations: 1.095 MB / 0.6779 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.02095/0.4479, allocations: 8.093 MB / 0.6858 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.02287/0.4708, allocations: 9.436 MB / 0.695 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009912/0.4807, allocations: 6.925 MB / 0.7018 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002504/0.4832, allocations: 1.352 MB / 0.7031 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005228/0.4885, allocations: 2.695 MB / 0.7057 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02717/0.5156, allocations: 13.77 MB / 0.7192 GB, free: 2.406 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0008133/0.5164, allocations: 216 kB / 0.7194 GB, free: 2.195 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02058/0.537, allocations: 9.935 MB / 0.7291 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002075/0.5391, allocations: 0.9736 MB / 0.73 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002274/0.5414, allocations: 1.167 MB / 0.7312 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.2995/0.8409, allocations: 9.4 MB / 0.7404 GB, free: 39.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8409, allocations: 3.188 kB / 0.7404 GB, free: 39.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8409, allocations: 1.094 kB / 0.7404 GB, free: 39.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.701e-05/0.841, allocations: 3.188 kB / 0.7404 GB, free: 39.45 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.01146/0.8525, allocations: 4.119 MB / 0.7444 GB, free: 37.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.8525, allocations: 8.594 kB / 0.7444 GB, free: 37.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005736/0.8582, allocations: 0.8224 MB / 0.7452 GB, free: 37.53 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/0.8684, allocations: 6.606 MB / 0.7517 GB, free: 36.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.8685, allocations: 176.9 kB / 0.7518 GB, free: 36.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004139/0.869, allocations: 200.7 kB / 0.752 GB, free: 36.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007332/0.8763, allocations: 3.948 MB / 0.7559 GB, free: 35.97 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.704e-05/0.8763, allocations: 6.156 kB / 0.7559 GB, free: 35.97 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/0.8766, allocations: 83.16 kB / 0.756 GB, free: 35.97 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002256/0.8768, allocations: 186.9 kB / 0.7561 GB, free: 35.97 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006643/0.8834, allocations: 3.245 MB / 0.7593 GB, free: 35.91 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.01627/0.8997, allocations: 9.879 MB / 0.7689 GB, free: 32.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005233/0.9049, allocations: 2.219 MB / 0.7711 GB, free: 32.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.9066, allocations: 1.112 MB / 0.7722 GB, free: 32.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04225/0.9489, allocations: 13.35 MB / 0.7852 GB, free: 31.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004345/0.9532, allocations: 1.793 MB / 0.787 GB, free: 30.94 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=155): time 5.42e-06/0.9532, allocations: 0 / 0.787 GB, free: 30.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=171): time 0.01792/0.9711, allocations: 8.029 MB / 0.7948 GB, free: 30.04 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.9712, allocations: 232.7 kB / 0.795 GB, free: 29.79 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/0.9728, allocations: 1.378 MB / 0.7964 GB, free: 29.58 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002566/0.9731, allocations: 59.83 kB / 0.7965 GB, free: 29.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005778/0.9737, allocations: 1.018 MB / 0.7974 GB, free: 29.08 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004126/0.9741, allocations: 0.6146 MB / 0.798 GB, free: 28.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006226/0.9747, allocations: 439.4 kB / 0.7985 GB, free: 28.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.441e-05/0.9747, allocations: 304.8 kB / 0.7988 GB, free: 28.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/0.9765, allocations: 1.191 MB / 0.7999 GB, free: 27.56 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002109/0.9787, allocations: 1.813 MB / 0.8017 GB, free: 26.17 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003852/0.9825, allocations: 2.882 MB / 0.8045 GB, free: 24.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.9825, allocations: 4 kB / 0.8045 GB, free: 24.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006727/0.9892, allocations: 3.939 MB / 0.8084 GB, free: 21.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.654e-05/0.9893, allocations: 49.44 kB / 0.8084 GB, free: 21.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.913e-05/0.9893, allocations: 12.91 kB / 0.8084 GB, free: 21.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01559/1.005, allocations: 3.159 MB / 0.8115 GB, free: 19.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/1.006, allocations: 313.8 kB / 0.8118 GB, free: 18.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004952/1.011, allocations: 3.45 MB / 0.8152 GB, free: 16.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/1.013, allocations: 112.9 kB / 0.8153 GB, free: 16.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/1.013, allocations: 96.97 kB / 0.8154 GB, free: 16.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002509/1.016, allocations: 1.633 MB / 0.817 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001925/1.018, allocations: 1.751 MB / 0.8187 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003526/1.021, allocations: 2.773 MB / 0.8214 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.087e-06/1.021, allocations: 4 kB / 0.8214 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.006182/1.027, allocations: 3.726 MB / 0.825 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/1.027, allocations: 45.7 kB / 0.8251 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/1.027, allocations: 19.73 kB / 0.8251 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00638/1.034, allocations: 1.718 MB / 0.8268 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/1.035, allocations: 363.4 kB / 0.8271 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003226/1.038, allocations: 2.75 MB / 0.8298 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/1.04, allocations: 103.9 kB / 0.8299 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/1.04, allocations: 99.97 kB / 0.83 GB, free: 3.379 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.0004927/1.04, allocations: 345.6 kB / 0.8303 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003272/1.041, allocations: 194.8 kB / 0.8305 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/1.051, allocations: 7.925 MB / 0.8382 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009211/1.06, allocations: 6.867 MB / 0.8449 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/1.06, allocations: 0 / 0.8449 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/1.062, allocations: 0.5632 MB / 0.8455 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003735/1.062, allocations: 79.66 kB / 0.8456 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/1.063, allocations: 131.8 kB / 0.8457 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003239/1.064, allocations: 157.7 kB / 0.8459 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008174/1.072, allocations: 4.908 MB / 0.8506 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0103/1.082, allocations: 7.126 MB / 0.8576 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002787/1.085, allocations: 1.913 MB / 0.8595 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001683/1.087, allocations: 1.096 MB / 0.8605 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of Backend: time 4.3e-07/1.087, allocations: 1.094 kB / 0.8605 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01683/1.103, allocations: 6.007 MB / 0.8664 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of SimCode: time 0.009744/1.113, allocations: 6.341 MB / 0.8726 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of Templates: time 0.1522/1.265, allocations: 105.2 MB / 0.9753 GB, free: 15.14 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestPipesAndValves/SeriesPipes12/SeriesPipes12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.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.351500232005492]