Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 84.28 kB / 19.18 MB, free: 2.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 173.5 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 1.007/1.007, allocations: 116 MB / 375.2 MB, free: 7.52 MB / 350.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Topology.Tests.TestJunctionNM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionNM.splitterN.inlet.m_flow|junctionNM1.splitterN.inlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM") translateModel(ThermofluidStream.Topology.Tests.TestJunctionNM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionNM.splitterN.inlet.m_flow|junctionNM1.splitterN.inlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.5537 GB, free: 13.79 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.52e-05, allocations: 2.281 kB / 0.5537 GB, free: 13.79 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.7798/0.7798, allocations: 339.1 MB / 0.8849 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02824/0.808, allocations: 16.22 MB / 0.9008 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004186/0.8122, allocations: 126.8 kB / 0.9009 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006163/0.8184, allocations: 1.794 MB / 0.9026 GB, free: 9.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02854/0.8469, allocations: 9.079 MB / 0.9115 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01398/0.8609, allocations: 4.456 MB / 0.9159 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007911/0.8688, allocations: 4.593 MB / 0.9203 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.8704, allocations: 0.634 MB / 0.921 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008987/0.8794, allocations: 3.49 MB / 0.9244 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003814/0.8832, allocations: 1.648 MB / 0.926 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0007825/0.884, allocations: 248 kB / 0.9262 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03199/0.916, allocations: 13.76 MB / 0.9397 GB, free: 3.617 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001865/0.9178, allocations: 0.9384 MB / 0.9406 GB, free: 2.676 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002756/0.9206, allocations: 1.072 MB / 0.9416 GB, free: 1.602 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.03014/0.9507, allocations: 10.86 MB / 0.9522 GB, free: 6.711 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.9507, allocations: 0 / 0.9522 GB, free: 6.711 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9507, allocations: 0 / 0.9522 GB, free: 6.711 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.424e-05/0.9508, allocations: 0 / 0.9522 GB, free: 6.711 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01357/0.9644, allocations: 4.753 MB / 0.9569 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.9645, allocations: 12.03 kB / 0.9569 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/0.9661, allocations: 397.9 kB / 0.9573 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003714/0.9698, allocations: 1.725 MB / 0.9589 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.9699, allocations: 139.8 kB / 0.9591 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003791/0.9703, allocations: 207.8 kB / 0.9593 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005564/0.9759, allocations: 3.212 MB / 0.9624 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.048e-05/0.9759, allocations: 0 / 0.9624 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002074/0.9761, allocations: 87.97 kB / 0.9625 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002567/0.9764, allocations: 186 kB / 0.9627 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005339/0.9817, allocations: 3.463 MB / 0.9661 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01402/0.9957, allocations: 7.547 MB / 0.9734 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002865/0.9986, allocations: 1.44 MB / 0.9748 GB, free: 15.24 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001959/1.001, allocations: 1.19 MB / 0.976 GB, free: 14.05 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001355/1.002, allocations: 481.5 kB / 0.9764 GB, free: 13.58 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.644e-05/1.002, allocations: 60.55 kB / 0.9765 GB, free: 13.51 MB / 0.795 GB Notification: Performance of pre-optimization done (n=196): time 5.3e-06/1.002, allocations: 4 kB / 0.9765 GB, free: 13.51 MB / 0.795 GB Notification: Performance of matching and sorting (n=200): time 0.01587/1.018, allocations: 7.711 MB / 0.984 GB, free: 5.738 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/1.018, allocations: 103.1 kB / 0.9841 GB, free: 5.621 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002105/1.02, allocations: 1.477 MB / 0.9856 GB, free: 4.098 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002531/1.02, allocations: 61.7 kB / 0.9856 GB, free: 4.031 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008576/1.021, allocations: 1.045 MB / 0.9867 GB, free: 2.977 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006943/1.022, allocations: 0.7047 MB / 0.9873 GB, free: 2.266 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006424/1.022, allocations: 351.5 kB / 0.9877 GB, free: 1.918 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.023, allocations: 313 kB / 0.988 GB, free: 1.609 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/1.024, allocations: 1.011 MB / 0.989 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3189/1.343, allocations: 1.179 MB / 0.9901 GB, free: 332.3 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004525/1.348, allocations: 2.356 MB / 0.9924 GB, free: 332 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/1.348, allocations: 1.062 kB / 0.9924 GB, free: 332 MB / 0.795 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006556/1.354, allocations: 3.063 MB / 0.9954 GB, free: 331 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/1.354, allocations: 10.91 kB / 0.9954 GB, free: 331 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/1.354, allocations: 7.656 kB / 0.9954 GB, free: 331 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001853/1.356, allocations: 473 kB / 0.9959 GB, free: 330.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/1.358, allocations: 355.7 kB / 0.9962 GB, free: 330.8 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007946/1.366, allocations: 5.986 MB / 1.002 GB, free: 326.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/1.368, allocations: 50.67 kB / 1.002 GB, free: 326.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000307/1.368, allocations: 117.6 kB / 1.002 GB, free: 326.6 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (182): * Single equations (assignments): 170 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,68.0%), (5,16,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001182/1.369, allocations: 0.5326 MB / 1.003 GB, free: 326.2 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005486/1.37, allocations: 230.4 kB / 1.003 GB, free: 326.2 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006583/1.376, allocations: 4.361 MB / 1.007 GB, free: 324.6 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-05/1.376, allocations: 15.84 kB / 1.007 GB, free: 324.6 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/1.376, allocations: 7.938 kB / 1.007 GB, free: 324.6 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/1.376, allocations: 11.06 kB / 1.007 GB, free: 324.6 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008332/1.385, allocations: 5.379 MB / 1.013 GB, free: 322.4 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/1.385, allocations: 2.75 kB / 1.013 GB, free: 322.4 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/1.386, allocations: 285.9 kB / 1.013 GB, free: 322.3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001407/1.387, allocations: 499.2 kB / 1.013 GB, free: 322.2 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002046/1.387, allocations: 74.95 kB / 1.013 GB, free: 322.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006283/1.394, allocations: 6.014 MB / 1.019 GB, free: 317.9 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.394, allocations: 7.875 kB / 1.019 GB, free: 317.9 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006174/1.4, allocations: 4.595 MB / 1.024 GB, free: 314.9 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/1.401, allocations: 485.9 kB / 1.024 GB, free: 314.5 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003452/1.401, allocations: 42.33 kB / 1.024 GB, free: 314.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/1.402, allocations: 44.44 kB / 1.024 GB, free: 314.4 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003261/1.403, allocations: 173.6 kB / 1.024 GB, free: 314.3 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/1.403, allocations: 99.94 kB / 1.025 GB, free: 314.2 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001188/1.404, allocations: 1.106 MB / 1.026 GB, free: 313.1 MB / 0.795 GB Notification: Performance of sort global known variables: time 7e-08/1.404, allocations: 0 / 1.026 GB, free: 313.1 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004512/1.408, allocations: 1.66 MB / 1.027 GB, free: 311.7 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (junctionNM1.junctionN.outlet.m_flow,flowResistance6.inlet.m_flow,flowResistance8.inlet.m_flow,flowResistance9.inlet.m_flow,junctionNM.junctionN.outlet.m_flow,flowResistance1.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance4.inlet.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 (150): * Single equations (assignments): 138 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,68.0%), (5,16,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004471/1.413, allocations: 2.017 MB / 1.029 GB, free: 310.2 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005382/1.418, allocations: 2.873 MB / 1.032 GB, free: 307.3 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.418, allocations: 0 / 1.032 GB, free: 307.3 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003218/1.421, allocations: 1.738 MB / 1.034 GB, free: 305.5 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006168/1.428, allocations: 1.027 MB / 1.035 GB, free: 304.6 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00999/1.438, allocations: 5.127 MB / 1.04 GB, free: 299.6 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/1.439, allocations: 1.221 MB / 1.041 GB, free: 298.4 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00255/1.441, allocations: 1.127 MB / 1.042 GB, free: 297.3 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006637/1.442, allocations: 228.4 kB / 1.042 GB, free: 297 MB / 0.795 GB Notification: Performance of SimCode: time 1.052e-06/1.442, allocations: 0 / 1.042 GB, free: 297 MB / 0.795 GB Notification: Performance of Templates: time 0.08996/1.532, allocations: 73.72 MB / 1.114 GB, free: 224.4 MB / 0.795 GB " [Timeout remaining time 658] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunctionNM_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.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: 10.08238721638918]