Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 98.11 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 178.7 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.2 MB / 241.8 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2163/0.2163, allocations: 44.23 MB / 337.1 MB, free: 2.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003286, allocations: 12 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1204, allocations: 61.93 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.3877/0.5082, allocations: 129.3 MB / 0.5867 GB, free: 196 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01449/0.5227, allocations: 9.216 MB / 0.5957 GB, free: 6.965 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.524, allocations: 35.69 kB / 0.5957 GB, free: 6.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.5254, allocations: 354.2 kB / 0.596 GB, free: 6.582 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003881/0.5293, allocations: 1.192 MB / 0.5972 GB, free: 5.387 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006309/0.5356, allocations: 2.106 MB / 0.5993 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002961/0.5386, allocations: 1.503 MB / 0.6007 GB, free: 1.789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.5399, allocations: 0.6237 MB / 0.6013 GB, free: 1.156 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001795/0.5417, allocations: 0.8297 MB / 0.6021 GB, free: 332 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.5433, allocations: 0.7672 MB / 0.6029 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002956/0.5436, allocations: 52 kB / 0.6029 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003876/0.5474, allocations: 1.837 MB / 0.6047 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005379/0.548, allocations: 327.1 kB / 0.605 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004335/0.5485, allocations: 217.2 kB / 0.6053 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003152/0.5516, allocations: 1.844 MB / 0.6071 GB, free: 11.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.5516, allocations: 0 / 0.6071 GB, free: 11.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5516, allocations: 0 / 0.6071 GB, free: 11.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.262e-05/0.5517, allocations: 0 / 0.6071 GB, free: 11.28 MB / 446.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.003743/0.5554, allocations: 1.375 MB / 0.6084 GB, free: 9.852 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.5555, allocations: 12.56 kB / 0.6084 GB, free: 9.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006579/0.5562, allocations: 114.8 kB / 0.6085 GB, free: 9.727 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.5578, allocations: 0.7062 MB / 0.6092 GB, free: 8.977 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.558, allocations: 112.7 kB / 0.6093 GB, free: 8.855 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.5582, allocations: 71.88 kB / 0.6094 GB, free: 8.785 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.5603, allocations: 1.196 MB / 0.6106 GB, free: 7.555 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.5603, allocations: 0 / 0.6106 GB, free: 7.555 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.5605, allocations: 27.98 kB / 0.6106 GB, free: 7.527 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/0.5606, allocations: 77.94 kB / 0.6107 GB, free: 7.449 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.5626, allocations: 1.206 MB / 0.6118 GB, free: 6.246 MB / 446.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.009181/0.5718, allocations: 4.98 MB / 0.6167 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.5732, allocations: 0.6841 MB / 0.6174 GB, free: 288 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003758/0.5769, allocations: 2.477 MB / 0.6198 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001102/0.5771, allocations: 39 kB / 0.6198 GB, free: 13.55 MB / 462.1 MB Notification: Performance of pre-optimization done (n=52): time 2.756e-06/0.5771, allocations: 0 / 0.6198 GB, free: 13.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=57): time 0.007836/0.5849, allocations: 3.03 MB / 0.6228 GB, free: 10.4 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.5851, allocations: 162.8 kB / 0.6229 GB, free: 10.21 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.5866, allocations: 0.9504 MB / 0.6239 GB, free: 9.246 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001394/0.5867, allocations: 37.7 kB / 0.6239 GB, free: 9.203 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004149/0.5871, allocations: 467.1 kB / 0.6243 GB, free: 8.742 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.5874, allocations: 209.1 kB / 0.6245 GB, free: 8.535 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.5875, allocations: 20 kB / 0.6246 GB, free: 8.516 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.5877, allocations: 337.9 kB / 0.6249 GB, free: 8.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008938/0.5886, allocations: 449.7 kB / 0.6253 GB, free: 7.742 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009712/0.5895, allocations: 0.6921 MB / 0.626 GB, free: 6.938 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009094/0.5905, allocations: 0.5222 MB / 0.6265 GB, free: 6.418 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.5905, allocations: 0 / 0.6265 GB, free: 6.418 MB / 462.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002805/0.5933, allocations: 1.527 MB / 0.628 GB, free: 4.859 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001279/0.5946, allocations: 2.615 MB / 0.6305 GB, free: 2.035 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.5946, allocations: 8 kB / 0.6306 GB, free: 2.027 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001846/0.5965, allocations: 0.5215 MB / 0.6311 GB, free: 1.496 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008043/0.5973, allocations: 183.7 kB / 0.6312 GB, free: 1.316 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0029/0.6002, allocations: 2.94 MB / 0.6341 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009688/0.6012, allocations: 55.88 kB / 0.6342 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.6013, allocations: 43.98 kB / 0.6342 GB, free: 14.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.6014, allocations: 12.12 kB / 0.6342 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002862/0.6042, allocations: 1.386 MB / 0.6356 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/0.6043, allocations: 8 kB / 0.6356 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.6054, allocations: 422.6 kB / 0.636 GB, free: 12.24 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/0.6062, allocations: 187.7 kB / 0.6362 GB, free: 12.06 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/0.6088, allocations: 2.842 MB / 0.6389 GB, free: 9.035 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009549/0.6097, allocations: 51.91 kB / 0.639 GB, free: 8.984 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.6099, allocations: 43.98 kB / 0.639 GB, free: 8.941 MB / 478.1 MB 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.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006125/0.6105, allocations: 372.9 kB / 0.6394 GB, free: 8.566 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.6107, allocations: 102.7 kB / 0.6395 GB, free: 8.465 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/0.6133, allocations: 1.402 MB / 0.6408 GB, free: 7.023 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.6133, allocations: 11.98 kB / 0.6409 GB, free: 7.012 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.6133, allocations: 0 / 0.6409 GB, free: 7.012 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.6133, allocations: 7.984 kB / 0.6409 GB, free: 7.004 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003721/0.617, allocations: 2.338 MB / 0.6432 GB, free: 4.574 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.6171, allocations: 0 / 0.6432 GB, free: 4.574 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004849/0.6176, allocations: 95.94 kB / 0.6432 GB, free: 4.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001692/0.6193, allocations: 0.5137 MB / 0.6437 GB, free: 3.957 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.344e-05/0.6193, allocations: 19.94 kB / 0.6438 GB, free: 3.938 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002468/0.6218, allocations: 2.915 MB / 0.6466 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6218, allocations: 192 / 0.6466 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/0.6245, allocations: 1.781 MB / 0.6483 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006295/0.6251, allocations: 319.6 kB / 0.6487 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000221/0.6254, allocations: 12 kB / 0.6487 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006909/0.6261, allocations: 51.94 kB / 0.6487 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.6262, allocations: 52.48 kB / 0.6488 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.513e-05/0.6263, allocations: 35.97 kB / 0.6488 GB, free: 14.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009295/0.6272, allocations: 0.6596 MB / 0.6494 GB, free: 13.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6272, allocations: 4 kB / 0.6494 GB, free: 13.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00224/0.6295, allocations: 0.8082 MB / 0.6502 GB, free: 13.03 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001698/0.6312, allocations: 0.6358 MB / 0.6509 GB, free: 12.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003924/0.6351, allocations: 1.89 MB / 0.6527 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.6351, allocations: 4 kB / 0.6527 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.6363, allocations: 0.5797 MB / 0.6533 GB, free: 9.879 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/0.6382, allocations: 387.1 kB / 0.6536 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/0.6421, allocations: 2.252 MB / 0.6558 GB, free: 7.227 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007081/0.6428, allocations: 1.078 MB / 0.6569 GB, free: 6.121 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001411/0.6442, allocations: 439 kB / 0.6573 GB, free: 5.699 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.6445, allocations: 91.39 kB / 0.6574 GB, free: 5.609 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.6445, allocations: 0 / 0.6574 GB, free: 5.609 MB / 494.1 MB Notification: Performance of Templates: time 0.04273/0.6872, allocations: 27.34 MB / 0.6841 GB, free: 10.44 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches