Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.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.DynamicBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries") translateModel(ThermofluidStream.Boundaries.Tests.DynamicBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006407/0.006407, allocations: 101.5 kB / 15.73 MB, free: 6.48 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.001181/0.001181, allocations: 191.4 kB / 16.67 MB, free: 6.391 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6827/0.6827, allocations: 91.21 MB / 381.7 MB, free: 9.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 79.86 kB / 0.5169 GB, free: 9.012 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.134, allocations: 67.69 MB / 0.583 GB, free: 5.246 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.DynamicBoundaries): time 0.435/0.569, allocations: 185.6 MB / 0.7643 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.04719/0.6163, allocations: 44.87 MB / 0.8081 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003401/0.6197, allocations: 159 kB / 0.8082 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00548/0.6252, allocations: 2.034 MB / 0.8102 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01257/0.6379, allocations: 4.056 MB / 0.8142 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.02018/0.6581, allocations: 7.182 MB / 0.8212 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007011/0.6651, allocations: 4.671 MB / 0.8258 GB, free: 15.27 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001693/0.6668, allocations: 0.9536 MB / 0.8267 GB, free: 14.27 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02237/0.6892, allocations: 11.51 MB / 0.8379 GB, free: 2.59 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002801/0.6921, allocations: 1.773 MB / 0.8397 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0007231/0.6928, allocations: 240 kB / 0.8399 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3674/1.06, allocations: 10.03 MB / 0.8497 GB, free: 26.24 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009413/1.061, allocations: 0.6105 MB / 0.8503 GB, free: 26.24 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002528/1.064, allocations: 1.672 MB / 0.8519 GB, free: 26.24 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.03018/1.094, allocations: 9.404 MB / 0.8611 GB, free: 26 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/1.094, allocations: 0 / 0.8611 GB, free: 26 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.747e-06/1.094, allocations: 0.6562 kB / 0.8611 GB, free: 26 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001909/1.094, allocations: 3.625 kB / 0.8611 GB, free: 26 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 614 * Number of variables: 614 Notification: Performance of Generate backend data structure: time 0.01794/1.112, allocations: 5.023 MB / 0.866 GB, free: 23.95 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.112, allocations: 9.188 kB / 0.866 GB, free: 23.95 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003066/1.115, allocations: 0.638 MB / 0.8666 GB, free: 23.75 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004897/1.12, allocations: 2.239 MB / 0.8688 GB, free: 23.12 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/1.12, allocations: 180 kB / 0.869 GB, free: 23.12 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000389/1.121, allocations: 246.2 kB / 0.8692 GB, free: 23.11 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005884/1.127, allocations: 2.848 MB / 0.872 GB, free: 22.73 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.436e-05/1.127, allocations: 5.484 kB / 0.872 GB, free: 22.73 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001901/1.127, allocations: 105.5 kB / 0.8721 GB, free: 22.73 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-05/1.127, allocations: 60.5 kB / 0.8722 GB, free: 22.73 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005057/1.132, allocations: 2.374 MB / 0.8745 GB, free: 22.72 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01465/1.147, allocations: 13.82 MB / 0.888 GB, free: 14.25 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004892/1.152, allocations: 2.159 MB / 0.8901 GB, free: 14.09 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/1.153, allocations: 1.063 MB / 0.8911 GB, free: 14.03 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09692/1.25, allocations: 47.8 MB / 0.9378 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/1.251, allocations: 70.73 kB / 0.9379 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=208): time 3.686e-06/1.251, allocations: 0 / 0.9379 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of matching and sorting (n=208): time 0.01225/1.263, allocations: 4.384 MB / 0.9422 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/1.263, allocations: 207.8 kB / 0.9424 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003051/1.266, allocations: 2.05 MB / 0.9444 GB, free: 5.641 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003399/1.266, allocations: 59.95 kB / 0.9444 GB, free: 5.602 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000944/1.267, allocations: 1.285 MB / 0.9457 GB, free: 4.969 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007127/1.268, allocations: 0.7016 MB / 0.9464 GB, free: 4.371 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005019/1.269, allocations: 336.3 kB / 0.9467 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/1.269, allocations: 309 kB / 0.947 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/1.27, allocations: 0.6568 MB / 0.9476 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/1.271, allocations: 0.9338 MB / 0.9485 GB, free: 2.715 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002867/1.274, allocations: 1.738 MB / 0.9502 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.912e-06/1.274, allocations: 2.625 kB / 0.9502 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.005127/1.279, allocations: 2.379 MB / 0.9526 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/1.28, allocations: 8.75 kB / 0.9526 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/1.28, allocations: 8 kB / 0.9526 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009361/1.281, allocations: 300.6 kB / 0.9529 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/1.282, allocations: 396.6 kB / 0.9532 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008536/1.291, allocations: 9.619 MB / 0.9626 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002872/1.294, allocations: 193.8 kB / 0.9628 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003153/1.294, allocations: 81.52 kB / 0.9629 GB, free: 5.676 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 24 (dynamicPressureInflow5.outlet.state.phase,dynamicPressureInflow4.outlet.state.phase,dynamicPressureInflow3.outlet.state.phase,dynamicPressureInflow2.outlet.state.phase,dynamicPressureInflow1.outlet.state.phase,dynamicPressureInflow.outlet.state.phase,flowResistance5.outlet.state.phase,dynamicPressureOutflow5.outlet.state.phase,source5.outlet.state.phase,flowResistance4.outlet.state.phase,dynamicPressureOutflow4.outlet.state.phase,source4.outlet.state.phase,flowResistance3.outlet.state.phase,dynamicPressureOutflow3.outlet.state.phase,source3.outlet.state.phase,flowResistance2.outlet.state.phase,dynamicPressureOutflow2.outlet.state.phase,source2.outlet.state.phase,flowResistance1.outlet.state.phase,dynamicPressureOutflow1.outlet.state.phase,source1.outlet.state.phase,flowResistance.outlet.state.phase,dynamicPressureOutflow.outlet.state.phase,source.outlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001516/1.295, allocations: 465.2 kB / 0.9633 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/1.297, allocations: 284.4 kB / 0.9636 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009502/1.306, allocations: 6.461 MB / 0.9699 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.812e-05/1.306, allocations: 83.14 kB / 0.97 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.339e-05/1.306, allocations: 4 kB / 0.97 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.715e-05/1.306, allocations: 15.95 kB / 0.97 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/1.32, allocations: 10.22 MB / 0.98 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/1.321, allocations: 4 kB / 0.98 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/1.322, allocations: 327.8 kB / 0.9803 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009071/1.323, allocations: 315.2 kB / 0.9806 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/1.323, allocations: 60.34 kB / 0.9807 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007613/1.331, allocations: 9.638 MB / 0.9901 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/1.331, allocations: 4 kB / 0.9901 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008396/1.339, allocations: 5.764 MB / 0.9957 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/1.34, allocations: 473.6 kB / 0.9962 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004361/1.341, allocations: 90.12 kB / 0.9962 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/1.342, allocations: 59.97 kB / 0.9963 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003558/1.342, allocations: 175.1 kB / 0.9965 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/1.343, allocations: 75.91 kB / 0.9965 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002217/1.345, allocations: 1.647 MB / 0.9982 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/1.345, allocations: 0 / 0.9982 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.007978/1.353, allocations: 1.775 MB / 0.9999 GB, free: 8.871 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (flowResistance5.inlet.m_flow,flowResistance4.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance1.inlet.m_flow,flowResistance.inlet.m_flow) * Number of discrete variables: 36 ($cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009466/1.362, allocations: 1.81 MB / 1.002 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006606/1.369, allocations: 3.112 MB / 1.005 GB, free: 4.355 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.369, allocations: 0 / 1.005 GB, free: 4.355 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004684/1.374, allocations: 2.496 MB / 1.007 GB, free: 1.824 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006272/1.38, allocations: 0.9461 MB / 1.008 GB, free: 0.9102 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/1.394, allocations: 7.231 MB / 1.015 GB, free: 9.637 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001827/1.395, allocations: 2.115 MB / 1.017 GB, free: 7.492 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0025/1.398, allocations: 0.9582 MB / 1.018 GB, free: 6.551 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005764/1.399, allocations: 223.4 kB / 1.018 GB, free: 6.332 MB / 0.7637 GB Notification: Performance of SimCode: time 7.91e-07/1.399, allocations: 7.938 kB / 1.018 GB, free: 6.324 MB / 0.7637 GB Notification: Performance of Templates: time 0.1292/1.528, allocations: 80.03 MB / 1.096 GB, free: 7.043 MB / 0.8419 GB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.makefile (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.DynamicBoundaries_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches