Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.5967/0.5967, allocations: 90.3 MB / 394.8 MB, free: 3.949 MB / 318.1 MB " [Timeout remaining time 179] 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.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") translateModel(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002477/0.002477, allocations: 91.86 kB / 0.5387 GB, free: 1.629 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3989, allocations: 70.82 MB / 0.6078 GB, free: 7.418 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.1883/0.5872, allocations: 150.1 MB / 0.7544 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006559/0.5938, allocations: 4.607 MB / 0.7589 GB, free: 152 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005925/0.5943, allocations: 7.938 kB / 0.7589 GB, free: 144 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.5955, allocations: 286.2 kB / 0.7592 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00201/0.5975, allocations: 0.6331 MB / 0.7598 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.5989, allocations: 0.4982 MB / 0.7603 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001233/0.6002, allocations: 0.8943 MB / 0.7611 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002599/0.6004, allocations: 98.19 kB / 0.7612 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.6014, allocations: 474.1 kB / 0.7617 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006151/0.6021, allocations: 454.3 kB / 0.7621 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.772e-05/0.6021, allocations: 44 kB / 0.7622 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.6038, allocations: 0.7758 MB / 0.7629 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.6039, allocations: 119.5 kB / 0.763 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002953/0.6042, allocations: 282.6 kB / 0.7633 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.6057, allocations: 0.8585 MB / 0.7641 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.6057, allocations: 0 / 0.7641 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.999e-06/0.6057, allocations: 3.984 kB / 0.7641 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.6057, allocations: 0 / 0.7641 GB, free: 10.73 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001514/0.6072, allocations: 0.8796 MB / 0.765 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.6072, allocations: 12.02 kB / 0.765 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.6074, allocations: 64.56 kB / 0.7651 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005494/0.6079, allocations: 368.1 kB / 0.7654 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.636e-05/0.608, allocations: 37.38 kB / 0.7655 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.184e-05/0.608, allocations: 48.27 kB / 0.7655 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009436/0.609, allocations: 0.5086 MB / 0.766 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.609, allocations: 0 / 0.766 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.33e-05/0.609, allocations: 20 kB / 0.766 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.6091, allocations: 11.94 kB / 0.766 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008135/0.6099, allocations: 483.7 kB / 0.7665 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002968/0.6128, allocations: 2.14 MB / 0.7686 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008427/0.6137, allocations: 340.4 kB / 0.7689 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.614, allocations: 178.1 kB / 0.7691 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002901/0.6169, allocations: 2.002 MB / 0.771 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.617, allocations: 35 kB / 0.7711 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 2.535e-06/0.617, allocations: 0 / 0.7711 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47): time 0.001764/0.6187, allocations: 0.7798 MB / 0.7718 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.6188, allocations: 59.84 kB / 0.7719 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004751/0.6192, allocations: 381.6 kB / 0.7722 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.6193, allocations: 29.7 kB / 0.7723 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.6195, allocations: 221 kB / 0.7725 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.6196, allocations: 178.5 kB / 0.7727 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.6198, allocations: 82.12 kB / 0.7727 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002328/0.62, allocations: 354.8 kB / 0.7731 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.6203, allocations: 128.8 kB / 0.7732 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.6206, allocations: 181 kB / 0.7734 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006365/0.6212, allocations: 348.9 kB / 0.7737 GB, free: 220 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.6212, allocations: 0 / 0.7737 GB, free: 220 kB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001039/0.6223, allocations: 0.4895 MB / 0.7742 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.6223, allocations: 8 kB / 0.7742 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.6223, allocations: 0 / 0.7742 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003502/0.6227, allocations: 61.61 kB / 0.7742 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.623, allocations: 99.95 kB / 0.7743 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002797/0.6258, allocations: 2.915 MB / 0.7772 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.6261, allocations: 47.81 kB / 0.7772 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/0.6262, allocations: 20 kB / 0.7772 GB, free: 12.27 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (49): * Single equations (assignments): 47 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002944/0.6265, allocations: 172.6 kB / 0.7774 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.6266, allocations: 47.67 kB / 0.7775 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.628, allocations: 0.7024 MB / 0.7781 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.628, allocations: 4 kB / 0.7781 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.628, allocations: 8 kB / 0.7782 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.628, allocations: 3.984 kB / 0.7782 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.63, allocations: 1.156 MB / 0.7793 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.63, allocations: 0 / 0.7793 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/0.6303, allocations: 75.91 kB / 0.7794 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002467/0.6305, allocations: 73.72 kB / 0.7794 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-05/0.6306, allocations: 15.98 kB / 0.7794 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002642/0.6332, allocations: 2.919 MB / 0.7823 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.6332, allocations: 4.031 kB / 0.7823 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.6346, allocations: 0.7535 MB / 0.783 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.6348, allocations: 132.7 kB / 0.7832 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/0.6349, allocations: 11.95 kB / 0.7832 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.6351, allocations: 12 kB / 0.7832 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.6352, allocations: 43.94 kB / 0.7832 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.856e-05/0.6352, allocations: 16 kB / 0.7832 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003864/0.6356, allocations: 295.1 kB / 0.7835 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6356, allocations: 0 / 0.7835 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007191/0.6363, allocations: 195.6 kB / 0.7837 GB, free: 5.211 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance.rear.m_flow,flowResistance1.rear.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 (43): * Single equations (assignments): 41 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000453/0.6368, allocations: 274 kB / 0.784 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.6379, allocations: 0.5769 MB / 0.7845 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6379, allocations: 0 / 0.7845 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006723/0.6386, allocations: 421.1 kB / 0.7849 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.6398, allocations: 182.5 kB / 0.7851 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.6419, allocations: 1.02 MB / 0.7861 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.6424, allocations: 0.8356 MB / 0.7869 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003739/0.6428, allocations: 106 kB / 0.787 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.6429, allocations: 55.42 kB / 0.7871 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of SimCode: time 1.302e-06/0.6429, allocations: 4 kB / 0.7871 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of Templates: time 0.01983/0.6628, allocations: 10.52 MB / 0.7974 GB, free: 7.25 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.052897764369845]