Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.4.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.rear.m_flow|transportDelay1.x|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.rear.m_flow|transportDelay1.x|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 174.4 kB / 15.43 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 225.7 MB / 241.9 MB, free: 412 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007583/0.0007583, allocations: 96.34 kB / 293.1 MB, free: 12.93 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo): time 0.6718/0.6718, allocations: 91.64 MB / 435.8 MB, free: 23.59 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002798/0.0002799, allocations: 8 kB / 0.5038 GB, free: 8.312 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3012, allocations: 69.29 MB / 0.5715 GB, free: 45.6 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.1916/0.4929, allocations: 198.9 MB / 0.7657 GB, free: 480 kB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.2843/0.7773, allocations: 12.37 MB / 0.7778 GB, free: 16.92 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.7783, allocations: 14.16 kB / 0.7778 GB, free: 16.91 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.7795, allocations: 346.3 kB / 0.7781 GB, free: 16.91 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.004289/0.7838, allocations: 1.42 MB / 0.7795 GB, free: 16.89 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.004104/0.7879, allocations: 1.449 MB / 0.7809 GB, free: 16.83 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.004214/0.7922, allocations: 2.942 MB / 0.7838 GB, free: 16.78 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003889/0.7926, allocations: 191.8 kB / 0.784 GB, free: 16.73 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003072/0.7957, allocations: 1.725 MB / 0.7857 GB, free: 16.67 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.7967, allocations: 0.6558 MB / 0.7863 GB, free: 16.67 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.7968, allocations: 36 kB / 0.7864 GB, free: 16.67 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004664/0.8015, allocations: 2.042 MB / 0.7883 GB, free: 16.63 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.8017, allocations: 143.8 kB / 0.7885 GB, free: 16.63 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.0005017/0.8022, allocations: 428 kB / 0.7889 GB, free: 16.6 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.004069/0.8063, allocations: 2.326 MB / 0.7912 GB, free: 16.46 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8063, allocations: 0 / 0.7912 GB, free: 16.46 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8063, allocations: 0 / 0.7912 GB, free: 16.46 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.8063, allocations: 0 / 0.7912 GB, free: 16.46 MB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003268/0.8096, allocations: 1.496 MB / 0.7926 GB, free: 15.62 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.8096, allocations: 13.27 kB / 0.7926 GB, free: 15.61 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.8107, allocations: 162.8 kB / 0.7928 GB, free: 15.57 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006866/0.8114, allocations: 0.4994 MB / 0.7933 GB, free: 15.29 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.141e-05/0.8115, allocations: 73 kB / 0.7933 GB, free: 15.26 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.8117, allocations: 63.48 kB / 0.7934 GB, free: 15.26 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.8136, allocations: 0.8433 MB / 0.7942 GB, free: 15.18 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.8136, allocations: 0 / 0.7942 GB, free: 15.18 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.773e-05/0.8137, allocations: 23.17 kB / 0.7943 GB, free: 15.18 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.8137, allocations: 18.55 kB / 0.7943 GB, free: 15.18 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/0.8158, allocations: 0.7695 MB / 0.795 GB, free: 15.16 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005018/0.8208, allocations: 3.62 MB / 0.7986 GB, free: 13.11 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/0.823, allocations: 0.8084 MB / 0.7993 GB, free: 13.04 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.824, allocations: 423.6 kB / 0.7998 GB, free: 13.02 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002021/0.826, allocations: 1.675 MB / 0.8014 GB, free: 11.69 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001381/0.8274, allocations: 0.5935 MB / 0.802 GB, free: 11.62 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=76): time 2.855e-06/0.8274, allocations: 0 / 0.802 GB, free: 11.62 MB / 0.5574 GB Notification: Performance of matching and sorting (n=76): time 0.004011/0.8314, allocations: 1.549 MB / 0.8035 GB, free: 11.32 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.8315, allocations: 96.59 kB / 0.8036 GB, free: 11.22 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005899/0.8321, allocations: 462.2 kB / 0.804 GB, free: 11.1 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 7.549e-05/0.8322, allocations: 40.95 kB / 0.8041 GB, free: 11.07 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.8324, allocations: 306.1 kB / 0.8043 GB, free: 10.91 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.8326, allocations: 255.6 kB / 0.8046 GB, free: 10.75 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/0.8327, allocations: 12.47 kB / 0.8046 GB, free: 10.75 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.8328, allocations: 384.3 kB / 0.805 GB, free: 10.44 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009618/0.8338, allocations: 356.3 kB / 0.8053 GB, free: 10.43 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009499/0.8347, allocations: 459.6 kB / 0.8057 GB, free: 10.34 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001933/0.8367, allocations: 0.8626 MB / 0.8066 GB, free: 10.18 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.8367, allocations: 1.531 kB / 0.8066 GB, free: 10.18 MB / 0.5574 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002713/0.8394, allocations: 1.144 MB / 0.8077 GB, free: 9.996 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.591e-05/0.8395, allocations: 63.2 kB / 0.8078 GB, free: 9.934 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.786e-05/0.8395, allocations: 15.75 kB / 0.8078 GB, free: 9.93 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000351/0.8399, allocations: 80.47 kB / 0.8079 GB, free: 9.914 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008236/0.8407, allocations: 202.3 kB / 0.8081 GB, free: 9.91 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/0.8426, allocations: 2.84 MB / 0.8108 GB, free: 7.383 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008573/0.8435, allocations: 127.7 kB / 0.8109 GB, free: 7.344 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/0.8437, allocations: 90.66 kB / 0.811 GB, free: 7.344 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 7 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004028/0.8441, allocations: 204.9 kB / 0.8112 GB, free: 7.219 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.8443, allocations: 67.97 kB / 0.8113 GB, free: 7.184 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003862/0.8481, allocations: 1.402 MB / 0.8127 GB, free: 6.992 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.8481, allocations: 8.625 kB / 0.8127 GB, free: 6.992 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.8482, allocations: 1.688 kB / 0.8127 GB, free: 6.992 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.8482, allocations: 3.234 kB / 0.8127 GB, free: 6.992 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003664/0.8518, allocations: 2.152 MB / 0.8148 GB, free: 6.52 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.462e-05/0.8519, allocations: 7.297 kB / 0.8148 GB, free: 6.52 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007062/0.8526, allocations: 189.8 kB / 0.815 GB, free: 6.516 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002524/0.8529, allocations: 83.17 kB / 0.815 GB, free: 6.5 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.499e-05/0.853, allocations: 47.28 kB / 0.8151 GB, free: 6.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.8545, allocations: 2.844 MB / 0.8179 GB, free: 3.965 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.8545, allocations: 6.438 kB / 0.8179 GB, free: 3.965 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003136/0.8577, allocations: 1.688 MB / 0.8195 GB, free: 3.645 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/0.858, allocations: 257.9 kB / 0.8198 GB, free: 3.504 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.8582, allocations: 22.81 kB / 0.8198 GB, free: 3.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006342/0.8588, allocations: 88.89 kB / 0.8199 GB, free: 3.484 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002712/0.8591, allocations: 125.9 kB / 0.82 GB, free: 3.477 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/0.8592, allocations: 91.03 kB / 0.8201 GB, free: 3.477 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0002956/0.8595, allocations: 314.7 kB / 0.8204 GB, free: 3.391 MB / 0.5574 GB Notification: Performance of sort global known variables: time 8.52e-07/0.8595, allocations: 4 kB / 0.8204 GB, free: 3.387 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.001625/0.8612, allocations: 0.5601 MB / 0.8209 GB, free: 3.316 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (transportDelay1.x,flowResistance1.rear.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,trapezoid1.T_start,trapezoid1.count,$whenCondition2,trapezoid.T_start,trapezoid.count) * Number of discrete states: 2 (trapezoid.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 4 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001596/0.8628, allocations: 0.8249 MB / 0.8217 GB, free: 3.086 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.002543/0.8653, allocations: 1.439 MB / 0.8231 GB, free: 2.488 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.8654, allocations: 0 / 0.8231 GB, free: 2.488 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0014/0.8668, allocations: 0.965 MB / 0.8241 GB, free: 2.023 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.8681, allocations: 218.3 kB / 0.8243 GB, free: 2.004 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/0.8714, allocations: 2.012 MB / 0.8263 GB, free: 0.957 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005111/0.8719, allocations: 0.9361 MB / 0.8272 GB, free: 16.24 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001421/0.8733, allocations: 278.7 kB / 0.8274 GB, free: 16.12 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004728/0.8738, allocations: 130.5 kB / 0.8276 GB, free: 16.1 MB / 0.573 GB Notification: Performance of SimCode: time 9.01e-07/0.8738, allocations: 0 / 0.8276 GB, free: 16.1 MB / 0.573 GB Notification: Performance of Templates: time 0.03442/0.9083, allocations: 22.31 MB / 0.8493 GB, free: 0.8906 MB / 0.573 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TransportDelay_ref.mat","../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches