Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.SeriesPipes1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1") translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001023/0.001027, allocations: 112.7 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00112/0.00112, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 247.6 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2091/0.2091, allocations: 46.09 MB / 345 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 83.86 kB / 482 MB, free: 4.141 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2818, allocations: 62.43 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1): time 0.08596/0.3678, allocations: 92 MB / 0.6215 GB, free: 5.48 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.04501/0.4129, allocations: 37.31 MB / 0.6579 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002514/0.4154, allocations: 87.55 kB / 0.658 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002805/0.4183, allocations: 1.173 MB / 0.6592 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0206/0.4389, allocations: 7.969 MB / 0.6669 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.02254/0.4615, allocations: 9.088 MB / 0.6758 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00929/0.4708, allocations: 6.632 MB / 0.6823 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002714/0.4735, allocations: 1.504 MB / 0.6838 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005297/0.4788, allocations: 2.625 MB / 0.6863 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02494/0.5038, allocations: 13.54 MB / 0.6996 GB, free: 5.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0008409/0.5047, allocations: 220 kB / 0.6998 GB, free: 4.965 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0208/0.5255, allocations: 10.48 MB / 0.71 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001557/0.5271, allocations: 0.9388 MB / 0.7109 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002035/0.5291, allocations: 1.4 MB / 0.7123 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.309/0.8381, allocations: 9.507 MB / 0.7216 GB, free: 43.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.8382, allocations: 3.5 kB / 0.7216 GB, free: 43.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8382, allocations: 0 / 0.7216 GB, free: 43.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.51e-05/0.8383, allocations: 1.719 kB / 0.7216 GB, free: 43.09 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.01148/0.8498, allocations: 4.076 MB / 0.7256 GB, free: 41.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.8498, allocations: 8.062 kB / 0.7256 GB, free: 41.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005998/0.8559, allocations: 0.8139 MB / 0.7264 GB, free: 41.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/0.8665, allocations: 6.675 MB / 0.7329 GB, free: 40.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.8667, allocations: 182.4 kB / 0.7331 GB, free: 40.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003402/0.8671, allocations: 199.2 kB / 0.7332 GB, free: 40.92 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006899/0.874, allocations: 3.482 MB / 0.7366 GB, free: 40.47 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.1e-05/0.874, allocations: 9.969 kB / 0.7367 GB, free: 40.47 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002226/0.8743, allocations: 80.88 kB / 0.7367 GB, free: 40.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002178/0.8745, allocations: 187.7 kB / 0.7369 GB, free: 40.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00659/0.8811, allocations: 3.221 MB / 0.7401 GB, free: 40.44 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.01626/0.8974, allocations: 15.11 MB / 0.7548 GB, free: 31.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005092/0.9025, allocations: 2.262 MB / 0.757 GB, free: 31.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/0.9042, allocations: 1.136 MB / 0.7581 GB, free: 31.33 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04381/0.948, allocations: 27.26 MB / 0.7848 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004751/0.9528, allocations: 1.603 MB / 0.7863 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=155): time 4.849e-06/0.9528, allocations: 4 kB / 0.7863 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=171): time 0.02336/0.9762, allocations: 8.646 MB / 0.7948 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.9763, allocations: 222.9 kB / 0.795 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002013/0.9783, allocations: 1.628 MB / 0.7966 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001953/0.9785, allocations: 60.03 kB / 0.7966 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009736/0.9795, allocations: 0.9946 MB / 0.7976 GB, free: 24.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004243/0.9799, allocations: 0.5797 MB / 0.7982 GB, free: 24.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006514/0.9806, allocations: 434.3 kB / 0.7986 GB, free: 23.88 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.9807, allocations: 303.4 kB / 0.7989 GB, free: 23.58 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001874/0.9826, allocations: 1.159 MB / 0.8 GB, free: 22.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002108/0.9847, allocations: 1.654 MB / 0.8016 GB, free: 21.36 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003838/0.9885, allocations: 2.881 MB / 0.8044 GB, free: 19.26 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.9886, allocations: 4 kB / 0.8044 GB, free: 19.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005521/0.9941, allocations: 3.358 MB / 0.8077 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.83e-05/0.9942, allocations: 51.69 kB / 0.8078 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.738e-05/0.9942, allocations: 12 kB / 0.8078 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008315/0.995, allocations: 258.2 kB / 0.808 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/0.997, allocations: 0.5087 MB / 0.8085 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.9984, allocations: 2.507 MB / 0.811 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/1, allocations: 106.7 kB / 0.8111 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/1, allocations: 103 kB / 0.8112 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002635/1.003, allocations: 1.599 MB / 0.8127 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002247/1.005, allocations: 1.591 MB / 0.8143 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004182/1.009, allocations: 2.771 MB / 0.817 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.375e-06/1.009, allocations: 4 kB / 0.817 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005832/1.015, allocations: 3.241 MB / 0.8202 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.919e-05/1.015, allocations: 45.62 kB / 0.8202 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/1.015, allocations: 12 kB / 0.8202 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008295/1.016, allocations: 259.1 kB / 0.8205 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/1.018, allocations: 0.5004 MB / 0.8209 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/1.02, allocations: 2.496 MB / 0.8234 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/1.022, allocations: 116.4 kB / 0.8235 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/1.022, allocations: 101.6 kB / 0.8236 GB, free: 3.469 MB / 0.5762 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 (253): * Single equations (assignments): 246 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006072/1.022, allocations: 342.5 kB / 0.8239 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004036/1.023, allocations: 209.5 kB / 0.8241 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00991/1.033, allocations: 7.665 MB / 0.8316 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007964/1.041, allocations: 6.625 MB / 0.8381 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/1.041, allocations: 0 / 0.8381 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/1.042, allocations: 0.6328 MB / 0.8387 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003863/1.042, allocations: 83.52 kB / 0.8388 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/1.044, allocations: 130.4 kB / 0.8389 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/1.044, allocations: 153.7 kB / 0.839 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007335/1.051, allocations: 4.819 MB / 0.8437 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008946/1.06, allocations: 6.903 MB / 0.8505 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002666/1.063, allocations: 2.235 MB / 0.8527 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001779/1.065, allocations: 1.297 MB / 0.8539 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of Backend: time 5.31e-07/1.065, allocations: 0 / 0.8539 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01661/1.081, allocations: 6.194 MB / 0.86 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of SimCode: time 0.009532/1.091, allocations: 6.382 MB / 0.8662 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of Templates: time 0.143/1.234, allocations: 103 MB / 0.9668 GB, free: 2.605 MB / 0.7169 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestPipesAndValves/SeriesPipes1/SeriesPipes1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches