Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.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.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009713/0.0009714, allocations: 98.41 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001009/0.001009, allocations: 206.6 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2345/0.2345, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 8 kB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1388, allocations: 63.46 MB / 481.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 0.5601/0.699, allocations: 158.2 MB / 0.6246 GB, free: 7.34 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01909/0.7181, allocations: 11.7 MB / 0.6361 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.7204, allocations: 43.62 kB / 0.6361 GB, free: 11.58 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.7223, allocations: 397.9 kB / 0.6365 GB, free: 11.19 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009726/0.7321, allocations: 2.029 MB / 0.6385 GB, free: 9.156 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00829/0.7404, allocations: 2.611 MB / 0.641 GB, free: 6.559 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004498/0.7449, allocations: 1.764 MB / 0.6427 GB, free: 4.789 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.7462, allocations: 0.6431 MB / 0.6434 GB, free: 4.137 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002606/0.7488, allocations: 1.067 MB / 0.6444 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001818/0.7507, allocations: 0.9075 MB / 0.6453 GB, free: 2.156 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001993/0.7509, allocations: 56 kB / 0.6453 GB, free: 2.102 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005828/0.7567, allocations: 2.481 MB / 0.6478 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005522/0.7573, allocations: 339 kB / 0.6481 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005493/0.7579, allocations: 249.1 kB / 0.6483 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004859/0.7627, allocations: 2.331 MB / 0.6506 GB, free: 12.7 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7628, allocations: 3.938 kB / 0.6506 GB, free: 12.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.7628, allocations: 0 / 0.6506 GB, free: 12.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.109e-05/0.7628, allocations: 3.938 kB / 0.6506 GB, free: 12.69 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004126/0.7669, allocations: 1.636 MB / 0.6522 GB, free: 11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.767, allocations: 12.03 kB / 0.6522 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.7682, allocations: 214.4 kB / 0.6524 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.7696, allocations: 0.7583 MB / 0.6532 GB, free: 9.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.127e-05/0.7697, allocations: 57.97 kB / 0.6532 GB, free: 9.922 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.7699, allocations: 67.98 kB / 0.6533 GB, free: 9.855 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.7719, allocations: 1.233 MB / 0.6545 GB, free: 8.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.7719, allocations: 3.984 kB / 0.6545 GB, free: 8.566 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.772, allocations: 35.98 kB / 0.6545 GB, free: 8.531 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/0.7721, allocations: 77.95 kB / 0.6546 GB, free: 8.453 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.7742, allocations: 1.249 MB / 0.6558 GB, free: 7.203 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.007962/0.7821, allocations: 4.832 MB / 0.6605 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.7835, allocations: 0.7566 MB / 0.6613 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005013/0.7841, allocations: 352.9 kB / 0.6616 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.456e-05/0.7841, allocations: 49.56 kB / 0.6617 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of pre-optimization done (n=68): time 3.587e-06/0.7841, allocations: 0 / 0.6617 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of matching and sorting (n=73): time 0.008375/0.7925, allocations: 2.819 MB / 0.6644 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.7927, allocations: 226.2 kB / 0.6646 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.7941, allocations: 0.9308 MB / 0.6655 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.7943, allocations: 45.7 kB / 0.6656 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004315/0.7947, allocations: 491.5 kB / 0.6661 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/0.795, allocations: 260.2 kB / 0.6663 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/0.7951, allocations: 20 kB / 0.6663 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.7952, allocations: 341.9 kB / 0.6666 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007782/0.796, allocations: 421.8 kB / 0.6671 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000955/0.797, allocations: 0.6803 MB / 0.6677 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000898/0.7979, allocations: 0.5105 MB / 0.6682 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.7979, allocations: 0 / 0.6682 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002643/0.8005, allocations: 1.451 MB / 0.6696 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.001095/0.8016, allocations: 2.441 MB / 0.672 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.8017, allocations: 11.94 kB / 0.672 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003383/0.8051, allocations: 0.7072 MB / 0.6727 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007279/0.8058, allocations: 179.7 kB / 0.6729 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.8074, allocations: 1.288 MB / 0.6741 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.8086, allocations: 68 kB / 0.6742 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.8087, allocations: 91.98 kB / 0.6743 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.8087, allocations: 6.188 kB / 0.6743 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002186/0.8109, allocations: 1.215 MB / 0.6755 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.8109, allocations: 4 kB / 0.6755 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/0.8125, allocations: 377.5 kB / 0.6759 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007201/0.8132, allocations: 203.7 kB / 0.676 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.8143, allocations: 0.9816 MB / 0.677 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009513/0.8152, allocations: 60.83 kB / 0.6771 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.8154, allocations: 91.98 kB / 0.6772 GB, free: 476 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 28} Notification: Performance of prepare postOptimizeDAE: time 0.000665/0.816, allocations: 380.8 kB / 0.6775 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.8163, allocations: 106.7 kB / 0.6776 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00378/0.8201, allocations: 1.908 MB / 0.6795 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.8201, allocations: 8 kB / 0.6795 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.8201, allocations: 3.984 kB / 0.6795 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.8201, allocations: 0 / 0.6795 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00404/0.8242, allocations: 2.504 MB / 0.6819 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.8242, allocations: 7.938 kB / 0.6819 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007728/0.825, allocations: 187.8 kB / 0.6821 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/0.8251, allocations: 25.14 kB / 0.6821 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.322e-05/0.8252, allocations: 43.98 kB / 0.6822 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.8263, allocations: 1.296 MB / 0.6835 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.8263, allocations: 4 kB / 0.6835 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002841/0.8292, allocations: 1.782 MB / 0.6852 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004753/0.8297, allocations: 199.7 kB / 0.6854 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.8298, allocations: 20 kB / 0.6854 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007073/0.8306, allocations: 52.02 kB / 0.6855 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.8307, allocations: 72.42 kB / 0.6855 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.8309, allocations: 71.97 kB / 0.6856 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008676/0.8317, allocations: 0.6495 MB / 0.6862 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8317, allocations: 4 kB / 0.6862 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002796/0.8345, allocations: 1.011 MB / 0.6872 GB, free: 5.695 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (junction.medium.p,junction.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 73 * 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: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002171/0.8367, allocations: 0.8477 MB / 0.6881 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003164/0.8399, allocations: 1.63 MB / 0.6896 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/0.8399, allocations: 3.859 kB / 0.6896 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009207/0.8408, allocations: 0.5853 MB / 0.6902 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/0.8437, allocations: 0.5801 MB / 0.6908 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/0.8471, allocations: 2.377 MB / 0.6931 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006257/0.8478, allocations: 1.098 MB / 0.6942 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003208/0.851, allocations: 1.475 MB / 0.6956 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000643/0.8517, allocations: 207.3 kB / 0.6958 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of SimCode: time 1.393e-06/0.8517, allocations: 0 / 0.6958 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of Templates: time 0.3012/1.153, allocations: 34.72 MB / 0.7297 GB, free: 186.9 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestJunctionVolume/TestJunctionVolume.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches