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.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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.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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007075/0.007075, allocations: 102.1 kB / 15.73 MB, free: 5.996 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.001811/0.001811, allocations: 191.8 kB / 16.67 MB, free: 5.93 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7407/0.7407, allocations: 93.7 MB / 384.2 MB, free: 6.953 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 79.88 kB / 0.5204 GB, free: 5.832 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1293, allocations: 68.26 MB / 0.5871 GB, free: 1.492 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 1.054/1.183, allocations: 362.1 MB / 0.9407 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03718/1.22, allocations: 38.69 MB / 0.9785 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002699/1.223, allocations: 78.06 kB / 0.9786 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004991/1.228, allocations: 1.975 MB / 0.9805 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.02251/1.251, allocations: 8.691 MB / 0.989 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.012/1.263, allocations: 4.223 MB / 0.9931 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.005936/1.269, allocations: 4 MB / 0.997 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/1.27, allocations: 1.189 MB / 0.9982 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006034/1.276, allocations: 2.574 MB / 1.001 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003312/1.28, allocations: 1.773 MB / 1.002 GB, free: 8.184 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0006574/1.28, allocations: 244 kB / 1.003 GB, free: 7.945 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03444/1.315, allocations: 16.52 MB / 1.019 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001689/1.317, allocations: 0.8551 MB / 1.02 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002667/1.319, allocations: 1.444 MB / 1.021 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02829/1.348, allocations: 10.06 MB / 1.031 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/1.348, allocations: 0 / 1.031 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.082e-06/1.348, allocations: 0 / 1.031 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.693e-05/1.348, allocations: 4 kB / 1.031 GB, free: 13.95 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 506 * Number of variables: 506 Notification: Performance of Generate backend data structure: time 0.01169/1.359, allocations: 4.664 MB / 1.035 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.36, allocations: 12.03 kB / 1.035 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007367/1.36, allocations: 302.1 kB / 1.036 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003058/1.363, allocations: 1.695 MB / 1.037 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/1.363, allocations: 142.2 kB / 1.037 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003277/1.364, allocations: 197.4 kB / 1.038 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005231/1.369, allocations: 3.096 MB / 1.041 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.81e-05/1.369, allocations: 0 / 1.041 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/1.369, allocations: 75.14 kB / 1.041 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002537/1.37, allocations: 183.9 kB / 1.041 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005216/1.375, allocations: 3.388 MB / 1.044 GB, free: 268 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01627/1.391, allocations: 12.45 MB / 1.056 GB, free: 2.734 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/1.394, allocations: 1.65 MB / 1.058 GB, free: 1.082 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002086/1.396, allocations: 1.421 MB / 1.059 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003339/1.399, allocations: 3.843 MB / 1.063 GB, free: 11 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.373e-05/1.399, allocations: 64.55 kB / 1.063 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=196): time 4.689e-06/1.399, allocations: 0 / 1.063 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of matching and sorting (n=200): time 0.01571/1.415, allocations: 8.607 MB / 1.072 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/1.415, allocations: 103 kB / 1.072 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/1.417, allocations: 1.468 MB / 1.073 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001918/1.418, allocations: 57.7 kB / 1.073 GB, free: 484 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009099/1.419, allocations: 0.9257 MB / 1.074 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006447/1.419, allocations: 0.7085 MB / 1.075 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005873/1.42, allocations: 343.4 kB / 1.075 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.42, allocations: 309.1 kB / 1.075 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/1.422, allocations: 1.031 MB / 1.076 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/1.423, allocations: 1.155 MB / 1.078 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003817/1.427, allocations: 2.347 MB / 1.08 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/1.427, allocations: 0 / 1.08 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.005759/1.433, allocations: 3.089 MB / 1.083 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/1.433, allocations: 8 kB / 1.083 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.433, allocations: 0 / 1.083 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/1.435, allocations: 477 kB / 1.083 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/1.436, allocations: 327.8 kB / 1.084 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008536/1.444, allocations: 6.343 MB / 1.09 GB, free: 15.22 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/1.446, allocations: 48.03 kB / 1.09 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003078/1.446, allocations: 116 kB / 1.09 GB, free: 15.06 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (172): * Single equations (assignments): 160 * 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.001107/1.447, allocations: 0.526 MB / 1.091 GB, free: 14.55 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005521/1.448, allocations: 218.5 kB / 1.091 GB, free: 14.33 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008096/1.456, allocations: 4.661 MB / 1.095 GB, free: 9.652 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.691e-05/1.456, allocations: 20 kB / 1.095 GB, free: 9.633 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/1.456, allocations: 11.94 kB / 1.095 GB, free: 9.621 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.166e-05/1.456, allocations: 7.969 kB / 1.095 GB, free: 9.613 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/1.467, allocations: 6.294 MB / 1.101 GB, free: 3.332 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/1.467, allocations: 4 kB / 1.101 GB, free: 3.328 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/1.468, allocations: 299.6 kB / 1.102 GB, free: 3.051 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001527/1.469, allocations: 0.4967 MB / 1.102 GB, free: 2.551 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001929/1.47, allocations: 83.88 kB / 1.102 GB, free: 2.469 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008335/1.478, allocations: 6.367 MB / 1.109 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.478, allocations: 4 kB / 1.109 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008529/1.487, allocations: 4.81 MB / 1.113 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007241/1.487, allocations: 279.6 kB / 1.114 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003577/1.488, allocations: 47.77 kB / 1.114 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000912/1.489, allocations: 43.98 kB / 1.114 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003961/1.489, allocations: 161.8 kB / 1.114 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002609/1.489, allocations: 111.9 kB / 1.114 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001734/1.491, allocations: 1.127 MB / 1.115 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of sort global known variables: time 6.21e-07/1.491, allocations: 0 / 1.115 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00535/1.496, allocations: 1.673 MB / 1.117 GB, free: 3.59 MB / 0.8106 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 (160): * Single equations (assignments): 148 * 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.004909/1.501, allocations: 2.011 MB / 1.119 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.005938/1.507, allocations: 3.12 MB / 1.122 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.507, allocations: 4 kB / 1.122 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.003563/1.511, allocations: 1.918 MB / 1.123 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003911/1.515, allocations: 0.807 MB / 1.124 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009039/1.524, allocations: 5.086 MB / 1.129 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/1.526, allocations: 1.766 MB / 1.131 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003019/1.529, allocations: 1.28 MB / 1.132 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007633/1.529, allocations: 243.3 kB / 1.132 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of SimCode: time 1.392e-06/1.529, allocations: 0 / 1.132 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of Templates: time 0.4133/1.943, allocations: 70.26 MB / 1.201 GB, free: 397.1 MB / 0.8731 GB 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] Reference file matches