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.001343/0.001343, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001707/0.001707, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7153/0.7153, allocations: 94.63 MB / 407.8 MB, free: 8.91 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002533/0.002533, allocations: 93 kB / 0.5562 GB, free: 38.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09932/0.1019, allocations: 73.05 MB / 0.6275 GB, free: 15.69 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.1499/0.2517, allocations: 121 MB / 0.7456 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002649/0.2544, allocations: 1.952 MB / 0.7475 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002316/0.2546, allocations: 19.81 kB / 0.7475 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004776/0.2551, allocations: 111.3 kB / 0.7477 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004297/0.2555, allocations: 147 kB / 0.7478 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.256, allocations: 175.4 kB / 0.748 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004143/0.2564, allocations: 326.6 kB / 0.7483 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.2565, allocations: 45.19 kB / 0.7483 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004785/0.257, allocations: 219.1 kB / 0.7485 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.2572, allocations: 119.4 kB / 0.7486 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.2572, allocations: 16 kB / 0.7487 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000339/0.2576, allocations: 167.7 kB / 0.7488 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.731e-05/0.2576, allocations: 39.78 kB / 0.7488 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.592e-05/0.2577, allocations: 87.55 kB / 0.7489 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004625/0.2582, allocations: 290.7 kB / 0.7492 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2582, allocations: 0 / 0.7492 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2582, allocations: 0 / 0.7492 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.2582, allocations: 4 kB / 0.7492 GB, free: 2.566 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0009928/0.2592, allocations: 0.5025 MB / 0.7497 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2592, allocations: 12.03 kB / 0.7497 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.2593, allocations: 28.75 kB / 0.7497 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000496/0.2598, allocations: 252.1 kB / 0.75 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2598, allocations: 12.31 kB / 0.75 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/0.2599, allocations: 20.33 kB / 0.75 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.2602, allocations: 173.2 kB / 0.7502 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2602, allocations: 0 / 0.7502 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.2602, allocations: 8 kB / 0.7502 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.2603, allocations: 0 / 0.7502 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.2606, allocations: 103.9 kB / 0.7503 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009769/0.2615, allocations: 0.6832 MB / 0.751 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.2618, allocations: 90.5 kB / 0.751 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.262, allocations: 40.89 kB / 0.7511 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.758e-05/0.262, allocations: 4 kB / 0.7511 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.2623, allocations: 95.27 kB / 0.7512 GB, free: 420 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.2623, allocations: 0 / 0.7512 GB, free: 420 kB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0004707/0.2627, allocations: 157.4 kB / 0.7513 GB, free: 256 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.2628, allocations: 59.34 kB / 0.7514 GB, free: 184 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2425/0.5053, allocations: 252 kB / 0.7516 GB, free: 128.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.5053, allocations: 27.59 kB / 0.7516 GB, free: 128.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.5054, allocations: 177 kB / 0.7518 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.5054, allocations: 28.59 kB / 0.7518 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/0.5055, allocations: 33.55 kB / 0.7519 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.806e-05/0.5056, allocations: 334.6 kB / 0.7522 GB, free: 128 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.5057, allocations: 74.69 kB / 0.7523 GB, free: 128 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.5059, allocations: 111.4 kB / 0.7524 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.5062, allocations: 146 kB / 0.7525 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.5062, allocations: 2.531 kB / 0.7525 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004325/0.5066, allocations: 243.3 kB / 0.7527 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.5066, allocations: 37.77 kB / 0.7528 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.5066, allocations: 1.312 kB / 0.7528 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.5067, allocations: 2.625 kB / 0.7528 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.5068, allocations: 34.72 kB / 0.7528 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.5068, allocations: 6.812 kB / 0.7528 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.507, allocations: 24.61 kB / 0.7528 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.507, allocations: 6.594 kB / 0.7529 GB, free: 127.7 MB / 0.5762 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 8.892e-05/0.5071, allocations: 136.7 kB / 0.753 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.5071, allocations: 23.31 kB / 0.753 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/0.5074, allocations: 133.2 kB / 0.7531 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5075, allocations: 4.719 kB / 0.7531 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.5075, allocations: 0.7812 kB / 0.7531 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.5075, allocations: 3.625 kB / 0.7531 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.5076, allocations: 177 kB / 0.7533 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5076, allocations: 0.9688 kB / 0.7533 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.5077, allocations: 16.31 kB / 0.7533 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5077, allocations: 1.75 kB / 0.7533 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.5077, allocations: 4.062 kB / 0.7533 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.5077, allocations: 3.188 kB / 0.7533 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5077, allocations: 5.062 kB / 0.7533 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004238/0.5081, allocations: 194.7 kB / 0.7535 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.5082, allocations: 19.23 kB / 0.7535 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.5082, allocations: 5.578 kB / 0.7536 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.5083, allocations: 14.45 kB / 0.7536 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.5084, allocations: 13.47 kB / 0.7536 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.5084, allocations: 2.922 kB / 0.7536 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001536/0.5085, allocations: 183.2 kB / 0.7538 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5085, allocations: 0.5625 kB / 0.7538 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002687/0.5088, allocations: 53.16 kB / 0.7538 GB, free: 127.2 MB / 0.5762 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.0001614/0.509, allocations: 129.9 kB / 0.7539 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003682/0.5093, allocations: 182.4 kB / 0.7541 GB, free: 127 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5093, allocations: 0 / 0.7541 GB, free: 127 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.5095, allocations: 38.41 kB / 0.7541 GB, free: 127 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.5098, allocations: 46.92 kB / 0.7542 GB, free: 127 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007371/0.5105, allocations: 481.5 kB / 0.7546 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.5106, allocations: 137 kB / 0.7548 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.5106, allocations: 19.53 kB / 0.7548 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.5106, allocations: 0 / 0.7548 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.005155/0.5158, allocations: 3.027 MB / 0.7577 GB, free: 126.4 MB / 0.5762 GB " [Timeout remaining time 659] 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/jenkins1/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: 8.152873564045876]