Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.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.001522/0.001522, allocations: 78.41 kB / 19.18 MB, free: 2.527 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.00167/0.00167, allocations: 170.6 kB / 22.46 MB, free: 5.363 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.356/1.356, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.723/0.723, allocations: 80.2 MB / 339.4 MB, free: 10.9 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/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.Boundaries.Tests.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") translateModel(ThermofluidStream.Boundaries.Tests.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.4929 GB, free: 25.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/1.998e-05, allocations: 2.281 kB / 0.4929 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.1368/0.1368, allocations: 121.8 MB / 0.6119 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.1384, allocations: 1.145 MB / 0.613 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.1385, allocations: 15.88 kB / 0.613 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004447/0.1389, allocations: 115.1 kB / 0.6131 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.1393, allocations: 170.9 kB / 0.6133 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.1397, allocations: 167.3 kB / 0.6134 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004208/0.1402, allocations: 354.3 kB / 0.6138 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.1403, allocations: 49.03 kB / 0.6138 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005376/0.1408, allocations: 275 kB / 0.6141 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.141, allocations: 111.7 kB / 0.6142 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.1411, allocations: 15.94 kB / 0.6142 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.1414, allocations: 167.6 kB / 0.6144 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.292e-05/0.1415, allocations: 43.77 kB / 0.6144 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.1416, allocations: 67.84 kB / 0.6145 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004488/0.142, allocations: 295 kB / 0.6147 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.142, allocations: 0 / 0.6147 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.232e-06/0.142, allocations: 4 kB / 0.6147 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.142, allocations: 0 / 0.6147 GB, free: 2.395 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0009338/0.143, allocations: 0.5102 MB / 0.6152 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.143, allocations: 10.06 kB / 0.6153 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.1431, allocations: 32.75 kB / 0.6153 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004846/0.1436, allocations: 263.2 kB / 0.6155 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1436, allocations: 8.375 kB / 0.6155 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.049e-05/0.1436, allocations: 12.38 kB / 0.6156 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.144, allocations: 174 kB / 0.6157 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.144, allocations: 7.938 kB / 0.6157 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.144, allocations: 8 kB / 0.6157 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.144, allocations: 0 / 0.6157 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.1443, allocations: 103.9 kB / 0.6158 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009791/0.1453, allocations: 0.6834 MB / 0.6165 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.1456, allocations: 86.52 kB / 0.6166 GB, free: 384 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.1458, allocations: 36.95 kB / 0.6166 GB, free: 344 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.774e-05/0.1458, allocations: 11.94 kB / 0.6166 GB, free: 332 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002242/0.1461, allocations: 87.34 kB / 0.6167 GB, free: 232 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.1461, allocations: 0 / 0.6167 GB, free: 232 kB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0005167/0.1466, allocations: 157.4 kB / 0.6169 GB, free: 68 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.1466, allocations: 55.39 kB / 0.6169 GB, free: 0 / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.1469, allocations: 260.2 kB / 0.6172 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.1469, allocations: 29.64 kB / 0.6172 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.1471, allocations: 180 kB / 0.6174 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.1471, allocations: 23.8 kB / 0.6174 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.111e-05/0.1472, allocations: 37.64 kB / 0.6174 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1473, allocations: 338.8 kB / 0.6177 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.1475, allocations: 69.67 kB / 0.6178 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.1477, allocations: 118.5 kB / 0.6179 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.148, allocations: 150.6 kB / 0.6181 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.148, allocations: 4 kB / 0.6181 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004727/0.1485, allocations: 236.8 kB / 0.6183 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.1485, allocations: 35.42 kB / 0.6183 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1485, allocations: 0 / 0.6183 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.1485, allocations: 4 kB / 0.6183 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.1487, allocations: 35.84 kB / 0.6184 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1487, allocations: 7.938 kB / 0.6184 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.1489, allocations: 27.81 kB / 0.6184 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.1489, allocations: 12.16 kB / 0.6184 GB, free: 14.36 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.149, allocations: 134.7 kB / 0.6185 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.1491, allocations: 27.81 kB / 0.6186 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003788/0.1494, allocations: 127.5 kB / 0.6187 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1494, allocations: 4 kB / 0.6187 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1494, allocations: 0 / 0.6187 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1494, allocations: 0 / 0.6187 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.1496, allocations: 177.2 kB / 0.6189 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1496, allocations: 4 kB / 0.6189 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.1497, allocations: 19.98 kB / 0.6189 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1497, allocations: 0 / 0.6189 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1498, allocations: 0 / 0.6189 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1498, allocations: 0 / 0.6189 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1498, allocations: 0 / 0.6189 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.1503, allocations: 197.2 kB / 0.6191 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.1503, allocations: 27.88 kB / 0.6191 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.1503, allocations: 8.062 kB / 0.6191 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1504, allocations: 7.984 kB / 0.6191 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.1505, allocations: 7.984 kB / 0.6191 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1505, allocations: 8 kB / 0.6191 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001794/0.1507, allocations: 179.1 kB / 0.6193 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1507, allocations: 0 / 0.6193 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002629/0.1509, allocations: 55.89 kB / 0.6194 GB, free: 13.33 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (terminalSource.p) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001994/0.1511, allocations: 139.1 kB / 0.6195 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004196/0.1516, allocations: 189 kB / 0.6197 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.1516, allocations: 4 kB / 0.6197 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.1517, allocations: 31.97 kB / 0.6197 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.1521, allocations: 62.72 kB / 0.6198 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007303/0.1528, allocations: 403.6 kB / 0.6201 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.153, allocations: 134.2 kB / 0.6203 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.182e-05/0.1531, allocations: 30.14 kB / 0.6203 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.035e-05/0.1531, allocations: 28.5 kB / 0.6203 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of SimCode: time 3.5e-07/0.1531, allocations: 0 / 0.6203 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of Templates: time 0.007158/0.1603, allocations: 2.904 MB / 0.6232 GB, free: 9.414 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.TerminalSourceSink_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.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: 4.977791592478752]