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.005376/0.005376, allocations: 101 kB / 15.88 MB, free: 5.867 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.001309/0.001309, allocations: 190.4 kB / 16.79 MB, free: 5.809 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.291/1.291, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6293/0.6293, allocations: 89.52 MB / 380.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 78.59 kB / 458.2 MB, free: 23.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.11, allocations: 67.32 MB / 0.5132 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.3621/0.4721, allocations: 138.5 MB / 0.6485 GB, free: 13.69 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003235/0.4754, allocations: 3.28 MB / 0.6517 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.4757, allocations: 7.344 kB / 0.6517 GB, free: 11.6 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004758/0.4762, allocations: 112.9 kB / 0.6518 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.4765, allocations: 131.1 kB / 0.6519 GB, free: 11.41 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.477, allocations: 193.8 kB / 0.6521 GB, free: 11.27 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.4773, allocations: 297.6 kB / 0.6524 GB, free: 11.11 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.4774, allocations: 50.53 kB / 0.6524 GB, free: 11.08 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003593/0.4778, allocations: 159.7 kB / 0.6526 GB, free: 10.98 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.4779, allocations: 100.9 kB / 0.6527 GB, free: 10.93 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.478, allocations: 4.875 kB / 0.6527 GB, free: 10.93 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004405/0.4784, allocations: 260.2 kB / 0.6529 GB, free: 10.81 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.556e-05/0.4784, allocations: 28.19 kB / 0.653 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.566e-05/0.4785, allocations: 78.73 kB / 0.653 GB, free: 10.74 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.4788, allocations: 158.8 kB / 0.6532 GB, free: 10.64 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4788, allocations: 2.719 kB / 0.6532 GB, free: 10.64 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.4788, allocations: 7.875 kB / 0.6532 GB, free: 10.64 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.4788, allocations: 0 / 0.6532 GB, free: 10.64 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.0006227/0.4794, allocations: 477.2 kB / 0.6537 GB, free: 10.18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.4795, allocations: 10.12 kB / 0.6537 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.169e-05/0.4795, allocations: 28.42 kB / 0.6537 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.4797, allocations: 217.9 kB / 0.6539 GB, free: 9.922 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.4798, allocations: 9.484 kB / 0.6539 GB, free: 9.918 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.4798, allocations: 12.34 kB / 0.6539 GB, free: 9.914 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.48, allocations: 147.6 kB / 0.6541 GB, free: 9.797 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.48, allocations: 0 / 0.6541 GB, free: 9.797 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.48, allocations: 7 kB / 0.6541 GB, free: 9.793 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.4801, allocations: 6.375 kB / 0.6541 GB, free: 9.789 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.4802, allocations: 75.09 kB / 0.6541 GB, free: 9.75 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007356/0.4809, allocations: 0.7122 MB / 0.6548 GB, free: 9.059 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.4811, allocations: 81.42 kB / 0.6549 GB, free: 8.988 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.4811, allocations: 38.48 kB / 0.655 GB, free: 8.957 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/0.4813, allocations: 166.9 kB / 0.6551 GB, free: 8.762 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.4813, allocations: 36.72 kB / 0.6552 GB, free: 8.719 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.4813, allocations: 0 / 0.6552 GB, free: 8.719 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.000684/0.482, allocations: 317.5 kB / 0.6555 GB, free: 8.426 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.4821, allocations: 85.05 kB / 0.6555 GB, free: 8.324 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.4823, allocations: 219.7 kB / 0.6557 GB, free: 8.16 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.4823, allocations: 25.7 kB / 0.6558 GB, free: 8.129 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.302e-05/0.4824, allocations: 128.4 kB / 0.6559 GB, free: 8.008 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.4825, allocations: 24.41 kB / 0.6559 GB, free: 7.988 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.4825, allocations: 23.02 kB / 0.6559 GB, free: 7.965 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.4826, allocations: 329.8 kB / 0.6563 GB, free: 7.637 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.196e-05/0.4827, allocations: 22.67 kB / 0.6563 GB, free: 7.625 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.406e-05/0.4827, allocations: 45.62 kB / 0.6563 GB, free: 7.582 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.4829, allocations: 77.09 kB / 0.6564 GB, free: 7.52 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4829, allocations: 0 / 0.6564 GB, free: 7.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002408/0.4831, allocations: 152 kB / 0.6565 GB, free: 7.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.4831, allocations: 13.22 kB / 0.6565 GB, free: 7.402 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4831, allocations: 2.656 kB / 0.6566 GB, free: 7.402 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002065/0.4834, allocations: 41.69 kB / 0.6566 GB, free: 7.371 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.117e-05/0.4834, allocations: 10.69 kB / 0.6566 GB, free: 7.371 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.4852, allocations: 2.555 MB / 0.6591 GB, free: 4.695 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.908e-05/0.4853, allocations: 14.58 kB / 0.6591 GB, free: 4.684 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.4853, allocations: 14.17 kB / 0.6591 GB, free: 4.672 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 9.703e-05/0.4854, allocations: 125.2 kB / 0.6592 GB, free: 4.547 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.4855, allocations: 21.72 kB / 0.6593 GB, free: 4.535 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.4858, allocations: 147.3 kB / 0.6594 GB, free: 4.406 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4858, allocations: 5.594 kB / 0.6594 GB, free: 4.402 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.4858, allocations: 0 / 0.6594 GB, free: 4.402 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4858, allocations: 1.438 kB / 0.6594 GB, free: 4.402 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004913/0.4863, allocations: 0.498 MB / 0.6599 GB, free: 3.898 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.4863, allocations: 5.609 kB / 0.6599 GB, free: 3.895 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.637e-05/0.4863, allocations: 3.188 kB / 0.6599 GB, free: 3.895 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001161/0.4865, allocations: 38.41 kB / 0.6599 GB, free: 3.867 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.4865, allocations: 10.28 kB / 0.66 GB, free: 3.859 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.488, allocations: 2.574 MB / 0.6625 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.488, allocations: 0 / 0.6625 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.4883, allocations: 321 kB / 0.6628 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.4884, allocations: 97.72 kB / 0.6629 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.4884, allocations: 3.188 kB / 0.6629 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.4886, allocations: 4.062 kB / 0.6629 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.4886, allocations: 16.73 kB / 0.6629 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.4886, allocations: 1.625 kB / 0.6629 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.4887, allocations: 171.3 kB / 0.6631 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4888, allocations: 0 / 0.6631 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003695/0.4891, allocations: 50.88 kB / 0.6631 GB, free: 0.6055 MB / 478.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.000234/0.4894, allocations: 154.7 kB / 0.6632 GB, free: 500 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004375/0.4898, allocations: 282.3 kB / 0.6635 GB, free: 236 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.4898, allocations: 0 / 0.6635 GB, free: 236 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.4901, allocations: 257.1 kB / 0.6638 GB, free: 15.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00064/0.4907, allocations: 56.7 kB / 0.6638 GB, free: 15.95 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008191/0.4916, allocations: 0.5184 MB / 0.6643 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.4918, allocations: 0.7289 MB / 0.665 GB, free: 14.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.4919, allocations: 14.88 kB / 0.665 GB, free: 14.79 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4919, allocations: 3.938 kB / 0.6651 GB, free: 14.79 MB / 494.1 MB Notification: Performance of Templates: time 0.005484/0.4974, allocations: 4.175 MB / 0.6691 GB, free: 12.6 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches