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.000777/0.000777, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008222/0.0008222, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8536/0.8536, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.6071/0.6071, allocations: 116 MB / 375.2 MB, free: 4.168 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: "" <> 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 1.273e-06/1.273e-06, allocations: 0 / 0.5533 GB, free: 13.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.626e-06/9.899e-06, allocations: 2.281 kB / 0.5533 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.3346/0.3347, allocations: 122.7 MB / 0.6731 GB, free: 7.172 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.3357, allocations: 1.451 MB / 0.6745 GB, free: 7.059 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.3359, allocations: 32.28 kB / 0.6746 GB, free: 7.039 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003881/0.3363, allocations: 126.1 kB / 0.6747 GB, free: 7 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.3366, allocations: 228 kB / 0.6749 GB, free: 6.965 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.3368, allocations: 213.2 kB / 0.6751 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.3372, allocations: 436.6 kB / 0.6755 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.3373, allocations: 42 kB / 0.6756 GB, free: 6.938 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004605/0.3378, allocations: 304.7 kB / 0.6758 GB, free: 6.922 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.338, allocations: 109.9 kB / 0.6759 GB, free: 6.922 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.338, allocations: 10.5 kB / 0.676 GB, free: 6.922 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.3383, allocations: 218 kB / 0.6762 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.806e-05/0.3384, allocations: 40.19 kB / 0.6762 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.805e-05/0.3385, allocations: 70.09 kB / 0.6763 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004528/0.339, allocations: 337.4 kB / 0.6766 GB, free: 6.883 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.339, allocations: 4.5 kB / 0.6766 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.523e-06/0.339, allocations: 0.5 kB / 0.6766 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.339, allocations: 0 / 0.6766 GB, free: 6.879 MB / 0.5573 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.0005697/0.3395, allocations: 0.5167 MB / 0.6771 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3396, allocations: 9.625 kB / 0.6771 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.216e-05/0.3396, allocations: 43.47 kB / 0.6772 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.243e-05/0.3397, allocations: 37.33 kB / 0.6772 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/0.3401, allocations: 327.8 kB / 0.6775 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.3401, allocations: 10.39 kB / 0.6775 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.3402, allocations: 14.33 kB / 0.6775 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.3403, allocations: 154.2 kB / 0.6777 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3404, allocations: 0.9062 kB / 0.6777 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3404, allocations: 9.438 kB / 0.6777 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.3404, allocations: 3.281 kB / 0.6777 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.3405, allocations: 78.11 kB / 0.6778 GB, free: 6.156 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005544/0.341, allocations: 0.69 MB / 0.6784 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.167e-05/0.3411, allocations: 72.78 kB / 0.6785 GB, free: 5.594 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.876e-05/0.3412, allocations: 35.27 kB / 0.6785 GB, free: 5.574 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.448e-05/0.3412, allocations: 11.66 kB / 0.6785 GB, free: 5.574 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/0.3413, allocations: 36.47 kB / 0.6786 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.3413, allocations: 0 / 0.6786 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0003864/0.3416, allocations: 187.7 kB / 0.6788 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.3417, allocations: 79.33 kB / 0.6788 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.3419, allocations: 347.6 kB / 0.6792 GB, free: 5.254 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.232e-06/0.3419, allocations: 26.7 kB / 0.6792 GB, free: 5.223 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.342, allocations: 169.6 kB / 0.6794 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.342, allocations: 33.12 kB / 0.6794 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.342, allocations: 29.27 kB / 0.6794 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.265e-05/0.3421, allocations: 351.5 kB / 0.6797 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.856e-05/0.3421, allocations: 18.58 kB / 0.6798 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.551e-05/0.3421, allocations: 45.61 kB / 0.6798 GB, free: 4.746 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.617e-05/0.3422, allocations: 72.55 kB / 0.6799 GB, free: 4.711 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3422, allocations: 1.203 kB / 0.6799 GB, free: 4.711 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001553/0.3424, allocations: 156.6 kB / 0.68 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.3424, allocations: 9.062 kB / 0.68 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3424, allocations: 4.25 kB / 0.68 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001319/0.3425, allocations: 43.55 kB / 0.6801 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.387e-05/0.3425, allocations: 15.81 kB / 0.6801 GB, free: 4.613 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007776/0.3433, allocations: 2.55 MB / 0.6826 GB, free: 2.156 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.105e-05/0.3434, allocations: 14.7 kB / 0.6826 GB, free: 2.148 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.3434, allocations: 3.156 kB / 0.6826 GB, free: 2.148 MB / 0.5573 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 6.84e-05/0.3434, allocations: 131 kB / 0.6827 GB, free: 2.035 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.3435, allocations: 38.52 kB / 0.6828 GB, free: 2.016 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.3437, allocations: 163.4 kB / 0.6829 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3437, allocations: 1.312 kB / 0.6829 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3437, allocations: 1.25 kB / 0.6829 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3437, allocations: 0 / 0.6829 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.3439, allocations: 0.4915 MB / 0.6834 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3439, allocations: 1.562 kB / 0.6834 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-06/0.3439, allocations: 3.281 kB / 0.6834 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.632e-05/0.344, allocations: 46.33 kB / 0.6835 GB, free: 1.527 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.344, allocations: 5.594 kB / 0.6835 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.3452, allocations: 2.551 MB / 0.686 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3452, allocations: 1.094 kB / 0.686 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.3454, allocations: 338.7 kB / 0.6863 GB, free: 14.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.3455, allocations: 38.44 kB / 0.6863 GB, free: 14.79 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.3455, allocations: 4.375 kB / 0.6863 GB, free: 14.79 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.3455, allocations: 1.375 kB / 0.6863 GB, free: 14.79 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.3456, allocations: 12.44 kB / 0.6863 GB, free: 14.79 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.3456, allocations: 2.75 kB / 0.6863 GB, free: 14.79 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001508/0.3457, allocations: 247.1 kB / 0.6866 GB, free: 14.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/0.3457, allocations: 4 kB / 0.6866 GB, free: 14.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002309/0.3459, allocations: 55.09 kB / 0.6866 GB, free: 14.69 MB / 0.573 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.0004497/0.3464, allocations: 0.9267 MB / 0.6875 GB, free: 13.88 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002779/0.3467, allocations: 293.5 kB / 0.6878 GB, free: 13.64 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3467, allocations: 4 kB / 0.6878 GB, free: 13.64 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.3468, allocations: 248.3 kB / 0.688 GB, free: 13.42 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.3473, allocations: 100.6 kB / 0.6881 GB, free: 13.41 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.3493, allocations: 2.666 MB / 0.6907 GB, free: 11.77 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.3494, allocations: 156.5 kB / 0.6909 GB, free: 11.69 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 6.524e-05/0.3495, allocations: 37.06 kB / 0.6909 GB, free: 11.68 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.3496, allocations: 87.97 kB / 0.691 GB, free: 11.67 MB / 0.573 GB Notification: Performance of SimCode: time 4.4e-07/0.3496, allocations: 0 / 0.691 GB, free: 11.67 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.3723, allocations: 8.627 MB / 0.6994 GB, free: 9.809 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.595/6.967, allocations: 5.266 kB / 0.6994 GB, free: 9.809 MB / 0.573 GB " [Timeout remaining time 653] (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 --stepSize=0.001 --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/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: 9.359445981681347]