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.0008306/0.0008306, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001508/0.001508, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9475/0.9475, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.797/0.797, allocations: 116 MB / 375.2 MB, free: 4.164 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.5532 GB, free: 13.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.242e-05, allocations: 6.219 kB / 0.5533 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.6368/0.6368, allocations: 129.6 MB / 0.6798 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007371/0.6442, allocations: 4.302 MB / 0.684 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009548/0.6451, allocations: 40.12 kB / 0.684 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.6462, allocations: 285.9 kB / 0.6843 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002381/0.6486, allocations: 0.739 MB / 0.685 GB, free: 6.102 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.6503, allocations: 0.5277 MB / 0.6855 GB, free: 6.051 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001551/0.6519, allocations: 1.101 MB / 0.6866 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003657/0.6522, allocations: 97.05 kB / 0.6867 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.654, allocations: 0.7141 MB / 0.6874 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007736/0.6548, allocations: 432.2 kB / 0.6878 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.673e-05/0.6549, allocations: 43.53 kB / 0.6878 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.6567, allocations: 0.6566 MB / 0.6885 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.6569, allocations: 121.1 kB / 0.6886 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003563/0.6573, allocations: 224.6 kB / 0.6888 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.6587, allocations: 0.9826 MB / 0.6898 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.6588, allocations: 0 / 0.6898 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.316e-06/0.6588, allocations: 0 / 0.6898 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.6588, allocations: 1.344 kB / 0.6898 GB, free: 5.375 MB / 0.5573 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.001768/0.6605, allocations: 0.9223 MB / 0.6907 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 9.726e-05/0.6606, allocations: 9.562 kB / 0.6907 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.6608, allocations: 85.38 kB / 0.6908 GB, free: 4.781 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003086/0.6611, allocations: 99.88 kB / 0.6909 GB, free: 4.742 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008752/0.6619, allocations: 485 kB / 0.6913 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.651e-05/0.662, allocations: 31.38 kB / 0.6914 GB, free: 4.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.6622, allocations: 46.12 kB / 0.6914 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008167/0.663, allocations: 0.5109 MB / 0.6919 GB, free: 4.41 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.663, allocations: 1.531 kB / 0.6919 GB, free: 4.41 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-05/0.6631, allocations: 24.56 kB / 0.6919 GB, free: 4.402 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.784e-05/0.6631, allocations: 10.94 kB / 0.6919 GB, free: 4.402 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008974/0.664, allocations: 492.9 kB / 0.6924 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/0.6665, allocations: 1.546 MB / 0.6939 GB, free: 3.719 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008739/0.6674, allocations: 327.4 kB / 0.6942 GB, free: 3.688 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.6677, allocations: 180.7 kB / 0.6944 GB, free: 3.68 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00154/0.6692, allocations: 0.8576 MB / 0.6952 GB, free: 3.34 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.6693, allocations: 33.69 kB / 0.6953 GB, free: 3.301 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=47): time 2.335e-06/0.6693, allocations: 0 / 0.6953 GB, free: 3.301 MB / 0.5573 GB Notification: Performance of matching and sorting (n=47): time 0.00157/0.6708, allocations: 0.6415 MB / 0.6959 GB, free: 3.035 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.6709, allocations: 65.34 kB / 0.696 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006389/0.6715, allocations: 486.8 kB / 0.6964 GB, free: 2.742 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.6715, allocations: 35.08 kB / 0.6964 GB, free: 2.703 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.6717, allocations: 274.3 kB / 0.6967 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.859e-05/0.6718, allocations: 167.7 kB / 0.6969 GB, free: 2.348 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.6719, allocations: 80.41 kB / 0.6969 GB, free: 2.301 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.6721, allocations: 372.3 kB / 0.6973 GB, free: 1.961 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.6723, allocations: 129.9 kB / 0.6974 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.6727, allocations: 182.9 kB / 0.6976 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/0.6732, allocations: 345.9 kB / 0.6979 GB, free: 1.633 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.6732, allocations: 0 / 0.6979 GB, free: 1.633 MB / 0.5573 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007248/0.6739, allocations: 0.4995 MB / 0.6984 GB, free: 1.395 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.6739, allocations: 7.594 kB / 0.6984 GB, free: 1.395 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.6739, allocations: 0 / 0.6984 GB, free: 1.395 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004763/0.6744, allocations: 62.8 kB / 0.6985 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.6746, allocations: 89.38 kB / 0.6986 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/0.6772, allocations: 2.708 MB / 0.7012 GB, free: 14.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.6773, allocations: 40.97 kB / 0.7013 GB, free: 14.68 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.6774, allocations: 17.41 kB / 0.7013 GB, free: 14.67 MB / 0.573 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.0002162/0.6776, allocations: 184.6 kB / 0.7014 GB, free: 14.51 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.573e-05/0.6777, allocations: 64.83 kB / 0.7015 GB, free: 14.47 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.6789, allocations: 0.6766 MB / 0.7022 GB, free: 14.14 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.6789, allocations: 5.031 kB / 0.7022 GB, free: 14.14 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.6789, allocations: 0 / 0.7022 GB, free: 14.14 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.6789, allocations: 6.672 kB / 0.7022 GB, free: 14.14 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.6804, allocations: 1.043 MB / 0.7032 GB, free: 13.52 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.6804, allocations: 2.438 kB / 0.7032 GB, free: 13.52 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.6807, allocations: 65.31 kB / 0.7033 GB, free: 13.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002267/0.6809, allocations: 74.97 kB / 0.7033 GB, free: 13.48 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.345e-05/0.6809, allocations: 11.27 kB / 0.7033 GB, free: 13.47 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/0.683, allocations: 2.703 MB / 0.706 GB, free: 10.83 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.683, allocations: 0 / 0.706 GB, free: 10.83 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009519/0.6839, allocations: 0.7436 MB / 0.7067 GB, free: 10.39 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.6841, allocations: 107 kB / 0.7068 GB, free: 10.33 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.6842, allocations: 18.33 kB / 0.7068 GB, free: 10.32 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.6843, allocations: 13.44 kB / 0.7068 GB, free: 10.31 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.6844, allocations: 40.55 kB / 0.7069 GB, free: 10.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.6844, allocations: 16.98 kB / 0.7069 GB, free: 10.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000384/0.6848, allocations: 368.4 kB / 0.7073 GB, free: 10.13 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.6848, allocations: 4.062 kB / 0.7073 GB, free: 10.12 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007004/0.6855, allocations: 196.8 kB / 0.7074 GB, free: 10.09 MB / 0.573 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 (39): * Single equations (assignments): 37 * 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.001673/0.6872, allocations: 1.422 MB / 0.7088 GB, free: 9.082 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0009082/0.6881, allocations: 0.5621 MB / 0.7094 GB, free: 8.738 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6881, allocations: 3.938 kB / 0.7094 GB, free: 8.734 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003958/0.6885, allocations: 411.8 kB / 0.7098 GB, free: 8.449 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.6895, allocations: 280.7 kB / 0.71 GB, free: 8.348 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008884/0.6984, allocations: 4.764 MB / 0.7147 GB, free: 5.246 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.6988, allocations: 270.3 kB / 0.715 GB, free: 5.074 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006703/0.6994, allocations: 118.7 kB / 0.7151 GB, free: 5.023 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004693/0.6999, allocations: 227 kB / 0.7153 GB, free: 4.844 MB / 0.573 GB Notification: Performance of SimCode: time 6.883e-06/0.6999, allocations: 0 / 0.7153 GB, free: 4.844 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05994/0.7599, allocations: 19.79 MB / 0.7346 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.85/9.61, allocations: 3.094 kB / 0.7346 GB, free: 10.7 MB / 0.5886 GB " [Timeout remaining time 650] (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/jenkins/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] "" Variables in the reference:Time,flowResistance.rear.m_flow,flowResistance1.rear.m_flow Variables in the result:time,flowResistance.rear.m_flow,flowResistance1.rear.m_flow [Calling sys.exit(0), Time elapsed: 12.78914074972272]