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.001576/0.001576, allocations: 110.4 kB / 16.46 MB, free: 6.035 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.001636/0.001636, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.433/1.433, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7527/0.7527, allocations: 94.59 MB / 397.3 MB, free: 280 kB / 302.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/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: "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 87.39 kB / 0.5416 GB, free: 42.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1171, allocations: 71.86 MB / 0.6118 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.4952/0.6122, allocations: 141 MB / 0.7494 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003584/0.6158, allocations: 3.344 MB / 0.7527 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003562/0.6162, allocations: 21.56 kB / 0.7527 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005955/0.6168, allocations: 138 kB / 0.7528 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005036/0.6173, allocations: 201.8 kB / 0.753 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004817/0.6178, allocations: 199.1 kB / 0.7532 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003836/0.6181, allocations: 390.8 kB / 0.7536 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.6183, allocations: 38.92 kB / 0.7536 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004736/0.6188, allocations: 237.4 kB / 0.7539 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.6189, allocations: 122.6 kB / 0.754 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.619, allocations: 9.625 kB / 0.754 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004833/0.6194, allocations: 271.3 kB / 0.7542 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.6195, allocations: 34.56 kB / 0.7543 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.6196, allocations: 112.2 kB / 0.7544 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006428/0.6203, allocations: 333.8 kB / 0.7547 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.6203, allocations: 1.578 kB / 0.7547 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6203, allocations: 3.5 kB / 0.7547 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.6203, allocations: 2.203 kB / 0.7547 GB, free: 2.406 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.0008881/0.6212, allocations: 0.5753 MB / 0.7553 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.6212, allocations: 13.5 kB / 0.7553 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/0.6213, allocations: 45.14 kB / 0.7553 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/0.6214, allocations: 37.5 kB / 0.7554 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000944/0.6223, allocations: 385.2 kB / 0.7557 GB, free: 17.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.6223, allocations: 10.48 kB / 0.7557 GB, free: 17.63 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.6224, allocations: 12.78 kB / 0.7557 GB, free: 17.63 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.6226, allocations: 157 kB / 0.7559 GB, free: 17.56 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.6227, allocations: 0 / 0.7559 GB, free: 17.56 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.6227, allocations: 4.406 kB / 0.7559 GB, free: 17.56 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.6227, allocations: 3.516 kB / 0.7559 GB, free: 17.56 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.6228, allocations: 71 kB / 0.756 GB, free: 17.56 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009695/0.6238, allocations: 0.7356 MB / 0.7567 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.6239, allocations: 73.92 kB / 0.7568 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.949e-05/0.624, allocations: 43.02 kB / 0.7568 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/0.6242, allocations: 162.4 kB / 0.757 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.6242, allocations: 32.23 kB / 0.757 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.6242, allocations: 2.625 kB / 0.757 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0007325/0.6249, allocations: 341.1 kB / 0.7573 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.625, allocations: 77.77 kB / 0.7574 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.6253, allocations: 337.4 kB / 0.7577 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.6254, allocations: 29.64 kB / 0.7577 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.6255, allocations: 169.5 kB / 0.7579 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.6255, allocations: 34.66 kB / 0.7579 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.6256, allocations: 25.59 kB / 0.758 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.6257, allocations: 342.2 kB / 0.7583 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.072e-05/0.6258, allocations: 20.53 kB / 0.7583 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.462e-05/0.6258, allocations: 48.39 kB / 0.7584 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.976e-05/0.6259, allocations: 73.12 kB / 0.7584 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6259, allocations: 3.594 kB / 0.7584 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002572/0.6262, allocations: 155.9 kB / 0.7586 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.6262, allocations: 12.72 kB / 0.7586 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.6262, allocations: 0.7031 kB / 0.7586 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002202/0.6264, allocations: 42.2 kB / 0.7586 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.657e-05/0.6265, allocations: 15.31 kB / 0.7586 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.6288, allocations: 2.755 MB / 0.7613 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.6289, allocations: 12.72 kB / 0.7613 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.6289, allocations: 7 kB / 0.7614 GB, free: 12.96 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.0001425/0.629, allocations: 143.2 kB / 0.7615 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.558e-05/0.6291, allocations: 45.78 kB / 0.7615 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003255/0.6294, allocations: 151.6 kB / 0.7617 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.6294, allocations: 1.359 kB / 0.7617 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.6294, allocations: 0 / 0.7617 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.6295, allocations: 4.547 kB / 0.7617 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006326/0.6301, allocations: 0.5293 MB / 0.7622 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.6301, allocations: 0.9062 kB / 0.7622 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.797e-05/0.6301, allocations: 6.406 kB / 0.7622 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001312/0.6302, allocations: 43.7 kB / 0.7622 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.6302, allocations: 6.062 kB / 0.7623 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/0.6325, allocations: 2.761 MB / 0.7649 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.6325, allocations: 4.391 kB / 0.765 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.6329, allocations: 338.8 kB / 0.7653 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.633, allocations: 105.2 kB / 0.7654 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.6331, allocations: 3.406 kB / 0.7654 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.6332, allocations: 5.562 kB / 0.7654 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.6332, allocations: 11.53 kB / 0.7654 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.6332, allocations: 3.719 kB / 0.7654 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003475/0.6336, allocations: 246.1 kB / 0.7656 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.6336, allocations: 1.094 kB / 0.7656 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004467/0.634, allocations: 43.28 kB / 0.7657 GB, free: 9.164 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.0009662/0.635, allocations: 0.9306 MB / 0.7666 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005439/0.6355, allocations: 283.9 kB / 0.7669 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6355, allocations: 0.9688 kB / 0.7669 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000291/0.6358, allocations: 254.1 kB / 0.7671 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006363/0.6365, allocations: 64.55 kB / 0.7672 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/0.6408, allocations: 2.693 MB / 0.7698 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.6413, allocations: 0.7658 MB / 0.7705 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001473/0.6415, allocations: 28.62 kB / 0.7706 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.6416, allocations: 83.59 kB / 0.7706 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of SimCode: time 1.643e-06/0.6416, allocations: 0.8125 kB / 0.7706 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03911/0.6807, allocations: 6.916 MB / 0.7774 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.92, allocations: 9.625 kB / 0.7774 GB, free: 4.984 MB / 0.5919 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.377888337243348]