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.001243/0.001244, allocations: 109.6 kB / 16.41 MB, free: 6.52 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.001222/0.001222, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6488/0.6488, allocations: 91.19 MB / 382.4 MB, free: 7.547 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 79.81 kB / 0.5175 GB, free: 4.125 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2751, allocations: 67.68 MB / 0.5836 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1336/0.4087, allocations: 140.5 MB / 0.7208 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003418/0.4121, allocations: 3.307 MB / 0.724 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.4124, allocations: 19.88 kB / 0.7241 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004738/0.4129, allocations: 127.1 kB / 0.7242 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004284/0.4134, allocations: 182.9 kB / 0.7244 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.4138, allocations: 195.3 kB / 0.7245 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003693/0.4142, allocations: 342.5 kB / 0.7249 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.4144, allocations: 64.38 kB / 0.7249 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004346/0.4148, allocations: 203 kB / 0.7251 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.415, allocations: 123.4 kB / 0.7252 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.415, allocations: 12 kB / 0.7253 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004644/0.4155, allocations: 263.5 kB / 0.7255 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.153e-05/0.4155, allocations: 27.8 kB / 0.7255 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.776e-05/0.4156, allocations: 115.3 kB / 0.7256 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004261/0.4161, allocations: 312.9 kB / 0.7259 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4161, allocations: 0 / 0.7259 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.093e-06/0.4161, allocations: 0 / 0.7259 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.4161, allocations: 0 / 0.7259 GB, free: 11.86 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.0007441/0.4169, allocations: 0.553 MB / 0.7265 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.4169, allocations: 8.031 kB / 0.7265 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.752e-05/0.417, allocations: 32.56 kB / 0.7265 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004977/0.4175, allocations: 355.9 kB / 0.7269 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.4175, allocations: 8.609 kB / 0.7269 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.4175, allocations: 20.3 kB / 0.7269 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.4178, allocations: 154.8 kB / 0.727 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.4178, allocations: 0 / 0.727 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.4178, allocations: 8 kB / 0.727 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.4178, allocations: 4 kB / 0.7271 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.418, allocations: 75.91 kB / 0.7271 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007679/0.4187, allocations: 0.7309 MB / 0.7278 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.4189, allocations: 81.09 kB / 0.7279 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.209e-05/0.4189, allocations: 33.72 kB / 0.7279 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/0.4191, allocations: 170.3 kB / 0.7281 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.4191, allocations: 38.5 kB / 0.7281 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.4191, allocations: 0 / 0.7281 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0006435/0.4198, allocations: 333.1 kB / 0.7285 GB, free: 9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.4198, allocations: 81.11 kB / 0.7285 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.4201, allocations: 313.7 kB / 0.7288 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.4201, allocations: 29.7 kB / 0.7289 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.832e-05/0.4202, allocations: 156.1 kB / 0.729 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.4203, allocations: 31.55 kB / 0.729 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.4203, allocations: 21.72 kB / 0.7291 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4204, allocations: 346.7 kB / 0.7294 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.32e-05/0.4205, allocations: 20 kB / 0.7294 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.162e-05/0.4206, allocations: 51.36 kB / 0.7295 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.451e-05/0.4207, allocations: 67.75 kB / 0.7295 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4207, allocations: 0 / 0.7295 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002702/0.4209, allocations: 163 kB / 0.7297 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.421, allocations: 17.02 kB / 0.7297 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.421, allocations: 0 / 0.7297 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/0.4212, allocations: 37.64 kB / 0.7297 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.4212, allocations: 8 kB / 0.7297 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.423, allocations: 2.761 MB / 0.7324 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.26e-05/0.4231, allocations: 16.03 kB / 0.7325 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.4231, allocations: 8 kB / 0.7325 GB, free: 4.531 MB / 0.5762 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.0001132/0.4232, allocations: 137.7 kB / 0.7326 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.563e-05/0.4233, allocations: 31.56 kB / 0.7326 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.4236, allocations: 163.5 kB / 0.7328 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4236, allocations: 4 kB / 0.7328 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.4236, allocations: 7.938 kB / 0.7328 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.4237, allocations: 96.77 kB / 0.7329 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.4237, allocations: 7.984 kB / 0.7329 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.218e-05/0.4238, allocations: 7.938 kB / 0.7329 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.4238, allocations: 7.984 kB / 0.7329 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003744/0.4242, allocations: 277.8 kB / 0.7332 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002405/0.4244, allocations: 365.7 kB / 0.7335 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.283e-05/0.4245, allocations: 27.97 kB / 0.7336 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002099/0.4247, allocations: 231.2 kB / 0.7338 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of Backend: time 3.81e-07/0.4247, allocations: 0 / 0.7338 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008223/0.4256, allocations: 424.1 kB / 0.7342 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of SimCode: time 0.001114/0.4267, allocations: 1.068 MB / 0.7352 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of Templates: time 0.2203/0.6469, allocations: 3.557 MB / 0.7387 GB, free: 154.5 MB / 0.5762 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches