Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001485/0.001485, allocations: 186.4 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.92/1.92, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 92.47 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5014/0.5014, allocations: 43.54 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004804, allocations: 16 kB / 431.4 MB, free: 5.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1262, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.227/2.353, allocations: 0.6357 GB / 1.114 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/2.354, allocations: 86.44 kB / 1.114 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.27/4.624, allocations: 420.4 MB / 1.525 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.885e-06/4.624, allocations: 0 / 1.525 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000119/4.624, allocations: 26.34 kB / 1.525 GB, free: 56.25 MB / 0.5105 GB 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.008614/4.633, allocations: 2.047 MB / 1.527 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/4.633, allocations: 10.62 kB / 1.527 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002363/4.635, allocations: 217.2 kB / 1.527 GB, free: 55.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003806/4.639, allocations: 0.8723 MB / 1.528 GB, free: 55.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/4.639, allocations: 62 kB / 1.528 GB, free: 55.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000583/4.64, allocations: 70.31 kB / 1.528 GB, free: 55.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00473/4.645, allocations: 1.247 MB / 1.529 GB, free: 54.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.423e-05/4.645, allocations: 9.578 kB / 1.529 GB, free: 54.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002412/4.645, allocations: 31.88 kB / 1.53 GB, free: 54.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002184/4.645, allocations: 83.27 kB / 1.53 GB, free: 54.95 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004063/4.649, allocations: 1.228 MB / 1.531 GB, free: 54.94 MB / 0.5105 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.01205/4.661, allocations: 4.869 MB / 1.536 GB, free: 52.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/4.663, allocations: 0.7294 MB / 1.536 GB, free: 52.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004476/4.664, allocations: 323.3 kB / 1.537 GB, free: 52.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/4.664, allocations: 44.81 kB / 1.537 GB, free: 52.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=68): time 3.968e-06/4.664, allocations: 0 / 1.537 GB, free: 52.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=73): time 0.014/4.678, allocations: 2.807 MB / 1.539 GB, free: 51.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.723e-05/4.678, allocations: 214.7 kB / 1.54 GB, free: 51.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/4.68, allocations: 0.8306 MB / 1.54 GB, free: 51.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002615/4.68, allocations: 43.52 kB / 1.54 GB, free: 51.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000349/4.681, allocations: 472.6 kB / 1.541 GB, free: 51.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003333/4.681, allocations: 259.3 kB / 1.541 GB, free: 51.01 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/4.681, allocations: 20.45 kB / 1.541 GB, free: 51.01 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000127/4.681, allocations: 349.2 kB / 1.541 GB, free: 50.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/4.683, allocations: 410.5 kB / 1.542 GB, free: 50.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/4.684, allocations: 0.6374 MB / 1.542 GB, free: 50.44 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/4.686, allocations: 0.4965 MB / 1.543 GB, free: 50.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/4.686, allocations: 1.656 kB / 1.543 GB, free: 50.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004262/4.69, allocations: 1.348 MB / 1.544 GB, free: 50.35 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004978/4.691, allocations: 2.187 MB / 1.546 GB, free: 48.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/4.691, allocations: 5.906 kB / 1.546 GB, free: 48.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005987/4.697, allocations: 0.7079 MB / 1.547 GB, free: 48.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/4.698, allocations: 178.2 kB / 1.547 GB, free: 48.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/4.701, allocations: 1.29 MB / 1.549 GB, free: 47.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/4.703, allocations: 71.83 kB / 1.549 GB, free: 47.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000257/4.703, allocations: 93 kB / 1.549 GB, free: 47.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/4.703, allocations: 6 kB / 1.549 GB, free: 47.52 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003682/4.707, allocations: 1.17 MB / 1.55 GB, free: 47.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/4.707, allocations: 7.188 kB / 1.55 GB, free: 47.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002574/4.71, allocations: 336.1 kB / 1.55 GB, free: 47.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/4.711, allocations: 201.4 kB / 1.55 GB, free: 47.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/4.713, allocations: 0.9439 MB / 1.551 GB, free: 46.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/4.714, allocations: 82.12 kB / 1.551 GB, free: 46.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/4.714, allocations: 88.06 kB / 1.551 GB, free: 46.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (88): * Single equations (assignments): 87 * 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.0009893/4.715, allocations: 368.4 kB / 1.552 GB, free: 46.77 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004145/4.716, allocations: 109.2 kB / 1.552 GB, free: 46.71 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004938/4.721, allocations: 1.358 MB / 1.553 GB, free: 46.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/4.721, allocations: 16.2 kB / 1.553 GB, free: 46.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/4.721, allocations: 0 / 1.553 GB, free: 46.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/4.721, allocations: 3.75 kB / 1.553 GB, free: 46.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005749/4.726, allocations: 2.11 MB / 1.555 GB, free: 46.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/4.727, allocations: 1.875 kB / 1.555 GB, free: 46.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/4.728, allocations: 184.8 kB / 1.555 GB, free: 46.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/4.728, allocations: 22.91 kB / 1.556 GB, free: 46.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.992e-05/4.728, allocations: 31.55 kB / 1.556 GB, free: 46.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009322/4.729, allocations: 1.297 MB / 1.557 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/4.729, allocations: 3 kB / 1.557 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004286/4.733, allocations: 1.662 MB / 1.558 GB, free: 44.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006252/4.734, allocations: 186.7 kB / 1.559 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002906/4.734, allocations: 19.66 kB / 1.559 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/4.736, allocations: 61.52 kB / 1.559 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/4.736, allocations: 67.94 kB / 1.559 GB, free: 44.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/4.736, allocations: 75.38 kB / 1.559 GB, free: 44.45 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0013/4.738, allocations: 0.6497 MB / 1.559 GB, free: 44.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.01e-07/4.738, allocations: 0 / 1.559 GB, free: 44.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005522/4.743, allocations: 1.274 MB / 1.561 GB, free: 44.19 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.006278/4.749, allocations: 1.965 MB / 1.563 GB, free: 43.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00493/4.754, allocations: 1.585 MB / 1.564 GB, free: 43.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/4.754, allocations: 2.156 kB / 1.564 GB, free: 43.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001414/4.756, allocations: 0.5579 MB / 1.565 GB, free: 43.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004836/4.761, allocations: 0.5819 MB / 1.565 GB, free: 43.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005048/4.766, allocations: 2.359 MB / 1.568 GB, free: 42.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/4.767, allocations: 1.105 MB / 1.569 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/4.769, allocations: 187.5 kB / 1.569 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of SimCode: time 1.542e-06/4.769, allocations: 0 / 1.569 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of Templates: time 0.06763/4.836, allocations: 35.09 MB / 1.603 GB, free: 55.46 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestJunctionVolume/TestJunctionVolume.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches