Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.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.001937/0.001937, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002313/0.002313, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.492/1.492, allocations: 225.6 MB / 249.4 MB, free: 3.145 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.6406/0.6406, allocations: 90.3 MB / 394.8 MB, free: 3.82 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.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002422/0.002422, allocations: 87.86 kB / 0.5386 GB, free: 1.578 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.491/0.4934, allocations: 70.83 MB / 0.6078 GB, free: 7.383 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.2042/0.6976, allocations: 140.9 MB / 0.7454 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004271/0.7019, allocations: 3.311 MB / 0.7487 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/0.7022, allocations: 8 kB / 0.7487 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006554/0.7028, allocations: 127.2 kB / 0.7488 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004729/0.7033, allocations: 143.1 kB / 0.7489 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005224/0.7038, allocations: 207.2 kB / 0.7491 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003421/0.7042, allocations: 258.8 kB / 0.7494 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.7043, allocations: 41.45 kB / 0.7494 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004289/0.7048, allocations: 163.3 kB / 0.7496 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.7049, allocations: 99.61 kB / 0.7497 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.7049, allocations: 8 kB / 0.7497 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005213/0.7055, allocations: 275.5 kB / 0.7499 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.7055, allocations: 31.8 kB / 0.75 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.017e-05/0.7056, allocations: 83.55 kB / 0.75 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004317/0.706, allocations: 233.7 kB / 0.7503 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.706, allocations: 0 / 0.7503 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.706, allocations: 3.938 kB / 0.7503 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.706, allocations: 0 / 0.7503 GB, free: 8.949 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007685/0.7068, allocations: 490.6 kB / 0.7507 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/0.7069, allocations: 8.031 kB / 0.7507 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.7069, allocations: 20.84 kB / 0.7508 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.7072, allocations: 228 kB / 0.751 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.7072, allocations: 8.609 kB / 0.751 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.7072, allocations: 12.38 kB / 0.751 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.7075, allocations: 150.8 kB / 0.7511 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.7075, allocations: 4 kB / 0.7512 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.7075, allocations: 4 kB / 0.7512 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.7075, allocations: 7.984 kB / 0.7512 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.7077, allocations: 67.92 kB / 0.7512 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008569/0.7085, allocations: 0.7078 MB / 0.7519 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.7087, allocations: 81.09 kB / 0.752 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.042e-05/0.7087, allocations: 29.72 kB / 0.752 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.7089, allocations: 166.3 kB / 0.7522 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.709, allocations: 34.56 kB / 0.7522 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.709, allocations: 0 / 0.7522 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0007203/0.7097, allocations: 321.7 kB / 0.7525 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.7098, allocations: 77.11 kB / 0.7526 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.71, allocations: 221 kB / 0.7528 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.71, allocations: 37.64 kB / 0.7528 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.689e-05/0.7101, allocations: 124 kB / 0.753 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.7101, allocations: 31.73 kB / 0.753 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.683e-05/0.7102, allocations: 25.72 kB / 0.753 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.7103, allocations: 326.8 kB / 0.7533 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.776e-05/0.7104, allocations: 23.98 kB / 0.7533 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.536e-05/0.7105, allocations: 51.42 kB / 0.7534 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.7106, allocations: 71.41 kB / 0.7535 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7106, allocations: 0 / 0.7535 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002735/0.7109, allocations: 147.1 kB / 0.7536 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.7109, allocations: 12 kB / 0.7536 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.7109, allocations: 3.984 kB / 0.7536 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002278/0.7111, allocations: 49.62 kB / 0.7537 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.305e-05/0.7112, allocations: 8 kB / 0.7537 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.7135, allocations: 2.761 MB / 0.7564 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.889e-05/0.7136, allocations: 11.92 kB / 0.7564 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.7136, allocations: 7.938 kB / 0.7564 GB, free: 2.016 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.7137, allocations: 129.9 kB / 0.7565 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.842e-05/0.7138, allocations: 23.8 kB / 0.7565 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000309/0.7141, allocations: 150.1 kB / 0.7567 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.7141, allocations: 0 / 0.7567 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.7141, allocations: 0 / 0.7567 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.7141, allocations: 4 kB / 0.7567 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005894/0.7147, allocations: 0.5009 MB / 0.7572 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.7147, allocations: 4 kB / 0.7572 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.7147, allocations: 4 kB / 0.7572 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001422/0.7149, allocations: 45.81 kB / 0.7572 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.7149, allocations: 0 / 0.7572 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.717, allocations: 2.765 MB / 0.7599 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.717, allocations: 4.031 kB / 0.7599 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.7174, allocations: 326 kB / 0.7602 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.05e-05/0.7175, allocations: 93.05 kB / 0.7603 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.7175, allocations: 4 kB / 0.7603 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.7176, allocations: 0 / 0.7603 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.7177, allocations: 19.86 kB / 0.7604 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.433e-06/0.7177, allocations: 8.062 kB / 0.7604 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001544/0.7178, allocations: 164.5 kB / 0.7605 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.7178, allocations: 0 / 0.7605 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003703/0.7182, allocations: 40 kB / 0.7606 GB, free: 13.32 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000302/0.7185, allocations: 159.1 kB / 0.7607 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005/0.719, allocations: 289.2 kB / 0.761 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.719, allocations: 0 / 0.761 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.7193, allocations: 253.3 kB / 0.7612 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006028/0.7199, allocations: 52.77 kB / 0.7613 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008707/0.7207, allocations: 477.9 kB / 0.7617 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.7211, allocations: 0.7281 MB / 0.7624 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.395e-05/0.7212, allocations: 21.42 kB / 0.7625 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.7212, allocations: 15.44 kB / 0.7625 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.7212, allocations: 0 / 0.7625 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of Templates: time 0.007683/0.7289, allocations: 3.212 MB / 0.7656 GB, free: 8.035 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.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: 6.1081530367955565]