Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.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.001442/0.001442, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001588/0.001588, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.435/1.435, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.8292/0.8292, allocations: 100.9 MB / 413.3 MB, free: 2.871 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_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_dev_ThermofluidStream.Boundaries.Tests.SourceSink") [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.002408/0.002408, allocations: 88.92 kB / 0.5646 GB, free: 35.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1262, allocations: 74.62 MB / 0.6374 GB, free: 5.969 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.4605/0.5867, allocations: 121 MB / 0.7555 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002818/0.5895, allocations: 3.074 MB / 0.7585 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/0.5897, allocations: 27.09 kB / 0.7586 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004205/0.5901, allocations: 124.1 kB / 0.7587 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004242/0.5905, allocations: 204.8 kB / 0.7589 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.591, allocations: 197.9 kB / 0.7591 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003908/0.5914, allocations: 395.5 kB / 0.7595 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.5915, allocations: 41.62 kB / 0.7595 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004506/0.5919, allocations: 236.9 kB / 0.7597 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.5921, allocations: 123.2 kB / 0.7598 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.5921, allocations: 11.53 kB / 0.7598 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003653/0.5925, allocations: 215.9 kB / 0.7601 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.647e-05/0.5925, allocations: 37.89 kB / 0.7601 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.696e-05/0.5926, allocations: 83.34 kB / 0.7602 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004185/0.593, allocations: 335.1 kB / 0.7605 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.5931, allocations: 2.438 kB / 0.7605 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5931, allocations: 0 / 0.7605 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.5931, allocations: 1.203 kB / 0.7605 GB, free: 3.469 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.000813/0.5939, allocations: 0.5039 MB / 0.761 GB, free: 19.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.5939, allocations: 12.25 kB / 0.761 GB, free: 19.09 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.594, allocations: 34.73 kB / 0.761 GB, free: 19.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005791/0.5945, allocations: 302.1 kB / 0.7613 GB, free: 18.9 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.5946, allocations: 10.36 kB / 0.7613 GB, free: 18.9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.5946, allocations: 12.03 kB / 0.7613 GB, free: 18.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.5948, allocations: 159.6 kB / 0.7615 GB, free: 18.83 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.5948, allocations: 1 kB / 0.7615 GB, free: 18.83 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.5949, allocations: 5.812 kB / 0.7615 GB, free: 18.83 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.5949, allocations: 4.703 kB / 0.7615 GB, free: 18.83 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.595, allocations: 69.23 kB / 0.7616 GB, free: 18.83 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008075/0.5958, allocations: 0.652 MB / 0.7622 GB, free: 18.36 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.5959, allocations: 70.83 kB / 0.7623 GB, free: 18.31 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.518e-05/0.596, allocations: 38.75 kB / 0.7623 GB, free: 18.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.553e-05/0.5961, allocations: 18.81 kB / 0.7623 GB, free: 18.29 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.5961, allocations: 35.2 kB / 0.7624 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.5961, allocations: 0 / 0.7624 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0006037/0.5967, allocations: 180.2 kB / 0.7625 GB, free: 18.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.5968, allocations: 78.48 kB / 0.7626 GB, free: 18.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.597, allocations: 280.8 kB / 0.7629 GB, free: 17.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.5971, allocations: 26.92 kB / 0.7629 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.5972, allocations: 172.4 kB / 0.7631 GB, free: 17.86 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.5972, allocations: 27.91 kB / 0.7631 GB, free: 17.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.5973, allocations: 26.02 kB / 0.7631 GB, free: 17.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.5974, allocations: 342.6 kB / 0.7634 GB, free: 17.51 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.143e-05/0.5975, allocations: 20.36 kB / 0.7635 GB, free: 17.51 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-05/0.5975, allocations: 51.16 kB / 0.7635 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.296e-05/0.5976, allocations: 73.11 kB / 0.7636 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5976, allocations: 0 / 0.7636 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002366/0.5978, allocations: 152.8 kB / 0.7637 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.5979, allocations: 5.688 kB / 0.7637 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5979, allocations: 0.8438 kB / 0.7637 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/0.598, allocations: 45.12 kB / 0.7638 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.05e-05/0.5981, allocations: 15.27 kB / 0.7638 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.6, allocations: 2.515 MB / 0.7662 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.749e-05/0.6001, allocations: 9.578 kB / 0.7663 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.6001, allocations: 4.625 kB / 0.7663 GB, free: 14.99 MB / 0.5919 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.0001214/0.6002, allocations: 135.3 kB / 0.7664 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.6002, allocations: 27.97 kB / 0.7664 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.6005, allocations: 152.8 kB / 0.7666 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.6005, allocations: 6.062 kB / 0.7666 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.6005, allocations: 2.812 kB / 0.7666 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.6005, allocations: 4.125 kB / 0.7666 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005044/0.601, allocations: 471.9 kB / 0.767 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.601, allocations: 0.6875 kB / 0.767 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.893e-05/0.601, allocations: 5.5 kB / 0.767 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/0.6011, allocations: 43.67 kB / 0.7671 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.6012, allocations: 1.938 kB / 0.7671 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.6029, allocations: 2.526 MB / 0.7695 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6029, allocations: 2.375 kB / 0.7695 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.6032, allocations: 333.7 kB / 0.7699 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.6033, allocations: 29.55 kB / 0.7699 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.6033, allocations: 6.047 kB / 0.7699 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.6034, allocations: 3.625 kB / 0.7699 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.6034, allocations: 12.31 kB / 0.7699 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.6034, allocations: 0 / 0.7699 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001954/0.6036, allocations: 206.5 kB / 0.7701 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6036, allocations: 2.297 kB / 0.7701 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000428/0.604, allocations: 50.17 kB / 0.7702 GB, free: 11.67 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.0002038/0.6043, allocations: 157.6 kB / 0.7703 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003873/0.6046, allocations: 279.5 kB / 0.7706 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6046, allocations: 0 / 0.7706 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.6049, allocations: 256.7 kB / 0.7708 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.6053, allocations: 42.17 kB / 0.7709 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008647/0.6061, allocations: 0.582 MB / 0.7714 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.6063, allocations: 152 kB / 0.7716 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.116e-05/0.6064, allocations: 24.31 kB / 0.7716 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.6064, allocations: 20.12 kB / 0.7716 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of SimCode: time 3.8e-07/0.6064, allocations: 1 kB / 0.7716 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of Templates: time 0.007231/0.6136, allocations: 3.029 MB / 0.7746 GB, free: 10.53 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 5.804017601534724]