Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.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.001762/0.001762, allocations: 109.3 kB / 19.97 MB, free: 1.875 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.002132/0.002132, allocations: 183 kB / 23.28 MB, free: 5.008 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.487/1.487, allocations: 225.6 MB / 252.1 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7911/0.7911, allocations: 94.6 MB / 402 MB, free: 15.02 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-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.Boundaries.Tests.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_dev_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_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 85.17 kB / 0.5484 GB, free: 42.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1105, allocations: 71.89 MB / 0.6186 GB, free: 7.895 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.5273/0.6378, allocations: 141 MB / 0.7563 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002162/0.64, allocations: 2.142 MB / 0.7584 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.6402, allocations: 13.97 kB / 0.7584 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004598/0.6407, allocations: 123.6 kB / 0.7585 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003708/0.641, allocations: 150.1 kB / 0.7587 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.6414, allocations: 182.3 kB / 0.7589 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003458/0.6418, allocations: 328.5 kB / 0.7592 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.6419, allocations: 50.17 kB / 0.7592 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004711/0.6424, allocations: 213.5 kB / 0.7594 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.6426, allocations: 127.1 kB / 0.7596 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.6426, allocations: 14.12 kB / 0.7596 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003713/0.643, allocations: 222.8 kB / 0.7598 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.279e-05/0.6431, allocations: 37.19 kB / 0.7598 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.6432, allocations: 105.7 kB / 0.7599 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000475/0.6436, allocations: 300.5 kB / 0.7602 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6436, allocations: 0 / 0.7602 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6436, allocations: 4.156 kB / 0.7602 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.6437, allocations: 0 / 0.7602 GB, free: 3.191 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.0009309/0.6446, allocations: 0.5873 MB / 0.7608 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.6446, allocations: 9.062 kB / 0.7608 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.225e-05/0.6447, allocations: 31.64 kB / 0.7608 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006415/0.6453, allocations: 319.3 kB / 0.7611 GB, free: 18.46 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.6454, allocations: 9.094 kB / 0.7611 GB, free: 18.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.6454, allocations: 17.61 kB / 0.7611 GB, free: 18.46 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.6458, allocations: 171.3 kB / 0.7613 GB, free: 18.39 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.6458, allocations: 4.906 kB / 0.7613 GB, free: 18.39 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.6458, allocations: 4.406 kB / 0.7613 GB, free: 18.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.6458, allocations: 6.406 kB / 0.7613 GB, free: 18.39 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003126/0.6461, allocations: 96.47 kB / 0.7614 GB, free: 18.39 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.6473, allocations: 0.9052 MB / 0.7623 GB, free: 17.67 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.6476, allocations: 84.05 kB / 0.7624 GB, free: 17.65 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.6477, allocations: 39.45 kB / 0.7624 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.6478, allocations: 85.17 kB / 0.7625 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.6481, allocations: 89.06 kB / 0.7626 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.6481, allocations: 2.625 kB / 0.7626 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.0005219/0.6486, allocations: 166 kB / 0.7627 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.6486, allocations: 55.58 kB / 0.7628 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.6489, allocations: 266.1 kB / 0.7631 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.6489, allocations: 28.92 kB / 0.7631 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.649, allocations: 180.5 kB / 0.7633 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.649, allocations: 22.08 kB / 0.7633 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.6491, allocations: 34.75 kB / 0.7633 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.6492, allocations: 334.3 kB / 0.7636 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.6494, allocations: 47.52 kB / 0.7637 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.6495, allocations: 82.56 kB / 0.7637 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.6498, allocations: 150.8 kB / 0.7639 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6498, allocations: 0.9375 kB / 0.7639 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004301/0.6503, allocations: 214.6 kB / 0.7641 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.6503, allocations: 34.86 kB / 0.7641 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6503, allocations: 3.719 kB / 0.7641 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.6503, allocations: 3.438 kB / 0.7641 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.6505, allocations: 35.52 kB / 0.7642 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.6505, allocations: 6.594 kB / 0.7642 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.6507, allocations: 21.81 kB / 0.7642 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.6507, allocations: 7.375 kB / 0.7642 GB, free: 16.55 MB / 0.5919 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.0001244/0.6508, allocations: 141.3 kB / 0.7643 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.6508, allocations: 22.58 kB / 0.7644 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/0.6512, allocations: 134.6 kB / 0.7645 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.6512, allocations: 7.359 kB / 0.7645 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6512, allocations: 1.125 kB / 0.7645 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.123e-05/0.6513, allocations: 102 kB / 0.7646 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.6513, allocations: 3.875 kB / 0.7646 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.6514, allocations: 10.62 kB / 0.7646 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.848e-05/0.6515, allocations: 8.734 kB / 0.7646 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000478/0.652, allocations: 203.1 kB / 0.7648 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005584/0.6525, allocations: 340.8 kB / 0.7651 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001407/0.6527, allocations: 35.97 kB / 0.7652 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001887/0.6529, allocations: 192.8 kB / 0.7654 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of Backend: time 4.91e-07/0.6529, allocations: 0 / 0.7654 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007459/0.6536, allocations: 263.4 kB / 0.7656 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of SimCode: time 0.001101/0.6547, allocations: 0.9336 MB / 0.7665 GB, free: 15 MB / 0.5919 GB Notification: Performance of Templates: time 0.008452/0.6632, allocations: 2.981 MB / 0.7694 GB, free: 14.89 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 6.082519500982016]