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.00155/0.00155, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001746/0.001746, allocations: 212.8 kB / 23.01 MB, free: 4.57 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.371/1.371, allocations: 230.6 MB / 256.8 MB, free: 8 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.708/0.708, allocations: 94.56 MB / 407.8 MB, free: 9.195 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.002425/0.002425, allocations: 87 kB / 0.5562 GB, free: 38.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1202, allocations: 73.06 MB / 0.6275 GB, free: 8 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.4503/0.5706, allocations: 141.1 MB / 0.7653 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.5726, allocations: 2.147 MB / 0.7674 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.5728, allocations: 21.19 kB / 0.7674 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004961/0.5733, allocations: 118.6 kB / 0.7675 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.5736, allocations: 150.4 kB / 0.7677 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.574, allocations: 191 kB / 0.7678 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.5744, allocations: 321.2 kB / 0.7681 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.5745, allocations: 47.55 kB / 0.7682 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004551/0.5749, allocations: 218.7 kB / 0.7684 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.5751, allocations: 130.3 kB / 0.7685 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.5751, allocations: 12.47 kB / 0.7685 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003307/0.5755, allocations: 216.4 kB / 0.7687 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.964e-05/0.5755, allocations: 40.06 kB / 0.7688 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.617e-05/0.5756, allocations: 103.9 kB / 0.7689 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000433/0.5761, allocations: 302.1 kB / 0.7692 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5761, allocations: 0 / 0.7692 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5761, allocations: 1.219 kB / 0.7692 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.5761, allocations: 2.625 kB / 0.7692 GB, free: 2.312 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.0009819/0.5771, allocations: 0.5087 MB / 0.7697 GB, free: 17.92 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.5771, allocations: 7.875 kB / 0.7697 GB, free: 17.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.5772, allocations: 32 kB / 0.7697 GB, free: 17.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.5776, allocations: 258.3 kB / 0.7699 GB, free: 17.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.5776, allocations: 9.562 kB / 0.77 GB, free: 17.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.5776, allocations: 18.58 kB / 0.77 GB, free: 17.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.5779, allocations: 172.9 kB / 0.7701 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5779, allocations: 1.094 kB / 0.7701 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.578, allocations: 7.938 kB / 0.7701 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.578, allocations: 5.25 kB / 0.7702 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.5782, allocations: 98.2 kB / 0.7702 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009757/0.5792, allocations: 0.8427 MB / 0.7711 GB, free: 17 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.5795, allocations: 87.58 kB / 0.7712 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.5796, allocations: 38.06 kB / 0.7712 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.759e-05/0.5796, allocations: 10.42 kB / 0.7712 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.5798, allocations: 87.81 kB / 0.7713 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.5798, allocations: 0 / 0.7713 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.000431/0.5803, allocations: 164.6 kB / 0.7714 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.5803, allocations: 58.78 kB / 0.7715 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.5805, allocations: 268.3 kB / 0.7717 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.5806, allocations: 28.28 kB / 0.7718 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.5807, allocations: 175.5 kB / 0.7719 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.5807, allocations: 21.83 kB / 0.772 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.5807, allocations: 41.16 kB / 0.772 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5809, allocations: 332.9 kB / 0.7723 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.581, allocations: 47.17 kB / 0.7724 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.5811, allocations: 85.27 kB / 0.7724 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.5814, allocations: 152.2 kB / 0.7726 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5814, allocations: 0 / 0.7726 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003778/0.5818, allocations: 206.4 kB / 0.7728 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/0.5818, allocations: 35.03 kB / 0.7728 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.5818, allocations: 4.938 kB / 0.7728 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.5818, allocations: 6 kB / 0.7728 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.582, allocations: 35.22 kB / 0.7729 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.582, allocations: 2.188 kB / 0.7729 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.5821, allocations: 23.44 kB / 0.7729 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.5822, allocations: 8.906 kB / 0.7729 GB, free: 15.95 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.000126/0.5823, allocations: 137.9 kB / 0.773 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.5823, allocations: 30.88 kB / 0.7731 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003639/0.5827, allocations: 128.5 kB / 0.7732 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.5827, allocations: 4.562 kB / 0.7732 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5827, allocations: 1.5 kB / 0.7732 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5827, allocations: 0.5 kB / 0.7732 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.5829, allocations: 209.8 kB / 0.7734 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5829, allocations: 3.094 kB / 0.7734 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.583, allocations: 20.95 kB / 0.7734 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.583, allocations: 6.266 kB / 0.7734 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.583, allocations: 0.5938 kB / 0.7734 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.583, allocations: 5.406 kB / 0.7734 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.583, allocations: 0.5625 kB / 0.7734 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.5835, allocations: 186.6 kB / 0.7736 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.5835, allocations: 28.91 kB / 0.7736 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.5836, allocations: 8.25 kB / 0.7736 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.5837, allocations: 16.11 kB / 0.7737 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.5837, allocations: 9.609 kB / 0.7737 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.5837, allocations: 9.094 kB / 0.7737 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002001/0.5839, allocations: 188.4 kB / 0.7739 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5839, allocations: 1.094 kB / 0.7739 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002843/0.5842, allocations: 44.86 kB / 0.7739 GB, free: 15.43 MB / 0.5919 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.0002177/0.5844, allocations: 136.8 kB / 0.774 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000429/0.5849, allocations: 156.2 kB / 0.7742 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5849, allocations: 0.8125 kB / 0.7742 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.585, allocations: 40.78 kB / 0.7742 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.5854, allocations: 42.05 kB / 0.7743 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009114/0.5863, allocations: 488.5 kB / 0.7747 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.5867, allocations: 0.7384 MB / 0.7754 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.974e-05/0.5867, allocations: 26.09 kB / 0.7755 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.5867, allocations: 0.5 kB / 0.7755 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of Templates: time 0.005466/0.5922, allocations: 3.044 MB / 0.7784 GB, free: 13.89 MB / 0.5919 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: 7.924680638825521]