Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.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.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008529/0.000853, allocations: 91.3 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00103/0.00103, allocations: 202 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2107/0.2107, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003021, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.111, allocations: 63.56 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.3752/0.4863, allocations: 151.6 MB / 0.6198 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01401/0.5003, allocations: 10.73 MB / 0.6303 GB, free: 1.645 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009799/0.5013, allocations: 35.69 kB / 0.6304 GB, free: 1.609 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.5024, allocations: 362 kB / 0.6307 GB, free: 1.254 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003275/0.5057, allocations: 1.366 MB / 0.632 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005667/0.5114, allocations: 2.28 MB / 0.6343 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004398/0.5158, allocations: 3.922 MB / 0.6381 GB, free: 9.684 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.5169, allocations: 0.6443 MB / 0.6387 GB, free: 9.031 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001656/0.5186, allocations: 0.8873 MB / 0.6396 GB, free: 8.141 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.5203, allocations: 1.133 MB / 0.6407 GB, free: 7.004 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.5205, allocations: 59.98 kB / 0.6408 GB, free: 6.945 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003649/0.5242, allocations: 2 MB / 0.6427 GB, free: 4.941 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004425/0.5246, allocations: 362.9 kB / 0.6431 GB, free: 4.586 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006591/0.5253, allocations: 0.5421 MB / 0.6436 GB, free: 4.035 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003774/0.5291, allocations: 2.532 MB / 0.6461 GB, free: 1.496 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5291, allocations: 0 / 0.6461 GB, free: 1.496 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5291, allocations: 0 / 0.6461 GB, free: 1.496 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.5291, allocations: 0 / 0.6461 GB, free: 1.496 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.003148/0.5323, allocations: 1.386 MB / 0.6474 GB, free: 60 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.5323, allocations: 15.97 kB / 0.6474 GB, free: 44 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004806/0.5328, allocations: 122.7 kB / 0.6475 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.534, allocations: 0.7098 MB / 0.6482 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.5341, allocations: 112.7 kB / 0.6483 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.5343, allocations: 67.98 kB / 0.6484 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.5363, allocations: 1.208 MB / 0.6496 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.5363, allocations: 3.938 kB / 0.6496 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.5364, allocations: 27.98 kB / 0.6496 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.5365, allocations: 73.95 kB / 0.6497 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.5385, allocations: 1.21 MB / 0.6509 GB, free: 12.42 MB / 494.1 MB 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.008229/0.5467, allocations: 4.925 MB / 0.6557 GB, free: 7.207 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.548, allocations: 0.6841 MB / 0.6563 GB, free: 6.516 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006701/0.5487, allocations: 426.3 kB / 0.6568 GB, free: 6.098 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003164/0.5518, allocations: 2.438 MB / 0.6591 GB, free: 3.445 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.5519, allocations: 39 kB / 0.6592 GB, free: 3.398 MB / 494.1 MB Notification: Performance of pre-optimization done (n=52): time 2.074e-06/0.5519, allocations: 0 / 0.6592 GB, free: 3.398 MB / 494.1 MB Notification: Performance of matching and sorting (n=57): time 0.00722/0.5591, allocations: 3.035 MB / 0.6621 GB, free: 252 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.836e-05/0.5593, allocations: 166.8 kB / 0.6623 GB, free: 44 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.5605, allocations: 0.9582 MB / 0.6632 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.251e-05/0.5606, allocations: 37.7 kB / 0.6633 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00033/0.5609, allocations: 471.1 kB / 0.6637 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.5611, allocations: 209.1 kB / 0.6639 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.5612, allocations: 77.67 kB / 0.664 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.5614, allocations: 346 kB / 0.6643 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007674/0.5621, allocations: 465.7 kB / 0.6648 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009195/0.5631, allocations: 0.7038 MB / 0.6654 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.5647, allocations: 1.089 MB / 0.6665 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.5647, allocations: 4 kB / 0.6665 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00258/0.5673, allocations: 1.562 MB / 0.668 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001908/0.5675, allocations: 290 kB / 0.6683 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.5675, allocations: 4 kB / 0.6683 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00168/0.5692, allocations: 0.5333 MB / 0.6688 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000777/0.57, allocations: 191.7 kB / 0.669 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/0.5725, allocations: 2.932 MB / 0.6719 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008906/0.5734, allocations: 60 kB / 0.6719 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.5735, allocations: 47.98 kB / 0.672 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.694e-06/0.5735, allocations: 7.938 kB / 0.672 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002546/0.5761, allocations: 1.405 MB / 0.6734 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.5761, allocations: 8 kB / 0.6734 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.5772, allocations: 426.3 kB / 0.6738 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007697/0.578, allocations: 187.7 kB / 0.674 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/0.5803, allocations: 2.826 MB / 0.6767 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008241/0.5811, allocations: 56.06 kB / 0.6768 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.142e-05/0.5812, allocations: 43.98 kB / 0.6768 GB, free: 396 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 4 (vol1.regularFlow[1],vol1.regularFlow[2],vol1.inFlow[2],vol1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005141/0.5817, allocations: 372.7 kB / 0.6772 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.5819, allocations: 94.83 kB / 0.6773 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/0.5843, allocations: 1.405 MB / 0.6786 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.5844, allocations: 8 kB / 0.6786 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.5844, allocations: 0 / 0.6786 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.5844, allocations: 3.984 kB / 0.6786 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00352/0.5879, allocations: 2.346 MB / 0.6809 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.5879, allocations: 0 / 0.6809 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004735/0.5884, allocations: 87.88 kB / 0.681 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001554/0.59, allocations: 0.5137 MB / 0.6815 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-05/0.59, allocations: 15.98 kB / 0.6815 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/0.5924, allocations: 2.915 MB / 0.6844 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5924, allocations: 0 / 0.6844 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002666/0.5951, allocations: 1.761 MB / 0.6861 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005105/0.5956, allocations: 315.5 kB / 0.6864 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.5958, allocations: 12 kB / 0.6864 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006683/0.5965, allocations: 43.91 kB / 0.6865 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.5966, allocations: 52.55 kB / 0.6865 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.179e-05/0.5967, allocations: 31.98 kB / 0.6865 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008921/0.5976, allocations: 0.6713 MB / 0.6872 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5976, allocations: 0 / 0.6872 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002012/0.5996, allocations: 0.8121 MB / 0.688 GB, free: 4.523 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001485/0.6011, allocations: 0.6656 MB / 0.6886 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003739/0.6049, allocations: 1.916 MB / 0.6905 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.6049, allocations: 1.625 kB / 0.6905 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.6061, allocations: 0.5837 MB / 0.6911 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.6082, allocations: 404.7 kB / 0.6915 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003759/0.612, allocations: 2.345 MB / 0.6938 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000673/0.6127, allocations: 1.062 MB / 0.6948 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001434/0.6142, allocations: 437.1 kB / 0.6952 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.6144, allocations: 91.34 kB / 0.6953 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of SimCode: time 6.52e-07/0.6144, allocations: 0 / 0.6953 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of Templates: time 0.2415/0.8559, allocations: 28.27 MB / 0.7229 GB, free: 189.8 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestInitialization/TestInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches