Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.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.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 108 kB / 15.61 MB, free: 152 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.001887/0.001887, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6504/0.6504, allocations: 91.2 MB / 381.6 MB, free: 9.418 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 81.5 kB / 460.3 MB, free: 23.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1297, allocations: 67.69 MB / 0.5156 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.4648/0.5946, allocations: 189.2 MB / 0.7004 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00814/0.6028, allocations: 7.326 MB / 0.7075 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000647/0.6035, allocations: 27.81 kB / 0.7076 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009624/0.6045, allocations: 381.5 kB / 0.7079 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003308/0.6078, allocations: 1.28 MB / 0.7092 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.6096, allocations: 0.6695 MB / 0.7098 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003512/0.6131, allocations: 2.36 MB / 0.7121 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003604/0.6135, allocations: 207.6 kB / 0.7123 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002619/0.6161, allocations: 1.594 MB / 0.7139 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007055/0.6168, allocations: 0.5797 MB / 0.7144 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.66e-05/0.6169, allocations: 56 kB / 0.7145 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00245/0.6194, allocations: 1.111 MB / 0.7156 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.6196, allocations: 155.3 kB / 0.7157 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003784/0.62, allocations: 393.8 kB / 0.7161 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.6221, allocations: 1.449 MB / 0.7175 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6222, allocations: 0 / 0.7175 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6222, allocations: 0 / 0.7175 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.6222, allocations: 4 kB / 0.7175 GB, free: 0.7656 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.002655/0.6248, allocations: 1.357 MB / 0.7189 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.6249, allocations: 8.031 kB / 0.7189 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009639/0.6259, allocations: 158.8 kB / 0.719 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008577/0.6267, allocations: 0.6 MB / 0.7196 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.6268, allocations: 33 kB / 0.7196 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.6269, allocations: 55.91 kB / 0.7197 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.628, allocations: 0.5896 MB / 0.7203 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.628, allocations: 0 / 0.7203 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.55e-05/0.6281, allocations: 24 kB / 0.7203 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.6281, allocations: 12 kB / 0.7203 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.6293, allocations: 468.1 kB / 0.7207 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003476/0.6328, allocations: 2.677 MB / 0.7234 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.6339, allocations: 476.4 kB / 0.7238 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005826/0.6345, allocations: 237.6 kB / 0.724 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002654/0.6347, allocations: 263.3 kB / 0.7243 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007815/0.6355, allocations: 399.2 kB / 0.7247 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=54): time 3.416e-06/0.6356, allocations: 4 kB / 0.7247 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=54): time 0.002626/0.6382, allocations: 1.037 MB / 0.7257 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.6383, allocations: 85.11 kB / 0.7258 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006943/0.639, allocations: 0.5747 MB / 0.7263 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.495e-05/0.6391, allocations: 37.7 kB / 0.7264 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.6393, allocations: 340.9 kB / 0.7267 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.6395, allocations: 181.3 kB / 0.7269 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.6397, allocations: 134.2 kB / 0.727 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.6399, allocations: 378.8 kB / 0.7274 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005585/0.6404, allocations: 197 kB / 0.7275 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005763/0.641, allocations: 262.6 kB / 0.7278 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.6422, allocations: 0.5119 MB / 0.7283 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6422, allocations: 0 / 0.7283 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001725/0.6439, allocations: 0.7671 MB / 0.729 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.96e-05/0.644, allocations: 67.39 kB / 0.7291 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.33e-05/0.644, allocations: 19.92 kB / 0.7291 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003562/0.6444, allocations: 85.77 kB / 0.7292 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/0.6449, allocations: 123.8 kB / 0.7293 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.6473, allocations: 3.058 MB / 0.7323 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005382/0.6478, allocations: 63.53 kB / 0.7324 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.648, allocations: 67.97 kB / 0.7324 GB, free: 0.5547 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 (sawTooth.count,$PRE.sawTooth.count,sawTooth.T_start,$PRE.sawTooth.T_start,$whenCondition2,sawTooth1.count,$PRE.sawTooth1.count,sawTooth1.T_start,$PRE.sawTooth1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * 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.0003115/0.6483, allocations: 189.7 kB / 0.7326 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.6484, allocations: 83 kB / 0.7327 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002995/0.6514, allocations: 1.303 MB / 0.734 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.6514, allocations: 11.98 kB / 0.734 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6515, allocations: 3.125 kB / 0.734 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.6515, allocations: 0 / 0.734 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/0.6542, allocations: 1.583 MB / 0.7355 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.582e-05/0.6542, allocations: 11.98 kB / 0.7355 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004893/0.6547, allocations: 119.9 kB / 0.7357 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002738/0.655, allocations: 85.55 kB / 0.7357 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.8e-05/0.6551, allocations: 35.97 kB / 0.7358 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002249/0.6574, allocations: 3.052 MB / 0.7387 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6574, allocations: 4.031 kB / 0.7388 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.6596, allocations: 1.128 MB / 0.7399 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.6599, allocations: 220 kB / 0.7401 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.6601, allocations: 17.12 kB / 0.7401 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004979/0.6606, allocations: 31.97 kB / 0.7401 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.6608, allocations: 83.89 kB / 0.7402 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.139e-05/0.6609, allocations: 63.97 kB / 0.7403 GB, free: 8.117 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004526/0.6613, allocations: 411.1 kB / 0.7406 GB, free: 7.723 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6613, allocations: 0 / 0.7406 GB, free: 7.723 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009187/0.6623, allocations: 299.6 kB / 0.7409 GB, free: 7.43 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (transportDelay1.x,flowResistance1.inlet.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,sawTooth1.T_start,sawTooth1.count,$whenCondition2,sawTooth.T_start,sawTooth.count) * Number of discrete states: 2 (sawTooth.count,sawTooth1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0007807/0.663, allocations: 435 kB / 0.7413 GB, free: 7.004 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001875/0.6649, allocations: 0.9944 MB / 0.7423 GB, free: 5.934 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.665, allocations: 256 / 0.7423 GB, free: 5.934 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.666, allocations: 0.6726 MB / 0.743 GB, free: 5.211 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.6671, allocations: 217.3 kB / 0.7432 GB, free: 5.004 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.67, allocations: 1.549 MB / 0.7447 GB, free: 3.414 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.6704, allocations: 0.9191 MB / 0.7456 GB, free: 2.469 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001374/0.6718, allocations: 0.6833 MB / 0.7463 GB, free: 1.781 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004288/0.6723, allocations: 135.3 kB / 0.7464 GB, free: 1.648 MB / 0.545 GB Notification: Performance of SimCode: time 6.22e-07/0.6723, allocations: 0 / 0.7464 GB, free: 1.648 MB / 0.545 GB Notification: Performance of Templates: time 0.02504/0.6973, allocations: 15.42 MB / 0.7614 GB, free: 2.348 MB / 0.5606 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.TransportDelay_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches