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.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.001187/0.001187, allocations: 107.2 kB / 17.54 MB, free: 4.641 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.001284/0.001284, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.264/1.264, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5401/0.5401, allocations: 94.59 MB / 399 MB, free: 15.78 MB / 334.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-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_dev_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 87.86 kB / 0.5442 GB, free: 12.64 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3061, allocations: 71.83 MB / 0.6143 GB, free: 3.852 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1443/0.4504, allocations: 141.1 MB / 0.7521 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003415/0.4538, allocations: 3.366 MB / 0.7554 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.454, allocations: 19.88 kB / 0.7554 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004256/0.4544, allocations: 139 kB / 0.7556 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003865/0.4548, allocations: 202.8 kB / 0.7558 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.4552, allocations: 207.2 kB / 0.7559 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003862/0.4556, allocations: 386.5 kB / 0.7563 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.4557, allocations: 44.7 kB / 0.7564 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004377/0.4561, allocations: 234.9 kB / 0.7566 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.4563, allocations: 127.2 kB / 0.7567 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.4563, allocations: 8 kB / 0.7567 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000453/0.4568, allocations: 267.5 kB / 0.757 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.54e-05/0.4568, allocations: 35.8 kB / 0.757 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.769e-05/0.4569, allocations: 115.2 kB / 0.7571 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004394/0.4574, allocations: 336.5 kB / 0.7574 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4574, allocations: 0 / 0.7574 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4574, allocations: 0 / 0.7574 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.4574, allocations: 0 / 0.7574 GB, free: 2.098 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.0007017/0.4581, allocations: 0.5722 MB / 0.758 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.4581, allocations: 12.03 kB / 0.758 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.4582, allocations: 46.73 kB / 0.758 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.4582, allocations: 36.7 kB / 0.7581 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.4587, allocations: 388.1 kB / 0.7585 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.4587, allocations: 8.609 kB / 0.7585 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.4587, allocations: 12.38 kB / 0.7585 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.459, allocations: 154.6 kB / 0.7586 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.459, allocations: 3.938 kB / 0.7586 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.459, allocations: 4 kB / 0.7586 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.459, allocations: 4 kB / 0.7586 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.4591, allocations: 67.91 kB / 0.7587 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007753/0.4599, allocations: 0.7429 MB / 0.7594 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.46, allocations: 77.16 kB / 0.7595 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.597e-05/0.4601, allocations: 29.72 kB / 0.7595 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.4602, allocations: 170.2 kB / 0.7597 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.4602, allocations: 38.5 kB / 0.7597 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.4602, allocations: 0 / 0.7597 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0006359/0.4609, allocations: 337.3 kB / 0.76 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.4609, allocations: 77.11 kB / 0.7601 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.4612, allocations: 341.6 kB / 0.7604 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.4612, allocations: 25.7 kB / 0.7605 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.4614, allocations: 172 kB / 0.7606 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.4614, allocations: 31.73 kB / 0.7607 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.4614, allocations: 21.72 kB / 0.7607 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4616, allocations: 342.8 kB / 0.761 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.927e-05/0.4616, allocations: 20 kB / 0.761 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.686e-05/0.4617, allocations: 55.3 kB / 0.7611 GB, free: 14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.4618, allocations: 75.72 kB / 0.7612 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4618, allocations: 4 kB / 0.7612 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002514/0.462, allocations: 163.1 kB / 0.7613 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.462, allocations: 8 kB / 0.7613 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.462, allocations: 0 / 0.7613 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.4622, allocations: 37.64 kB / 0.7614 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.998e-05/0.4623, allocations: 19.98 kB / 0.7614 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.4642, allocations: 2.749 MB / 0.7641 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.517e-05/0.4642, allocations: 11.92 kB / 0.7641 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.4642, allocations: 12.25 kB / 0.7641 GB, free: 10.61 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.000114/0.4644, allocations: 137.8 kB / 0.7642 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.538e-05/0.4644, allocations: 39.69 kB / 0.7643 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.4647, allocations: 151.5 kB / 0.7644 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4647, allocations: 0 / 0.7644 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.4647, allocations: 4 kB / 0.7644 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4647, allocations: 7.984 kB / 0.7644 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005052/0.4652, allocations: 0.5242 MB / 0.7649 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.4652, allocations: 7.984 kB / 0.7649 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.4652, allocations: 12.06 kB / 0.7649 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001192/0.4654, allocations: 41.69 kB / 0.765 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.4654, allocations: 0 / 0.765 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.4672, allocations: 2.769 MB / 0.7677 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4672, allocations: 0 / 0.7677 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.4675, allocations: 341.9 kB / 0.768 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.651e-05/0.4676, allocations: 105 kB / 0.7681 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.4676, allocations: 4.188 kB / 0.7681 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.4677, allocations: 0 / 0.7681 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.4677, allocations: 23.92 kB / 0.7681 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.4677, allocations: 4 kB / 0.7681 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002272/0.468, allocations: 243.2 kB / 0.7684 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.468, allocations: 0 / 0.7684 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003287/0.4683, allocations: 44 kB / 0.7684 GB, free: 5.742 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.0006598/0.4689, allocations: 0.914 MB / 0.7693 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003864/0.4693, allocations: 293.2 kB / 0.7696 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4693, allocations: 0 / 0.7696 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.4696, allocations: 249.4 kB / 0.7698 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005201/0.4701, allocations: 72.3 kB / 0.7699 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/0.4729, allocations: 2.677 MB / 0.7725 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.4732, allocations: 0.7634 MB / 0.7733 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.123e-05/0.4733, allocations: 34.91 kB / 0.7733 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.535e-05/0.4734, allocations: 87.41 kB / 0.7734 GB, free: 444 kB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.4734, allocations: 0 / 0.7734 GB, free: 444 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03709/0.5105, allocations: 6.884 MB / 0.7801 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.109/9.619, allocations: 5.312 kB / 0.7801 GB, free: 9.648 MB / 0.6075 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink.fmu > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","/var/lib/jenkins1/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: 12.44306780599436]