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.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.002089/0.002089, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.002639/0.002639, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.45/1.45, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6139/0.6139, allocations: 90.29 MB / 394.8 MB, free: 3.863 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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_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 0.002437/0.002437, allocations: 83.86 kB / 0.5386 GB, free: 1.621 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4391, allocations: 70.82 MB / 0.6078 GB, free: 7.398 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.1802/0.6193, allocations: 140.9 MB / 0.7454 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002882/0.6221, allocations: 2.107 MB / 0.7475 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.6223, allocations: 7.938 kB / 0.7475 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004619/0.6228, allocations: 115.3 kB / 0.7476 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003638/0.6231, allocations: 127.2 kB / 0.7477 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000461/0.6236, allocations: 163.4 kB / 0.7479 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000362/0.6239, allocations: 254.9 kB / 0.7481 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.6241, allocations: 45.77 kB / 0.7482 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004473/0.6245, allocations: 175.3 kB / 0.7483 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.6247, allocations: 115.5 kB / 0.7484 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.6247, allocations: 12 kB / 0.7484 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004784/0.6252, allocations: 211.6 kB / 0.7487 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.138e-05/0.6253, allocations: 35.84 kB / 0.7487 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.6254, allocations: 83.59 kB / 0.7488 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004324/0.6258, allocations: 237.6 kB / 0.749 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.6258, allocations: 0 / 0.749 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6258, allocations: 0 / 0.749 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.6258, allocations: 0 / 0.749 GB, free: 10.28 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.0009191/0.6267, allocations: 0.5158 MB / 0.7495 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.6268, allocations: 15.97 kB / 0.7495 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.6268, allocations: 16.84 kB / 0.7495 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.6271, allocations: 220 kB / 0.7497 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.6271, allocations: 12.38 kB / 0.7497 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.6272, allocations: 20.36 kB / 0.7498 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.6275, allocations: 161.7 kB / 0.7499 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.6275, allocations: 0 / 0.7499 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.6275, allocations: 4 kB / 0.7499 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.6276, allocations: 7.938 kB / 0.7499 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.6279, allocations: 95.92 kB / 0.75 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.629, allocations: 0.8909 MB / 0.7509 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.6293, allocations: 86.53 kB / 0.751 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.6294, allocations: 40.89 kB / 0.751 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.6295, allocations: 85.09 kB / 0.7511 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/0.6298, allocations: 91.36 kB / 0.7512 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.6298, allocations: 0 / 0.7512 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0004834/0.6303, allocations: 153.5 kB / 0.7513 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.6303, allocations: 55.34 kB / 0.7514 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.6305, allocations: 199.8 kB / 0.7516 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.6305, allocations: 29.7 kB / 0.7516 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.6306, allocations: 139.8 kB / 0.7517 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.6307, allocations: 35.7 kB / 0.7518 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.85e-05/0.6307, allocations: 41.7 kB / 0.7518 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.6309, allocations: 326.8 kB / 0.7521 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.6311, allocations: 39.97 kB / 0.7522 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.6312, allocations: 82.52 kB / 0.7522 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.6316, allocations: 146.7 kB / 0.7524 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6316, allocations: 0 / 0.7524 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00044/0.632, allocations: 207.1 kB / 0.7526 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.632, allocations: 29.7 kB / 0.7526 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.632, allocations: 4 kB / 0.7526 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.6321, allocations: 7.922 kB / 0.7526 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.6322, allocations: 35.86 kB / 0.7526 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.6322, allocations: 0 / 0.7526 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.6324, allocations: 28.03 kB / 0.7527 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.6324, allocations: 11.98 kB / 0.7527 GB, free: 6.129 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.0001232/0.6325, allocations: 133.7 kB / 0.7528 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.6325, allocations: 19.91 kB / 0.7528 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003447/0.6329, allocations: 130.9 kB / 0.753 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.6329, allocations: 0 / 0.753 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.6329, allocations: 0 / 0.753 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.6329, allocations: 0 / 0.753 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.6331, allocations: 233.5 kB / 0.7532 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.6331, allocations: 0 / 0.7532 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.6332, allocations: 15.98 kB / 0.7532 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6332, allocations: 3.938 kB / 0.7532 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.6333, allocations: 7.938 kB / 0.7532 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.6333, allocations: 0 / 0.7532 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6333, allocations: 0 / 0.7532 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004583/0.6337, allocations: 185.4 kB / 0.7534 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/0.6338, allocations: 89.05 kB / 0.7535 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.6338, allocations: 7.922 kB / 0.7535 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.6339, allocations: 8 kB / 0.7535 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/0.634, allocations: 11.98 kB / 0.7535 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.634, allocations: 3.984 kB / 0.7535 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001312/0.6341, allocations: 149.5 kB / 0.7536 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6341, allocations: 4.062 kB / 0.7536 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002509/0.6344, allocations: 39.94 kB / 0.7537 GB, free: 5.008 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.00021/0.6346, allocations: 143.1 kB / 0.7538 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003902/0.635, allocations: 151.4 kB / 0.754 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.635, allocations: 0 / 0.754 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.6351, allocations: 35.97 kB / 0.754 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.6354, allocations: 36.23 kB / 0.754 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007388/0.6361, allocations: 388.8 kB / 0.7544 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.6365, allocations: 0.7163 MB / 0.7551 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.307e-05/0.6366, allocations: 21.36 kB / 0.7551 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.6366, allocations: 15.44 kB / 0.7551 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.6366, allocations: 0 / 0.7551 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of Templates: time 0.00613/0.6427, allocations: 2.399 MB / 0.7575 GB, free: 1.066 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.947456280700862]