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.0009285/0.0009285, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001073/0.001073, allocations: 177 kB / 23.36 MB, free: 1.137 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.9582/0.9582, allocations: 177.1 MB / 203.8 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6805/0.6805, allocations: 118.7 MB / 378.9 MB, free: 1.348 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 430.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.592e-05, allocations: 2.312 kB / 430.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.3071/0.3071, allocations: 128.6 MB / 0.5464 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0009369/0.308, allocations: 0.7502 MB / 0.5471 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.3082, allocations: 23.81 kB / 0.5471 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.3085, allocations: 67.41 kB / 0.5472 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.3088, allocations: 157 kB / 0.5473 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.3091, allocations: 121.5 kB / 0.5475 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.3094, allocations: 362.8 kB / 0.5478 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.3095, allocations: 44.52 kB / 0.5478 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000362/0.3099, allocations: 235.3 kB / 0.5481 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.31, allocations: 103.7 kB / 0.5482 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.31, allocations: 12 kB / 0.5482 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.3102, allocations: 123.6 kB / 0.5483 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.3102, allocations: 35.78 kB / 0.5483 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.834e-05/0.3103, allocations: 71.78 kB / 0.5484 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.3106, allocations: 247 kB / 0.5486 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3106, allocations: 0 / 0.5486 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3106, allocations: 0 / 0.5486 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3106, allocations: 0 / 0.5486 GB, free: 8.375 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.0005743/0.3112, allocations: 0.5001 MB / 0.5491 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.3112, allocations: 12.03 kB / 0.5491 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.3113, allocations: 28.91 kB / 0.5492 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005682/0.3118, allocations: 283 kB / 0.5494 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3119, allocations: 8.375 kB / 0.5494 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.3119, allocations: 12.38 kB / 0.5495 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.3121, allocations: 149.7 kB / 0.5496 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.3121, allocations: 0 / 0.5496 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3121, allocations: 7.922 kB / 0.5496 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3121, allocations: 4 kB / 0.5496 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.757e-05/0.3121, allocations: 38.75 kB / 0.5496 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.3127, allocations: 0.6196 MB / 0.5502 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.836e-05/0.3128, allocations: 38.56 kB / 0.5503 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.229e-05/0.3128, allocations: 16.8 kB / 0.5503 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.794e-05/0.3129, allocations: 8 kB / 0.5503 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/0.313, allocations: 75.47 kB / 0.5504 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.704e-06/0.313, allocations: 0 / 0.5504 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001247/0.3131, allocations: 66.22 kB / 0.5504 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.3131, allocations: 59.34 kB / 0.5505 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.3133, allocations: 270.9 kB / 0.5508 GB, free: 6.031 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.3133, allocations: 33.69 kB / 0.5508 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.3134, allocations: 148.4 kB / 0.5509 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.3134, allocations: 19.84 kB / 0.551 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.3134, allocations: 41.58 kB / 0.551 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.958e-05/0.3135, allocations: 346.7 kB / 0.5513 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.641e-05/0.3135, allocations: 37.7 kB / 0.5514 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.797e-05/0.3136, allocations: 79.77 kB / 0.5514 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.742e-05/0.3137, allocations: 106.5 kB / 0.5515 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3137, allocations: 4.562 kB / 0.5515 GB, free: 5.156 MB / 0.4948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001283/0.3138, allocations: 164.8 kB / 0.5517 GB, free: 4.977 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.3138, allocations: 37.69 kB / 0.5517 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3138, allocations: 0.5469 kB / 0.5517 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3138, allocations: 8.156 kB / 0.5517 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.314, allocations: 27.98 kB / 0.5518 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.314, allocations: 5.562 kB / 0.5518 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.331e-05/0.314, allocations: 19.94 kB / 0.5518 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.3141, allocations: 7.938 kB / 0.5518 GB, free: 4.867 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.35e-05/0.3141, allocations: 124.5 kB / 0.5519 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.3142, allocations: 19.97 kB / 0.5519 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.3143, allocations: 79.48 kB / 0.552 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3143, allocations: 4 kB / 0.552 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.3143, allocations: 4 kB / 0.552 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3143, allocations: 0 / 0.552 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.614e-05/0.3144, allocations: 117.7 kB / 0.5521 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3144, allocations: 0 / 0.5521 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-05/0.3144, allocations: 27.92 kB / 0.5522 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3144, allocations: 0 / 0.5522 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.3144, allocations: 1.812 kB / 0.5522 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3144, allocations: 0 / 0.5522 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3144, allocations: 0 / 0.5522 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.3146, allocations: 105 kB / 0.5523 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.3146, allocations: 27.83 kB / 0.5523 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.3146, allocations: 4 kB / 0.5523 GB, free: 4.312 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.504e-05/0.3147, allocations: 11.98 kB / 0.5523 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.3147, allocations: 7.984 kB / 0.5523 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.3147, allocations: 0 / 0.5523 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.867e-05/0.3148, allocations: 104.5 kB / 0.5524 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.3148, allocations: 0 / 0.5524 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001521/0.3149, allocations: 47.88 kB / 0.5525 GB, free: 4.145 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.0001349/0.3151, allocations: 84.42 kB / 0.5525 GB, free: 4.051 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.3152, allocations: 141.9 kB / 0.5527 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.3152, allocations: 4 kB / 0.5527 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.472e-05/0.3152, allocations: 20.84 kB / 0.5527 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.3155, allocations: 68.31 kB / 0.5528 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008134/0.3163, allocations: 455.8 kB / 0.5532 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.728e-05/0.3163, allocations: 80.31 kB / 0.5533 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.342e-05/0.3164, allocations: 25.89 kB / 0.5533 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.3165, allocations: 95.34 kB / 0.5534 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of SimCode: time 8.51e-07/0.3165, allocations: 0 / 0.5534 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of Templates: time 0.005228/0.3217, allocations: 2.824 MB / 0.5561 GB, free: 412 kB / 0.4948 GB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.5103999353013933]