Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6205/0.6205, allocations: 90.3 MB / 394.8 MB, free: 3.836 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 83.88 kB / 0.5386 GB, free: 1.613 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4279, allocations: 70.83 MB / 0.6078 GB, free: 7.391 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1939/0.6219, allocations: 145 MB / 0.7494 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006065/0.6279, allocations: 4.545 MB / 0.7538 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002996/0.6282, allocations: 7.938 kB / 0.7538 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007648/0.629, allocations: 194.8 kB / 0.754 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000766/0.6298, allocations: 254.5 kB / 0.7542 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.6311, allocations: 438.3 kB / 0.7547 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007961/0.6319, allocations: 0.5725 MB / 0.7552 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.6321, allocations: 69.94 kB / 0.7553 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006435/0.6328, allocations: 310.8 kB / 0.7556 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004717/0.6333, allocations: 319 kB / 0.7559 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.882e-05/0.6333, allocations: 32 kB / 0.7559 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009795/0.6343, allocations: 471 kB / 0.7564 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.6344, allocations: 95.72 kB / 0.7565 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.6346, allocations: 179.2 kB / 0.7566 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008198/0.6354, allocations: 0.5282 MB / 0.7571 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.6354, allocations: 0 / 0.7571 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6354, allocations: 0 / 0.7571 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.6354, allocations: 0 / 0.7571 GB, free: 1.91 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001511/0.6369, allocations: 0.705 MB / 0.7578 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.637, allocations: 15.95 kB / 0.7579 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.183e-05/0.6371, allocations: 36.75 kB / 0.7579 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.6375, allocations: 299.7 kB / 0.7582 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.6375, allocations: 20.92 kB / 0.7582 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.008e-05/0.6375, allocations: 24.38 kB / 0.7582 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006796/0.6382, allocations: 437.4 kB / 0.7586 GB, free: 296 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.6382, allocations: 4 kB / 0.7586 GB, free: 292 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/0.6383, allocations: 11.98 kB / 0.7586 GB, free: 280 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/0.6383, allocations: 20.56 kB / 0.7587 GB, free: 256 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007917/0.6391, allocations: 481.9 kB / 0.7591 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.6413, allocations: 1.408 MB / 0.7605 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.6418, allocations: 222.5 kB / 0.7607 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.6421, allocations: 200.2 kB / 0.7609 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003358/0.6424, allocations: 344.3 kB / 0.7612 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.6425, allocations: 38.56 kB / 0.7613 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.6425, allocations: 0 / 0.7613 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002803/0.6453, allocations: 1.489 MB / 0.7627 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.6453, allocations: 59.39 kB / 0.7628 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.6456, allocations: 263 kB / 0.763 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.6456, allocations: 29.7 kB / 0.7631 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.6458, allocations: 144.7 kB / 0.7632 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.6459, allocations: 122.9 kB / 0.7633 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.646, allocations: 69.61 kB / 0.7634 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.6462, allocations: 342.8 kB / 0.7637 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.6464, allocations: 143.9 kB / 0.7638 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.6467, allocations: 144.5 kB / 0.764 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005907/0.6472, allocations: 349 kB / 0.7643 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.6472, allocations: 0 / 0.7643 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009418/0.6482, allocations: 0.4977 MB / 0.7648 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.6482, allocations: 4 kB / 0.7648 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.6482, allocations: 0 / 0.7648 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003809/0.6486, allocations: 120.7 kB / 0.7649 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/0.6489, allocations: 63.81 kB / 0.765 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002928/0.6519, allocations: 2.322 MB / 0.7672 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.6521, allocations: 12.12 kB / 0.7673 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.6521, allocations: 23.92 kB / 0.7673 GB, free: 6.926 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002183/0.6523, allocations: 159.6 kB / 0.7674 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.526e-05/0.6524, allocations: 31.81 kB / 0.7675 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.6535, allocations: 0.641 MB / 0.7681 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.6535, allocations: 0 / 0.7681 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.6535, allocations: 4.094 kB / 0.7681 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.6535, allocations: 3.984 kB / 0.7681 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005429/0.6541, allocations: 397.4 kB / 0.7685 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6541, allocations: 7.938 kB / 0.7685 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.6543, allocations: 35.89 kB / 0.7685 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003454/0.6546, allocations: 132.7 kB / 0.7686 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.6547, allocations: 11.98 kB / 0.7687 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00282/0.6575, allocations: 2.33 MB / 0.7709 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6575, allocations: 0 / 0.7709 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.6586, allocations: 0.6341 MB / 0.7716 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.6587, allocations: 109 kB / 0.7717 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.6588, allocations: 8 kB / 0.7717 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.6589, allocations: 4.109 kB / 0.7717 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.659, allocations: 27.89 kB / 0.7717 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.659, allocations: 11.98 kB / 0.7717 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002511/0.6593, allocations: 231.1 kB / 0.7719 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.6593, allocations: 0 / 0.7719 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005026/0.6598, allocations: 108 kB / 0.772 GB, free: 1.785 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (source.outlet.m_flow,source1.outlet.m_flow,source2.outlet.m_flow) * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,8,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002985/0.6601, allocations: 194.7 kB / 0.7722 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.6611, allocations: 0.4946 MB / 0.7727 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.6611, allocations: 4 kB / 0.7727 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006412/0.6618, allocations: 362.2 kB / 0.773 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.6624, allocations: 101.6 kB / 0.7731 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.6639, allocations: 0.8179 MB / 0.7739 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/0.6644, allocations: 0.7951 MB / 0.7747 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002334/0.6646, allocations: 78.8 kB / 0.7748 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.723e-05/0.6647, allocations: 31.41 kB / 0.7748 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of SimCode: time 7.82e-07/0.6647, allocations: 0 / 0.7748 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of Templates: time 0.01355/0.6783, allocations: 6.939 MB / 0.7816 GB, free: 7.938 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.058759748004377]