Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 211.3 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.793/0.793, allocations: 100.3 MB / 412.7 MB, free: 3.648 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002469/0.002469, allocations: 89.28 kB / 0.5633 GB, free: 35.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1444, allocations: 74.45 MB / 0.636 GB, free: 7.66 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.5538/0.6981, allocations: 150.3 MB / 0.7827 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006367/0.7045, allocations: 4.674 MB / 0.7873 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009296/0.7054, allocations: 40.16 kB / 0.7873 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009544/0.7064, allocations: 300.8 kB / 0.7876 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.7085, allocations: 0.6747 MB / 0.7883 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.71, allocations: 0.5122 MB / 0.7888 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001352/0.7114, allocations: 0.9968 MB / 0.7897 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.7116, allocations: 116.2 kB / 0.7898 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.7129, allocations: 0.5443 MB / 0.7904 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006309/0.7135, allocations: 475 kB / 0.7908 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.706e-05/0.7136, allocations: 46.31 kB / 0.7909 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.7154, allocations: 0.7849 MB / 0.7916 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.7155, allocations: 118.2 kB / 0.7918 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003056/0.7158, allocations: 316.4 kB / 0.7921 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.7174, allocations: 0.976 MB / 0.793 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.7174, allocations: 3.219 kB / 0.793 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7174, allocations: 0 / 0.793 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.7174, allocations: 1.203 kB / 0.793 GB, free: 14.57 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.001637/0.719, allocations: 0.9132 MB / 0.7939 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.7191, allocations: 11.98 kB / 0.7939 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001379/0.7192, allocations: 85.73 kB / 0.794 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.7194, allocations: 74.25 kB / 0.7941 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008324/0.7202, allocations: 483.3 kB / 0.7945 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.7203, allocations: 31.38 kB / 0.7946 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.305e-05/0.7203, allocations: 43.25 kB / 0.7946 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008077/0.7211, allocations: 0.5144 MB / 0.7951 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.7212, allocations: 0 / 0.7951 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.7212, allocations: 20.25 kB / 0.7951 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.7212, allocations: 13.19 kB / 0.7951 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006685/0.7219, allocations: 498.4 kB / 0.7956 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002663/0.7245, allocations: 2.139 MB / 0.7977 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007911/0.7253, allocations: 340.2 kB / 0.798 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/0.7256, allocations: 178.3 kB / 0.7982 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001859/0.7275, allocations: 0.9318 MB / 0.7991 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.7275, allocations: 37.03 kB / 0.7991 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 1.593e-06/0.7275, allocations: 1.203 kB / 0.7991 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47): time 0.001402/0.7289, allocations: 0.6443 MB / 0.7998 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.7289, allocations: 54.56 kB / 0.7998 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004409/0.7294, allocations: 484.8 kB / 0.8003 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.7294, allocations: 36.52 kB / 0.8003 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.7296, allocations: 272.5 kB / 0.8006 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.7297, allocations: 172 kB / 0.8007 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.7298, allocations: 86.02 kB / 0.8008 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.73, allocations: 366.9 kB / 0.8012 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.7302, allocations: 128.5 kB / 0.8013 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.7305, allocations: 183.6 kB / 0.8015 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/0.731, allocations: 346.7 kB / 0.8018 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.731, allocations: 0 / 0.8018 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007807/0.7318, allocations: 0.5067 MB / 0.8023 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.7318, allocations: 6.344 kB / 0.8023 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7318, allocations: 3.219 kB / 0.8023 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003948/0.7322, allocations: 67.42 kB / 0.8024 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.7325, allocations: 86.12 kB / 0.8025 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.7348, allocations: 2.72 MB / 0.8051 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.7351, allocations: 48.88 kB / 0.8052 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.7351, allocations: 19.45 kB / 0.8052 GB, free: 8.332 MB / 0.5919 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.0003252/0.7354, allocations: 171.3 kB / 0.8053 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.7356, allocations: 66.78 kB / 0.8054 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.7367, allocations: 0.7033 MB / 0.8061 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.7367, allocations: 3.375 kB / 0.8061 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.7367, allocations: 2.094 kB / 0.8061 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/0.7368, allocations: 2.812 kB / 0.8061 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.7385, allocations: 1.161 MB / 0.8072 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.7385, allocations: 3.75 kB / 0.8072 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.7387, allocations: 75.39 kB / 0.8073 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002161/0.7389, allocations: 77.12 kB / 0.8074 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.7389, allocations: 17.75 kB / 0.8074 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002181/0.7411, allocations: 2.724 MB / 0.8101 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7411, allocations: 3.844 kB / 0.8101 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.7423, allocations: 0.7662 MB / 0.8108 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.7424, allocations: 62.8 kB / 0.8109 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.7425, allocations: 15.41 kB / 0.8109 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.7427, allocations: 11.34 kB / 0.8109 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.7428, allocations: 48.7 kB / 0.8109 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.142e-05/0.7429, allocations: 19.25 kB / 0.811 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003549/0.7433, allocations: 361.6 kB / 0.8113 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.7433, allocations: 1.203 kB / 0.8113 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006251/0.7439, allocations: 194.9 kB / 0.8115 GB, free: 4.75 MB / 0.5919 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.001715/0.7456, allocations: 1.482 MB / 0.8129 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008942/0.7465, allocations: 0.5661 MB / 0.8135 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7465, allocations: 0 / 0.8135 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006167/0.7471, allocations: 436.5 kB / 0.8139 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008469/0.748, allocations: 186.2 kB / 0.8141 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006294/0.7543, allocations: 4.763 MB / 0.8187 GB, free: 280 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.7547, allocations: 0.8725 MB / 0.8196 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004014/0.7551, allocations: 123.1 kB / 0.8197 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.7554, allocations: 240.2 kB / 0.8199 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of SimCode: time 8.32e-07/0.7554, allocations: 0 / 0.8199 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08037/0.8358, allocations: 17.04 MB / 0.8366 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.71, allocations: 6.5 kB / 0.8366 GB, free: 6.691 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.csv --start-time 0 --stop-time 10 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.431712138997682]