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.001111/0.001111, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0009551/0.0009551, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.9197/0.9197, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.686/0.686, allocations: 116 MB / 376 MB, free: 4.184 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: 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: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5545 GB, free: 12.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.861e-05, allocations: 2.281 kB / 0.5545 GB, free: 12.83 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.4101/0.4101, allocations: 122.7 MB / 0.6743 GB, free: 7.664 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.4114, allocations: 1.457 MB / 0.6757 GB, free: 7.551 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.4116, allocations: 35.88 kB / 0.6758 GB, free: 7.527 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004466/0.412, allocations: 122.7 kB / 0.6759 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003625/0.4124, allocations: 223.9 kB / 0.6761 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.4127, allocations: 216.2 kB / 0.6763 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005033/0.4132, allocations: 437.5 kB / 0.6767 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.4134, allocations: 42.19 kB / 0.6768 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005482/0.4139, allocations: 302.8 kB / 0.6771 GB, free: 7.414 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.4141, allocations: 113.5 kB / 0.6772 GB, free: 7.41 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.4141, allocations: 11.09 kB / 0.6772 GB, free: 7.41 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003465/0.4145, allocations: 212.7 kB / 0.6774 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.439e-05/0.4145, allocations: 39.25 kB / 0.6774 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.4146, allocations: 73.56 kB / 0.6775 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005522/0.4152, allocations: 341.9 kB / 0.6778 GB, free: 7.371 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4152, allocations: 0 / 0.6778 GB, free: 7.371 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4152, allocations: 0.5312 kB / 0.6778 GB, free: 7.371 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.4152, allocations: 0.5625 kB / 0.6778 GB, free: 7.371 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.0006688/0.4159, allocations: 0.5201 MB / 0.6783 GB, free: 6.98 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4159, allocations: 10.5 kB / 0.6783 GB, free: 6.98 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.405e-05/0.416, allocations: 37.42 kB / 0.6784 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000481/0.4165, allocations: 329.1 kB / 0.6787 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.4165, allocations: 9.359 kB / 0.6787 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.4165, allocations: 10.84 kB / 0.6787 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.4168, allocations: 149.1 kB / 0.6789 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4168, allocations: 0.75 kB / 0.6789 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.4168, allocations: 10.44 kB / 0.6789 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.4168, allocations: 9.156 kB / 0.6789 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.4169, allocations: 68.11 kB / 0.6789 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.4174, allocations: 0.6434 MB / 0.6796 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.4175, allocations: 79.69 kB / 0.6796 GB, free: 6.16 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.431e-05/0.4176, allocations: 36.34 kB / 0.6797 GB, free: 6.145 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.41e-05/0.4177, allocations: 8.547 kB / 0.6797 GB, free: 6.145 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.4177, allocations: 36.06 kB / 0.6797 GB, free: 6.105 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.4177, allocations: 0 / 0.6797 GB, free: 6.105 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0004267/0.4181, allocations: 185.4 kB / 0.6799 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.4181, allocations: 83.2 kB / 0.68 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.4183, allocations: 294.5 kB / 0.6803 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.4184, allocations: 27.02 kB / 0.6803 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.4184, allocations: 176 kB / 0.6804 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.4185, allocations: 34.09 kB / 0.6805 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.4185, allocations: 25.84 kB / 0.6805 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.829e-05/0.4185, allocations: 339.2 kB / 0.6808 GB, free: 5.34 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/0.4186, allocations: 19.44 kB / 0.6808 GB, free: 5.34 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.4186, allocations: 46.91 kB / 0.6809 GB, free: 5.305 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.519e-05/0.4187, allocations: 80.27 kB / 0.681 GB, free: 5.266 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4187, allocations: 0 / 0.681 GB, free: 5.266 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001728/0.4189, allocations: 154.5 kB / 0.6811 GB, free: 5.195 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.4189, allocations: 5.594 kB / 0.6811 GB, free: 5.195 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.4189, allocations: 1.312 kB / 0.6811 GB, free: 5.195 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001614/0.419, allocations: 41.86 kB / 0.6812 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.211e-05/0.4191, allocations: 20.59 kB / 0.6812 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009304/0.42, allocations: 2.496 MB / 0.6836 GB, free: 2.793 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.325e-05/0.4201, allocations: 2.688 kB / 0.6836 GB, free: 2.793 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.4201, allocations: 14.72 kB / 0.6836 GB, free: 2.781 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 7.953e-05/0.4202, allocations: 134.3 kB / 0.6838 GB, free: 2.664 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.4202, allocations: 39.02 kB / 0.6838 GB, free: 2.641 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.4204, allocations: 151.8 kB / 0.6839 GB, free: 2.559 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4204, allocations: 1.344 kB / 0.6839 GB, free: 2.559 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.4204, allocations: 1.25 kB / 0.6839 GB, free: 2.559 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.4204, allocations: 0 / 0.6839 GB, free: 2.559 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.4207, allocations: 484.5 kB / 0.6844 GB, free: 2.207 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4207, allocations: 1.375 kB / 0.6844 GB, free: 2.207 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.476e-06/0.4207, allocations: 4.625 kB / 0.6844 GB, free: 2.207 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-05/0.4208, allocations: 46.23 kB / 0.6845 GB, free: 2.188 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.4208, allocations: 1.375 kB / 0.6845 GB, free: 2.188 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.422, allocations: 2.502 MB / 0.6869 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.422, allocations: 0 / 0.6869 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.4222, allocations: 337.5 kB / 0.6872 GB, free: 15.54 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.4222, allocations: 36.94 kB / 0.6873 GB, free: 15.52 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.4223, allocations: 9.188 kB / 0.6873 GB, free: 15.51 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.65e-05/0.4223, allocations: 0.875 kB / 0.6873 GB, free: 15.51 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.4224, allocations: 14.28 kB / 0.6873 GB, free: 15.51 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.4224, allocations: 5.906 kB / 0.6873 GB, free: 15.51 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001523/0.4225, allocations: 214.4 kB / 0.6875 GB, free: 15.42 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/0.4225, allocations: 0 / 0.6875 GB, free: 15.42 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002522/0.4228, allocations: 57.05 kB / 0.6876 GB, free: 15.41 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.0002137/0.423, allocations: 156.6 kB / 0.6877 GB, free: 15.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003024/0.4233, allocations: 282.6 kB / 0.688 GB, free: 15.08 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4233, allocations: 0 / 0.688 GB, free: 15.08 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.4234, allocations: 257.9 kB / 0.6882 GB, free: 14.85 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.4238, allocations: 59.64 kB / 0.6883 GB, free: 14.85 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00068/0.4245, allocations: 0.5783 MB / 0.6888 GB, free: 14.46 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.4246, allocations: 154 kB / 0.689 GB, free: 14.38 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.4246, allocations: 27.16 kB / 0.689 GB, free: 14.37 MB / 0.573 GB Notification: Performance of SimCode: time 9.02e-07/0.4246, allocations: 0 / 0.689 GB, free: 14.37 MB / 0.573 GB Notification: Performance of Templates: time 0.006173/0.4308, allocations: 6.092 MB / 0.695 GB, free: 13.78 MB / 0.573 GB " [Timeout remaining time 660] 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: 6.140224443748593]