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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) 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: translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00221/0.00221, allocations: 191.4 kB / 16.14 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7279/0.7279, allocations: 91.2 MB / 381.2 MB, free: 9.578 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 77 kB / 459.6 MB, free: 23.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1192, allocations: 67.69 MB / 0.515 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.4058/0.525, allocations: 138.6 MB / 0.6504 GB, free: 11.08 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0036/0.5287, allocations: 3.329 MB / 0.6536 GB, free: 8.574 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003126/0.529, allocations: 21.91 kB / 0.6536 GB, free: 8.562 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005052/0.5296, allocations: 119.8 kB / 0.6537 GB, free: 8.469 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003927/0.53, allocations: 159.9 kB / 0.6539 GB, free: 8.336 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.5305, allocations: 180.8 kB / 0.6541 GB, free: 8.203 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.5308, allocations: 383.2 kB / 0.6544 GB, free: 7.984 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.5309, allocations: 58.44 kB / 0.6545 GB, free: 7.949 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004073/0.5314, allocations: 192.7 kB / 0.6547 GB, free: 7.828 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.5315, allocations: 122.2 kB / 0.6548 GB, free: 7.754 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.5316, allocations: 8.125 kB / 0.6548 GB, free: 7.754 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004258/0.532, allocations: 254 kB / 0.655 GB, free: 7.641 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.202e-05/0.5321, allocations: 34.77 kB / 0.6551 GB, free: 7.613 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.57e-05/0.5322, allocations: 110.6 kB / 0.6552 GB, free: 7.539 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003606/0.5325, allocations: 266.8 kB / 0.6554 GB, free: 7.371 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5325, allocations: 1.75 kB / 0.6554 GB, free: 7.371 MB / 478.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.5326, allocations: 4 kB / 0.6554 GB, free: 7.367 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.5326, allocations: 0 / 0.6554 GB, free: 7.367 MB / 478.1 MB 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.0006661/0.5332, allocations: 0.5574 MB / 0.656 GB, free: 6.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.5333, allocations: 9.906 kB / 0.656 GB, free: 6.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.5333, allocations: 30.28 kB / 0.656 GB, free: 6.824 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.5337, allocations: 322.8 kB / 0.6563 GB, free: 6.527 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.5337, allocations: 8.297 kB / 0.6563 GB, free: 6.523 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.5337, allocations: 12.38 kB / 0.6564 GB, free: 6.52 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.534, allocations: 159 kB / 0.6565 GB, free: 6.391 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.534, allocations: 0 / 0.6565 GB, free: 6.391 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.534, allocations: 2.844 kB / 0.6565 GB, free: 6.391 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.534, allocations: 2.312 kB / 0.6565 GB, free: 6.391 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.5341, allocations: 71.53 kB / 0.6566 GB, free: 6.355 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007544/0.5349, allocations: 0.7307 MB / 0.6573 GB, free: 5.656 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.5351, allocations: 86.94 kB / 0.6574 GB, free: 5.578 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.324e-05/0.5351, allocations: 33.22 kB / 0.6574 GB, free: 5.555 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.5353, allocations: 163.1 kB / 0.6576 GB, free: 5.363 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.5353, allocations: 45.69 kB / 0.6576 GB, free: 5.312 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.103e-06/0.5353, allocations: 0 / 0.6576 GB, free: 5.312 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006653/0.536, allocations: 332.6 kB / 0.6579 GB, free: 5.008 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.536, allocations: 78.2 kB / 0.658 GB, free: 4.914 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.5363, allocations: 315.4 kB / 0.6583 GB, free: 4.711 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.5364, allocations: 25.7 kB / 0.6583 GB, free: 4.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.5365, allocations: 161.3 kB / 0.6585 GB, free: 4.531 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.5365, allocations: 35.69 kB / 0.6585 GB, free: 4.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.5366, allocations: 24.66 kB / 0.6585 GB, free: 4.477 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.5367, allocations: 349.3 kB / 0.6589 GB, free: 4.133 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.196e-05/0.5368, allocations: 13.75 kB / 0.6589 GB, free: 4.129 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.94e-05/0.5368, allocations: 60.66 kB / 0.6589 GB, free: 4.07 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.5369, allocations: 76.88 kB / 0.659 GB, free: 4.008 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.537, allocations: 0 / 0.659 GB, free: 4.008 MB / 478.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002569/0.5372, allocations: 150.1 kB / 0.6592 GB, free: 3.906 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.5372, allocations: 13.42 kB / 0.6592 GB, free: 3.898 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5373, allocations: 1.625 kB / 0.6592 GB, free: 3.898 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001975/0.5375, allocations: 46.02 kB / 0.6592 GB, free: 3.863 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.116e-05/0.5375, allocations: 13 kB / 0.6592 GB, free: 3.863 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.5392, allocations: 2.558 MB / 0.6617 GB, free: 1.184 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.676e-05/0.5393, allocations: 14.56 kB / 0.6617 GB, free: 1.172 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.5393, allocations: 13.03 kB / 0.6617 GB, free: 1.164 MB / 478.1 MB 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.0001175/0.5395, allocations: 131.2 kB / 0.6619 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.691e-05/0.5395, allocations: 32.62 kB / 0.6619 GB, free: 1.016 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002875/0.5398, allocations: 152.4 kB / 0.662 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.5398, allocations: 7.984 kB / 0.6621 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.5398, allocations: 1.812 kB / 0.6621 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.5399, allocations: 0 / 0.6621 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.5403, allocations: 0.5189 MB / 0.6626 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5404, allocations: 4.125 kB / 0.6626 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.906e-05/0.5404, allocations: 8.75 kB / 0.6626 GB, free: 368 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/0.5405, allocations: 37.41 kB / 0.6626 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.5405, allocations: 2.125 kB / 0.6626 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/0.5421, allocations: 2.575 MB / 0.6651 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5421, allocations: 0 / 0.6651 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.5425, allocations: 333 kB / 0.6654 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.5425, allocations: 112.2 kB / 0.6656 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.5426, allocations: 3.031 kB / 0.6656 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.5427, allocations: 2.531 kB / 0.6656 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.5427, allocations: 14.78 kB / 0.6656 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.5428, allocations: 6.453 kB / 0.6656 GB, free: 13.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.543, allocations: 233.3 kB / 0.6658 GB, free: 13.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.543, allocations: 0 / 0.6658 GB, free: 13.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003705/0.5434, allocations: 49.52 kB / 0.6658 GB, free: 13.04 MB / 494.1 MB 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.0002026/0.5436, allocations: 153.8 kB / 0.666 GB, free: 12.92 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003869/0.544, allocations: 290.5 kB / 0.6663 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.544, allocations: 0 / 0.6663 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.5442, allocations: 253.3 kB / 0.6665 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006796/0.5449, allocations: 65.27 kB / 0.6666 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009483/0.5459, allocations: 0.6086 MB / 0.6672 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.5462, allocations: 0.7594 MB / 0.6679 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.598e-05/0.5463, allocations: 29.19 kB / 0.6679 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.5463, allocations: 23.97 kB / 0.668 GB, free: 11.14 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.5464, allocations: 0 / 0.668 GB, free: 11.14 MB / 494.1 MB Notification: Performance of Templates: time 0.00706/0.5534, allocations: 3.278 MB / 0.6712 GB, free: 9.508 MB / 494.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.makefile (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 & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches