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.001623/0.001623, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001797/0.001797, allocations: 214 kB / 22.25 MB, free: 5.262 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.785 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.7407/0.7407, allocations: 94.62 MB / 407 MB, free: 8.84 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.002563/0.002563, allocations: 83.2 kB / 0.5554 GB, free: 38.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1114, allocations: 73.05 MB / 0.6268 GB, free: 15.67 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.1541/0.2654, allocations: 121 MB / 0.7449 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002952/0.2684, allocations: 1.956 MB / 0.7468 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004442/0.2688, allocations: 19.81 kB / 0.7468 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.2695, allocations: 111.3 kB / 0.7469 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005513/0.27, allocations: 143.1 kB / 0.747 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006029/0.2706, allocations: 175.4 kB / 0.7472 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006351/0.2713, allocations: 330.6 kB / 0.7475 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.2714, allocations: 41.23 kB / 0.7476 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005498/0.272, allocations: 223 kB / 0.7478 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.2722, allocations: 115.5 kB / 0.7479 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.2722, allocations: 12 kB / 0.7479 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004607/0.2727, allocations: 167.7 kB / 0.7481 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.397e-05/0.2728, allocations: 47.72 kB / 0.7481 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.2729, allocations: 87.53 kB / 0.7482 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005603/0.2735, allocations: 290.7 kB / 0.7485 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2735, allocations: 4 kB / 0.7485 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2735, allocations: 0 / 0.7485 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.2735, allocations: 0 / 0.7485 GB, free: 2.535 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.001099/0.2746, allocations: 0.4986 MB / 0.749 GB, free: 2 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2746, allocations: 12.03 kB / 0.749 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.562e-05/0.2747, allocations: 36.73 kB / 0.749 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006002/0.2753, allocations: 252 kB / 0.7492 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.2753, allocations: 16.31 kB / 0.7493 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.635e-05/0.2754, allocations: 16.33 kB / 0.7493 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.2757, allocations: 177.2 kB / 0.7494 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.2757, allocations: 0 / 0.7494 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.2758, allocations: 8 kB / 0.7495 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.2758, allocations: 4 kB / 0.7495 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003559/0.2761, allocations: 99.86 kB / 0.7496 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.2772, allocations: 0.6832 MB / 0.7502 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.2776, allocations: 86.52 kB / 0.7503 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.2777, allocations: 32.95 kB / 0.7503 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.591e-05/0.2778, allocations: 8 kB / 0.7503 GB, free: 496 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002372/0.278, allocations: 91.3 kB / 0.7504 GB, free: 392 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.278, allocations: 4 kB / 0.7504 GB, free: 388 kB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0006033/0.2786, allocations: 157.4 kB / 0.7506 GB, free: 224 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.2787, allocations: 55.34 kB / 0.7506 GB, free: 156 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2559/0.5346, allocations: 253.8 kB / 0.7509 GB, free: 128.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.5346, allocations: 30.64 kB / 0.7509 GB, free: 128.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.5347, allocations: 174.7 kB / 0.7511 GB, free: 128.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.5348, allocations: 24.47 kB / 0.7511 GB, free: 128.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-05/0.5348, allocations: 34.38 kB / 0.7511 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.72e-05/0.5349, allocations: 335.6 kB / 0.7515 GB, free: 128 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.5351, allocations: 72.17 kB / 0.7515 GB, free: 128 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.5353, allocations: 113.4 kB / 0.7516 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.5356, allocations: 146.2 kB / 0.7518 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5356, allocations: 0.75 kB / 0.7518 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004794/0.5361, allocations: 246.5 kB / 0.752 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.5361, allocations: 35.72 kB / 0.752 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5361, allocations: 1.344 kB / 0.752 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.5361, allocations: 3.812 kB / 0.752 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.5363, allocations: 34.11 kB / 0.7521 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.5363, allocations: 6.375 kB / 0.7521 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.5365, allocations: 27.28 kB / 0.7521 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.5365, allocations: 5.406 kB / 0.7521 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 0.0001001/0.5366, allocations: 134.5 kB / 0.7522 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.5366, allocations: 25.05 kB / 0.7523 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003585/0.537, allocations: 131.1 kB / 0.7524 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.537, allocations: 9.422 kB / 0.7524 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.537, allocations: 1.125 kB / 0.7524 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.537, allocations: 1.922 kB / 0.7524 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.5372, allocations: 177.5 kB / 0.7526 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5372, allocations: 0 / 0.7526 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.5373, allocations: 20.86 kB / 0.7526 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.5373, allocations: 1.391 kB / 0.7526 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.5373, allocations: 2.422 kB / 0.7526 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5373, allocations: 2.391 kB / 0.7526 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.5373, allocations: 4.781 kB / 0.7526 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004644/0.5378, allocations: 191.6 kB / 0.7528 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.5378, allocations: 21.83 kB / 0.7528 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.5378, allocations: 4.672 kB / 0.7528 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.5379, allocations: 12.66 kB / 0.7528 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.538, allocations: 18.62 kB / 0.7528 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.538, allocations: 4.156 kB / 0.7528 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000184/0.5382, allocations: 182 kB / 0.753 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5382, allocations: 0 / 0.753 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002921/0.5385, allocations: 51.91 kB / 0.7531 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.0001911/0.5387, allocations: 134.1 kB / 0.7532 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003998/0.5391, allocations: 184.1 kB / 0.7534 GB, free: 127 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5391, allocations: 4.438 kB / 0.7534 GB, free: 127 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.5392, allocations: 36.73 kB / 0.7534 GB, free: 127 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.5395, allocations: 44.12 kB / 0.7535 GB, free: 127 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008355/0.5404, allocations: 458.1 kB / 0.7539 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.5405, allocations: 131.7 kB / 0.754 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.219e-05/0.5406, allocations: 27.3 kB / 0.754 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.5406, allocations: 19.97 kB / 0.7541 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.5406, allocations: 0 / 0.7541 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.006821/0.5474, allocations: 2.644 MB / 0.7566 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/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: 5.772372012957931]