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.00154/0.00154, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001663/0.001663, allocations: 154.9 kB / 23.01 MB, free: 4.949 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.337/1.337, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 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.6962/0.6962, allocations: 79.61 MB / 339.4 MB, free: 10.98 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.002418/0.002418, allocations: 88.16 kB / 0.4924 GB, free: 26.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1102, allocations: 74.59 MB / 0.5652 GB, free: 5.996 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1448/0.255, allocations: 121 MB / 0.6833 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00362/0.2586, allocations: 3.07 MB / 0.6863 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/0.2588, allocations: 27.69 kB / 0.6864 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004701/0.2593, allocations: 119.2 kB / 0.6865 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004503/0.2598, allocations: 202.8 kB / 0.6867 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.2602, allocations: 207.3 kB / 0.6869 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004321/0.2606, allocations: 394.4 kB / 0.6872 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.2608, allocations: 36.92 kB / 0.6873 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004879/0.2612, allocations: 230.9 kB / 0.6875 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.2614, allocations: 119.3 kB / 0.6876 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.2615, allocations: 12 kB / 0.6876 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003841/0.2618, allocations: 223.6 kB / 0.6878 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.2619, allocations: 35.8 kB / 0.6879 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.8e-05/0.262, allocations: 83.42 kB / 0.688 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004495/0.2624, allocations: 330.5 kB / 0.6883 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2624, allocations: 0 / 0.6883 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2624, allocations: 0 / 0.6883 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2624, allocations: 0 / 0.6883 GB, free: 7.477 MB / 0.5919 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.0007293/0.2632, allocations: 0.5047 MB / 0.6888 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.2632, allocations: 13.47 kB / 0.6888 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/0.2633, allocations: 36.7 kB / 0.6888 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005545/0.2638, allocations: 312.9 kB / 0.6891 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.2638, allocations: 8.609 kB / 0.6891 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.2639, allocations: 16.33 kB / 0.6891 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.2641, allocations: 162.8 kB / 0.6893 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.2641, allocations: 4 kB / 0.6893 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.2641, allocations: 4 kB / 0.6893 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2641, allocations: 4 kB / 0.6893 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.2643, allocations: 67.91 kB / 0.6894 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007592/0.265, allocations: 0.6451 MB / 0.69 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.2652, allocations: 73.22 kB / 0.6901 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/0.2652, allocations: 37.66 kB / 0.6901 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.386e-05/0.2653, allocations: 12.08 kB / 0.6901 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.2653, allocations: 38.5 kB / 0.6901 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.2653, allocations: 0 / 0.6901 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0005834/0.2659, allocations: 179.1 kB / 0.6903 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.2659, allocations: 77.11 kB / 0.6904 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.2662, allocations: 272.6 kB / 0.6907 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.2662, allocations: 37.7 kB / 0.6907 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.2664, allocations: 171.9 kB / 0.6909 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.2664, allocations: 35.69 kB / 0.6909 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.2664, allocations: 21.72 kB / 0.6909 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.2666, allocations: 346.7 kB / 0.6912 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.054e-05/0.2666, allocations: 19.94 kB / 0.6913 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-05/0.2667, allocations: 47.42 kB / 0.6913 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.2668, allocations: 67.75 kB / 0.6914 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2668, allocations: 0 / 0.6914 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002634/0.2671, allocations: 159.2 kB / 0.6915 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2671, allocations: 11.92 kB / 0.6915 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2671, allocations: 3.938 kB / 0.6915 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00018/0.2673, allocations: 37.7 kB / 0.6916 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.503e-05/0.2673, allocations: 8 kB / 0.6916 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.2693, allocations: 2.509 MB / 0.694 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.37e-05/0.2693, allocations: 8.031 kB / 0.694 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.2694, allocations: 4 kB / 0.694 GB, free: 1.102 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.0001181/0.2695, allocations: 134.1 kB / 0.6942 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-05/0.2695, allocations: 27.81 kB / 0.6942 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.2698, allocations: 167.4 kB / 0.6944 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2698, allocations: 3.938 kB / 0.6944 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2698, allocations: 7.984 kB / 0.6944 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2698, allocations: 0 / 0.6944 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005123/0.2704, allocations: 476.7 kB / 0.6948 GB, free: 224 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2704, allocations: 0 / 0.6948 GB, free: 224 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.704e-05/0.2704, allocations: 4 kB / 0.6948 GB, free: 220 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001163/0.2705, allocations: 37.69 kB / 0.6949 GB, free: 176 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.2705, allocations: 11.94 kB / 0.6949 GB, free: 164 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2358/0.5063, allocations: 2.508 MB / 0.6973 GB, free: 131.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5063, allocations: 0.7812 kB / 0.6973 GB, free: 131.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.5066, allocations: 333.7 kB / 0.6976 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/0.5066, allocations: 30.02 kB / 0.6977 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.5066, allocations: 7.422 kB / 0.6977 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.5068, allocations: 4.812 kB / 0.6977 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.5068, allocations: 11.36 kB / 0.6977 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.5068, allocations: 6.484 kB / 0.6977 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001758/0.507, allocations: 205.1 kB / 0.6979 GB, free: 130.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.507, allocations: 0 / 0.6979 GB, free: 130.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003941/0.5074, allocations: 48.97 kB / 0.6979 GB, free: 130.7 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.0001907/0.5076, allocations: 149.7 kB / 0.6981 GB, free: 130.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003413/0.5079, allocations: 289.4 kB / 0.6984 GB, free: 130.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5079, allocations: 0.625 kB / 0.6984 GB, free: 130.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.5081, allocations: 253.5 kB / 0.6986 GB, free: 130.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.5085, allocations: 39.67 kB / 0.6986 GB, free: 130.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000809/0.5093, allocations: 0.5663 MB / 0.6992 GB, free: 129.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.5094, allocations: 151.6 kB / 0.6993 GB, free: 129.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.886e-05/0.5095, allocations: 25.97 kB / 0.6994 GB, free: 129.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.5095, allocations: 27.95 kB / 0.6994 GB, free: 129.8 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.5095, allocations: 0 / 0.6994 GB, free: 129.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.00691/0.5165, allocations: 2.737 MB / 0.7021 GB, free: 129.4 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 -s ida -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/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: 5.272902825032361]