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.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.001208/0.001208, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001124/0.001124, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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 0.9469/0.9469, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6452/0.6452, allocations: 118.6 MB / 378.9 MB, free: 1.324 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_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 1.202e-06/1.202e-06, allocations: 0 / 430.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127e-05/1.247e-05, allocations: 2.312 kB / 430.8 MB, free: 13.28 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.2982/0.2982, allocations: 128.6 MB / 0.5464 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0008935/0.2991, allocations: 0.758 MB / 0.5471 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.2992, allocations: 19.81 kB / 0.5471 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.2995, allocations: 59.48 kB / 0.5472 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.2998, allocations: 160.9 kB / 0.5473 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.3, allocations: 121.6 kB / 0.5475 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.3003, allocations: 358.9 kB / 0.5478 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3005, allocations: 48.53 kB / 0.5478 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003448/0.3008, allocations: 239.2 kB / 0.5481 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.3009, allocations: 107.7 kB / 0.5482 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.301, allocations: 16 kB / 0.5482 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.3011, allocations: 107.7 kB / 0.5483 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.156e-05/0.3012, allocations: 43.77 kB / 0.5483 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.623e-05/0.3012, allocations: 67.84 kB / 0.5484 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.3015, allocations: 251 kB / 0.5486 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3015, allocations: 0 / 0.5486 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3015, allocations: 0 / 0.5486 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.3015, allocations: 0 / 0.5486 GB, free: 8.324 MB / 0.4948 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.0005711/0.3021, allocations: 0.4962 MB / 0.5491 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.673e-05/0.3021, allocations: 15.97 kB / 0.5491 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.3022, allocations: 32.91 kB / 0.5492 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.3025, allocations: 267.1 kB / 0.5494 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3025, allocations: 12.38 kB / 0.5494 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.3025, allocations: 16.36 kB / 0.5495 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.3027, allocations: 149.6 kB / 0.5496 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.3027, allocations: 0 / 0.5496 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3027, allocations: 7.938 kB / 0.5496 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3027, allocations: 4 kB / 0.5496 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.127e-05/0.3027, allocations: 34.75 kB / 0.5496 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.3033, allocations: 0.6274 MB / 0.5503 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.48e-05/0.3034, allocations: 38.56 kB / 0.5503 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.3034, allocations: 16.98 kB / 0.5503 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.549e-05/0.3035, allocations: 11.98 kB / 0.5503 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/0.3036, allocations: 67.3 kB / 0.5504 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.3036, allocations: 0 / 0.5504 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001199/0.3037, allocations: 78.2 kB / 0.5505 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.3037, allocations: 51.41 kB / 0.5505 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.3038, allocations: 266.9 kB / 0.5508 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.3039, allocations: 25.7 kB / 0.5508 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.3039, allocations: 152.3 kB / 0.5509 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.3039, allocations: 27.78 kB / 0.551 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.304, allocations: 45.58 kB / 0.551 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.3041, allocations: 338.7 kB / 0.5513 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.602e-05/0.3041, allocations: 41.69 kB / 0.5514 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.225e-05/0.3042, allocations: 84.33 kB / 0.5514 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.703e-05/0.3042, allocations: 102.8 kB / 0.5515 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3042, allocations: 0 / 0.5515 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001189/0.3044, allocations: 160.8 kB / 0.5517 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.3044, allocations: 37.7 kB / 0.5517 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3044, allocations: 2.734 kB / 0.5517 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-06/0.3044, allocations: 8.156 kB / 0.5517 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3045, allocations: 39.91 kB / 0.5518 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.3045, allocations: 0 / 0.5518 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.791e-05/0.3046, allocations: 11.95 kB / 0.5518 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.3046, allocations: 15.92 kB / 0.5518 GB, free: 4.812 MB / 0.4948 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 7.204e-05/0.3047, allocations: 124.5 kB / 0.5519 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.3047, allocations: 15.98 kB / 0.5519 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.3048, allocations: 79.48 kB / 0.552 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3048, allocations: 0 / 0.552 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.3048, allocations: 4 kB / 0.552 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3048, allocations: 0 / 0.552 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.395e-05/0.3049, allocations: 125.7 kB / 0.5521 GB, free: 4.438 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3049, allocations: 0 / 0.5521 GB, free: 4.438 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.386e-05/0.3049, allocations: 16.92 kB / 0.5522 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.3049, allocations: 0 / 0.5522 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.305, allocations: 3.938 kB / 0.5522 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.305, allocations: 0 / 0.5522 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.305, allocations: 5.188 kB / 0.5522 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.3051, allocations: 105 kB / 0.5523 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.3051, allocations: 27.84 kB / 0.5523 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.3051, allocations: 4 kB / 0.5523 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.322e-05/0.3052, allocations: 11.98 kB / 0.5523 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.3052, allocations: 7.984 kB / 0.5523 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.3052, allocations: 7.984 kB / 0.5523 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.289e-05/0.3053, allocations: 92.62 kB / 0.5524 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.3053, allocations: 0 / 0.5524 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001384/0.3054, allocations: 43.94 kB / 0.5525 GB, free: 4.102 MB / 0.4948 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.0001146/0.3055, allocations: 96.34 kB / 0.5525 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.3056, allocations: 142.3 kB / 0.5527 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.3057, allocations: 0 / 0.5527 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.035e-05/0.3057, allocations: 16.86 kB / 0.5527 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.3059, allocations: 71.58 kB / 0.5528 GB, free: 3.754 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007507/0.3066, allocations: 460.7 kB / 0.5532 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.604e-05/0.3067, allocations: 80.33 kB / 0.5533 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.379e-05/0.3067, allocations: 29.88 kB / 0.5533 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.3068, allocations: 95.34 kB / 0.5534 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.3068, allocations: 0 / 0.5534 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of Templates: time 0.004391/0.3112, allocations: 2.803 MB / 0.5561 GB, free: 372 kB / 0.4948 GB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.TerminalSourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.TerminalSourceSink_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4425795511342585]