Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.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.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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.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_OM_adaptions_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_OM_adaptions_ThermofluidStream.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.0008781/0.0008782, allocations: 181 kB / 15.43 MB, free: 6.203 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.216/1.216, allocations: 225.7 MB / 241.9 MB, free: 14.64 MB / 202.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.000799/0.0007991, allocations: 94.42 kB / 293 MB, free: 4.902 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.637/0.637, allocations: 90.97 MB / 435.2 MB, free: 32.9 MB / 346.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002755/0.0002756, allocations: 11.98 kB / 0.5029 GB, free: 4.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2948, allocations: 69.1 MB / 0.5704 GB, free: 34.11 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.1758/0.4706, allocations: 194.8 MB / 0.7607 GB, free: 7.508 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01261/0.4832, allocations: 14.97 MB / 0.7753 GB, free: 7.34 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004957/0.4838, allocations: 11.94 kB / 0.7753 GB, free: 7.328 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008144/0.4846, allocations: 310.3 kB / 0.7756 GB, free: 7.023 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.003168/0.4878, allocations: 1.276 MB / 0.7769 GB, free: 5.75 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002995/0.4908, allocations: 1.168 MB / 0.778 GB, free: 4.582 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003338/0.4941, allocations: 2.499 MB / 0.7804 GB, free: 2.078 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.4944, allocations: 143.5 kB / 0.7806 GB, free: 1.941 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002391/0.4968, allocations: 1.5 MB / 0.782 GB, free: 448 kB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2472/0.744, allocations: 0.5063 MB / 0.7825 GB, free: 30.38 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002116/0.7443, allocations: 27.09 kB / 0.7826 GB, free: 30.38 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003733/0.748, allocations: 1.781 MB / 0.7843 GB, free: 30.38 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.7482, allocations: 113.7 kB / 0.7844 GB, free: 30.38 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003347/0.7485, allocations: 338.8 kB / 0.7847 GB, free: 30.35 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002548/0.7511, allocations: 1.913 MB / 0.7866 GB, free: 30.32 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.7511, allocations: 2.734 kB / 0.7866 GB, free: 30.32 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7511, allocations: 0 / 0.7866 GB, free: 30.32 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.7511, allocations: 3.469 kB / 0.7866 GB, free: 30.32 MB / 0.573 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.002231/0.7533, allocations: 1.221 MB / 0.7878 GB, free: 29.64 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.7534, allocations: 14.59 kB / 0.7878 GB, free: 29.64 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000806/0.7542, allocations: 139.9 kB / 0.7879 GB, free: 29.61 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.7547, allocations: 436 kB / 0.7884 GB, free: 29.34 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.856e-05/0.7547, allocations: 35.03 kB / 0.7884 GB, free: 29.34 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.7549, allocations: 51.94 kB / 0.7884 GB, free: 29.34 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.7559, allocations: 0.6024 MB / 0.789 GB, free: 29.29 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.756, allocations: 1.719 kB / 0.789 GB, free: 29.29 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.787e-05/0.756, allocations: 24.8 kB / 0.7891 GB, free: 29.29 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.756, allocations: 11.78 kB / 0.7891 GB, free: 29.29 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.7572, allocations: 0.4905 MB / 0.7895 GB, free: 29.29 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003005/0.7602, allocations: 2.548 MB / 0.792 GB, free: 27.91 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.7612, allocations: 0.4934 MB / 0.7925 GB, free: 27.86 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005333/0.7617, allocations: 280.3 kB / 0.7928 GB, free: 27.84 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/0.7628, allocations: 1.407 MB / 0.7942 GB, free: 26.71 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007584/0.7636, allocations: 436 kB / 0.7946 GB, free: 26.63 MB / 0.573 GB Notification: Performance of pre-optimization done (n=58): time 2.044e-06/0.7636, allocations: 1.344 kB / 0.7946 GB, free: 26.63 MB / 0.573 GB Notification: Performance of matching and sorting (n=58): time 0.002405/0.766, allocations: 1.116 MB / 0.7957 GB, free: 26.36 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.7661, allocations: 91.3 kB / 0.7958 GB, free: 26.26 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003687/0.7665, allocations: 383.1 kB / 0.7961 GB, free: 26.15 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/0.7665, allocations: 41.7 kB / 0.7962 GB, free: 26.12 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.7666, allocations: 257.2 kB / 0.7964 GB, free: 25.99 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.7668, allocations: 196.8 kB / 0.7966 GB, free: 25.86 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.7668, allocations: 11.38 kB / 0.7966 GB, free: 25.86 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.892e-05/0.7669, allocations: 369.8 kB / 0.797 GB, free: 25.54 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/0.7674, allocations: 224.2 kB / 0.7972 GB, free: 25.54 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/0.768, allocations: 300 kB / 0.7975 GB, free: 25.48 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009732/0.7689, allocations: 0.5784 MB / 0.798 GB, free: 25.36 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7689, allocations: 4 kB / 0.798 GB, free: 25.35 MB / 0.573 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001408/0.7704, allocations: 0.8138 MB / 0.7988 GB, free: 25.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.7704, allocations: 68.5 kB / 0.7989 GB, free: 25.13 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-05/0.7704, allocations: 13.94 kB / 0.7989 GB, free: 25.13 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002747/0.7707, allocations: 80.69 kB / 0.799 GB, free: 25.11 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.7712, allocations: 127.5 kB / 0.7991 GB, free: 25.11 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.7727, allocations: 2.838 MB / 0.8019 GB, free: 22.59 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004613/0.7732, allocations: 77.77 kB / 0.8019 GB, free: 22.56 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.696e-05/0.7733, allocations: 72.19 kB / 0.802 GB, free: 22.56 MB / 0.573 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 ($whenCondition2,$PRE.sawTooth.T_start,sawTooth.T_start,$PRE.sawTooth.count,sawTooth.count,$whenCondition1,$PRE.sawTooth1.T_start,sawTooth1.T_start,$PRE.sawTooth1.count,sawTooth1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 6 * 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.000204/0.7735, allocations: 183.8 kB / 0.8022 GB, free: 22.44 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-05/0.7736, allocations: 59.44 kB / 0.8022 GB, free: 22.41 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002222/0.7758, allocations: 0.9892 MB / 0.8032 GB, free: 22.28 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.7758, allocations: 10.98 kB / 0.8032 GB, free: 22.28 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.7758, allocations: 0 / 0.8032 GB, free: 22.28 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.7758, allocations: 5.062 kB / 0.8032 GB, free: 22.28 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.7781, allocations: 1.645 MB / 0.8048 GB, free: 21.83 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.241e-05/0.7782, allocations: 16.2 kB / 0.8048 GB, free: 21.82 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/0.7786, allocations: 125.2 kB / 0.805 GB, free: 21.82 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002196/0.7788, allocations: 77.22 kB / 0.805 GB, free: 21.81 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-05/0.7789, allocations: 40.03 kB / 0.8051 GB, free: 21.81 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/0.7805, allocations: 2.846 MB / 0.8079 GB, free: 19.28 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7805, allocations: 2.734 kB / 0.8079 GB, free: 19.28 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.7824, allocations: 1.214 MB / 0.809 GB, free: 18.98 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.7826, allocations: 214.3 kB / 0.8092 GB, free: 18.86 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.629e-05/0.7827, allocations: 19 kB / 0.8093 GB, free: 18.85 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/0.7831, allocations: 52.7 kB / 0.8093 GB, free: 18.84 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.7833, allocations: 86.97 kB / 0.8094 GB, free: 18.84 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.411e-05/0.7834, allocations: 72.53 kB / 0.8095 GB, free: 18.84 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002201/0.7837, allocations: 264.4 kB / 0.8097 GB, free: 18.76 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7837, allocations: 2.812 kB / 0.8097 GB, free: 18.76 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001222/0.7849, allocations: 486.7 kB / 0.8102 GB, free: 18.69 MB / 0.573 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 (56): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001257/0.7862, allocations: 0.7489 MB / 0.8109 GB, free: 18.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001514/0.7877, allocations: 1.115 MB / 0.812 GB, free: 17.94 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7877, allocations: 0 / 0.812 GB, free: 17.94 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009097/0.7886, allocations: 0.7494 MB / 0.8127 GB, free: 17.52 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009083/0.7896, allocations: 169.8 kB / 0.8129 GB, free: 17.51 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.7916, allocations: 1.664 MB / 0.8145 GB, free: 16.62 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.7919, allocations: 0.8796 MB / 0.8154 GB, free: 15.92 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008185/0.7927, allocations: 190.8 kB / 0.8156 GB, free: 15.85 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/0.793, allocations: 95.11 kB / 0.8157 GB, free: 15.83 MB / 0.573 GB Notification: Performance of SimCode: time 4.01e-07/0.793, allocations: 0 / 0.8157 GB, free: 15.83 MB / 0.573 GB Notification: Performance of Templates: time 0.02715/0.8202, allocations: 18.45 MB / 0.8337 GB, free: 11.64 MB / 0.573 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.TransportDelay_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches