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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.0014/0.0014, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 200.3 kB / 16.54 MB, free: 6.672 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.587/1.587, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 1.011/1.011, allocations: 89.48 MB / 379.9 MB, free: 11 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 86 kB / 458.2 MB, free: 23.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1861, allocations: 67.31 MB / 0.5132 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.7581/0.9442, allocations: 140.4 MB / 0.6503 GB, free: 12.26 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003746/0.948, allocations: 3.258 MB / 0.6535 GB, free: 9.93 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002306/0.9482, allocations: 0 / 0.6535 GB, free: 9.93 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006233/0.9489, allocations: 136.7 kB / 0.6536 GB, free: 9.82 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004183/0.9495, allocations: 135.9 kB / 0.6537 GB, free: 9.711 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006242/0.9501, allocations: 203.4 kB / 0.6539 GB, free: 9.559 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004314/0.9505, allocations: 268.9 kB / 0.6542 GB, free: 9.402 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.9507, allocations: 55.53 kB / 0.6542 GB, free: 9.375 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004853/0.9512, allocations: 159.3 kB / 0.6544 GB, free: 9.277 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.9514, allocations: 102.1 kB / 0.6545 GB, free: 9.219 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.9515, allocations: 12.69 kB / 0.6545 GB, free: 9.219 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005479/0.952, allocations: 259 kB / 0.6547 GB, free: 9.105 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.032e-05/0.9521, allocations: 30.34 kB / 0.6548 GB, free: 9.078 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.9522, allocations: 77.83 kB / 0.6548 GB, free: 9.031 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004692/0.9527, allocations: 233.1 kB / 0.655 GB, free: 8.891 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.527e-06/0.9527, allocations: 3.984 kB / 0.6551 GB, free: 8.887 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.9527, allocations: 0 / 0.6551 GB, free: 8.887 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.9527, allocations: 0 / 0.6551 GB, free: 8.887 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.000963/0.9537, allocations: 473.6 kB / 0.6555 GB, free: 8.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.287e-05/0.9538, allocations: 10.91 kB / 0.6555 GB, free: 8.43 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.631e-05/0.9539, allocations: 26.62 kB / 0.6555 GB, free: 8.414 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.9542, allocations: 227.9 kB / 0.6558 GB, free: 8.168 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.9542, allocations: 9.922 kB / 0.6558 GB, free: 8.164 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.9542, allocations: 12.38 kB / 0.6558 GB, free: 8.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.9545, allocations: 153.5 kB / 0.6559 GB, free: 8.039 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.9545, allocations: 0 / 0.6559 GB, free: 8.039 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.9546, allocations: 4 kB / 0.6559 GB, free: 8.035 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.9546, allocations: 9.344 kB / 0.6559 GB, free: 8.031 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.9547, allocations: 76 kB / 0.656 GB, free: 7.992 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000931/0.9557, allocations: 0.7093 MB / 0.6567 GB, free: 7.305 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.9558, allocations: 84.42 kB / 0.6568 GB, free: 7.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.184e-05/0.9559, allocations: 37.27 kB / 0.6568 GB, free: 7.203 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/0.9561, allocations: 157.5 kB / 0.657 GB, free: 7.016 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.9561, allocations: 48.3 kB / 0.657 GB, free: 6.961 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.9561, allocations: 0 / 0.657 GB, free: 6.961 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007199/0.9569, allocations: 316.7 kB / 0.6573 GB, free: 6.668 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.9569, allocations: 82.88 kB / 0.6574 GB, free: 6.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.9572, allocations: 222.4 kB / 0.6576 GB, free: 6.402 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.9572, allocations: 27.61 kB / 0.6576 GB, free: 6.371 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.536e-05/0.9573, allocations: 123.3 kB / 0.6578 GB, free: 6.254 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.9573, allocations: 27.17 kB / 0.6578 GB, free: 6.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.9574, allocations: 19.12 kB / 0.6578 GB, free: 6.211 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.9575, allocations: 336.1 kB / 0.6581 GB, free: 5.879 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.114e-05/0.9576, allocations: 16.97 kB / 0.6581 GB, free: 5.871 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-05/0.9576, allocations: 50.52 kB / 0.6582 GB, free: 5.824 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.9578, allocations: 80.34 kB / 0.6583 GB, free: 5.758 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9578, allocations: 0 / 0.6583 GB, free: 5.758 MB / 478.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002457/0.958, allocations: 148.3 kB / 0.6584 GB, free: 5.652 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.9581, allocations: 15.5 kB / 0.6584 GB, free: 5.645 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.9581, allocations: 0 / 0.6584 GB, free: 5.645 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002081/0.9583, allocations: 35.02 kB / 0.6584 GB, free: 5.621 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.047e-05/0.9584, allocations: 15.92 kB / 0.6585 GB, free: 5.613 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.9604, allocations: 2.755 MB / 0.6612 GB, free: 2.734 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.877e-05/0.9604, allocations: 10.38 kB / 0.6612 GB, free: 2.727 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.9605, allocations: 8.906 kB / 0.6612 GB, free: 2.723 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.0001257/0.9606, allocations: 126.8 kB / 0.6613 GB, free: 2.594 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.9607, allocations: 21.84 kB / 0.6613 GB, free: 2.582 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/0.961, allocations: 151.7 kB / 0.6615 GB, free: 2.453 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.961, allocations: 1.375 kB / 0.6615 GB, free: 2.453 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.9611, allocations: 2.281 kB / 0.6615 GB, free: 2.453 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.9611, allocations: 3.938 kB / 0.6615 GB, free: 2.449 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.9616, allocations: 0.4979 MB / 0.6619 GB, free: 1.945 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.9617, allocations: 5 kB / 0.662 GB, free: 1.941 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.77e-05/0.9617, allocations: 3.375 kB / 0.662 GB, free: 1.941 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001564/0.9619, allocations: 46.25 kB / 0.662 GB, free: 1.906 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.9619, allocations: 6.219 kB / 0.662 GB, free: 1.902 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/0.9639, allocations: 2.756 MB / 0.6647 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.9639, allocations: 2.281 kB / 0.6647 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.9642, allocations: 332.6 kB / 0.665 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.9643, allocations: 90.48 kB / 0.6651 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.9643, allocations: 6.172 kB / 0.6651 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.9645, allocations: 4 kB / 0.6651 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.9645, allocations: 13.06 kB / 0.6651 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.9645, allocations: 7.797 kB / 0.6651 GB, free: 14.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001495/0.9647, allocations: 169.6 kB / 0.6653 GB, free: 14.47 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9647, allocations: 0 / 0.6653 GB, free: 14.47 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003707/0.965, allocations: 43.05 kB / 0.6653 GB, free: 14.46 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.0002436/0.9653, allocations: 146.2 kB / 0.6655 GB, free: 14.35 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004725/0.9658, allocations: 294.8 kB / 0.6658 GB, free: 14.08 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.9658, allocations: 3.938 kB / 0.6658 GB, free: 14.08 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002445/0.966, allocations: 260.8 kB / 0.666 GB, free: 13.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006/0.9666, allocations: 60.33 kB / 0.6661 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008336/0.9675, allocations: 457.5 kB / 0.6665 GB, free: 13.44 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.9678, allocations: 0.7208 MB / 0.6672 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.25e-05/0.9679, allocations: 25 kB / 0.6672 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.9679, allocations: 15.28 kB / 0.6672 GB, free: 12.7 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.968, allocations: 0 / 0.6672 GB, free: 12.7 MB / 494.1 MB Notification: Performance of Templates: time 0.007326/0.9753, allocations: 3.158 MB / 0.6703 GB, free: 11.11 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