Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.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.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, 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.001644/0.001644, 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.46/1.46, allocations: 223.2 MB / 241.8 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2427/0.2427, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003454, allocations: 11.94 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1494, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 0.5278/0.6773, allocations: 158.2 MB / 0.6149 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01772/0.695, allocations: 11.68 MB / 0.6263 GB, free: 8.023 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.6968, allocations: 51.56 kB / 0.6263 GB, free: 7.973 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.6984, allocations: 405.9 kB / 0.6267 GB, free: 7.574 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006133/0.7045, allocations: 2.016 MB / 0.6287 GB, free: 5.555 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006809/0.7113, allocations: 2.633 MB / 0.6313 GB, free: 2.934 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002956/0.7143, allocations: 1.753 MB / 0.633 GB, free: 1.172 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009212/0.7152, allocations: 0.646 MB / 0.6336 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001926/0.7172, allocations: 1.071 MB / 0.6347 GB, free: 15.44 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.7185, allocations: 0.9075 MB / 0.6355 GB, free: 14.53 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.7187, allocations: 56 kB / 0.6356 GB, free: 14.48 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004919/0.7236, allocations: 2.454 MB / 0.638 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003695/0.724, allocations: 343 kB / 0.6383 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000299/0.7243, allocations: 245.1 kB / 0.6385 GB, free: 11.44 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003519/0.7278, allocations: 2.335 MB / 0.6408 GB, free: 9.098 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.7278, allocations: 0 / 0.6408 GB, free: 9.098 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.7279, allocations: 0 / 0.6408 GB, free: 9.098 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.7279, allocations: 0 / 0.6408 GB, free: 9.098 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003671/0.7315, allocations: 1.628 MB / 0.6424 GB, free: 7.418 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.7316, allocations: 8.031 kB / 0.6424 GB, free: 7.41 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.7328, allocations: 222.3 kB / 0.6426 GB, free: 7.191 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.7342, allocations: 0.7544 MB / 0.6434 GB, free: 6.395 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.319e-05/0.7343, allocations: 61.98 kB / 0.6434 GB, free: 6.332 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.7344, allocations: 79.92 kB / 0.6435 GB, free: 6.254 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.7364, allocations: 1.225 MB / 0.6447 GB, free: 4.977 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.7364, allocations: 3.938 kB / 0.6447 GB, free: 4.973 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.7365, allocations: 31.98 kB / 0.6447 GB, free: 4.941 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.7366, allocations: 81.95 kB / 0.6448 GB, free: 4.859 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/0.7387, allocations: 1.245 MB / 0.646 GB, free: 3.617 MB / 478.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.007453/0.7462, allocations: 4.833 MB / 0.6508 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.7475, allocations: 0.7649 MB / 0.6515 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003241/0.7478, allocations: 352.9 kB / 0.6518 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.7478, allocations: 43.12 kB / 0.6519 GB, free: 13.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=68): time 2.274e-06/0.7478, allocations: 0 / 0.6519 GB, free: 13.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=73): time 0.007642/0.7555, allocations: 2.812 MB / 0.6546 GB, free: 10.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.7556, allocations: 218.3 kB / 0.6548 GB, free: 10.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.7568, allocations: 0.9308 MB / 0.6557 GB, free: 9.164 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-05/0.7569, allocations: 45.7 kB / 0.6558 GB, free: 9.113 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/0.7573, allocations: 487.4 kB / 0.6563 GB, free: 8.633 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.7575, allocations: 260.2 kB / 0.6565 GB, free: 8.375 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-05/0.7576, allocations: 20 kB / 0.6565 GB, free: 8.355 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.7577, allocations: 349.9 kB / 0.6569 GB, free: 8.008 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007578/0.7585, allocations: 421.8 kB / 0.6573 GB, free: 7.598 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009368/0.7595, allocations: 0.6687 MB / 0.6579 GB, free: 6.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008661/0.7603, allocations: 0.5183 MB / 0.6584 GB, free: 6.305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.7603, allocations: 4 kB / 0.6584 GB, free: 6.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002477/0.7628, allocations: 1.442 MB / 0.6598 GB, free: 4.852 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000996/0.7638, allocations: 2.441 MB / 0.6622 GB, free: 2.215 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.7639, allocations: 8 kB / 0.6622 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00342/0.7673, allocations: 0.7128 MB / 0.6629 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007122/0.768, allocations: 187.7 kB / 0.6631 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.7697, allocations: 1.286 MB / 0.6643 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.7707, allocations: 75.92 kB / 0.6644 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/0.7709, allocations: 95.97 kB / 0.6645 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.7709, allocations: 4 kB / 0.6645 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00216/0.7731, allocations: 1.215 MB / 0.6657 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.7731, allocations: 4 kB / 0.6657 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/0.7746, allocations: 374.8 kB / 0.6661 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007288/0.7754, allocations: 207.7 kB / 0.6663 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.7764, allocations: 0.9738 MB / 0.6672 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009103/0.7774, allocations: 71.95 kB / 0.6673 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.7775, allocations: 91.94 kB / 0.6674 GB, free: 12.88 MB / 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.000635/0.7781, allocations: 372.8 kB / 0.6677 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.7783, allocations: 106.7 kB / 0.6678 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003454/0.7818, allocations: 1.909 MB / 0.6697 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.7818, allocations: 8 kB / 0.6697 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.7818, allocations: 3.953 kB / 0.6697 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.7819, allocations: 11.98 kB / 0.6697 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003798/0.7857, allocations: 2.497 MB / 0.6722 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.7857, allocations: 352 / 0.6722 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007541/0.7864, allocations: 187.8 kB / 0.6723 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/0.7866, allocations: 28.84 kB / 0.6724 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.039e-05/0.7866, allocations: 35.97 kB / 0.6724 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.7877, allocations: 1.295 MB / 0.6737 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.7877, allocations: 11.89 kB / 0.6737 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002772/0.7905, allocations: 1.778 MB / 0.6754 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003879/0.7909, allocations: 199.7 kB / 0.6756 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.7911, allocations: 24.06 kB / 0.6756 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006755/0.7918, allocations: 51.95 kB / 0.6757 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.7919, allocations: 76.38 kB / 0.6757 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/0.7921, allocations: 75.97 kB / 0.6758 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008983/0.793, allocations: 0.6457 MB / 0.6764 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.793, allocations: 0 / 0.6764 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002706/0.7957, allocations: 1.003 MB / 0.6774 GB, free: 2.121 MB / 0.4981 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.002025/0.7977, allocations: 0.8465 MB / 0.6783 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003102/0.8008, allocations: 1.627 MB / 0.6798 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.8009, allocations: 448 / 0.6798 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009355/0.8018, allocations: 0.5795 MB / 0.6804 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/0.8044, allocations: 0.5908 MB / 0.681 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/0.8078, allocations: 2.365 MB / 0.6833 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006522/0.8084, allocations: 1.106 MB / 0.6844 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003079/0.8115, allocations: 1.477 MB / 0.6858 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006379/0.8122, allocations: 203.3 kB / 0.686 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of SimCode: time 8.31e-07/0.8122, allocations: 0 / 0.686 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of Templates: time 0.2827/1.095, allocations: 34.78 MB / 0.72 GB, free: 196.5 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches