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.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.001493/0.001493, 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.001257/0.001257, allocations: 169.9 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 1.315/1.315, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.898/0.898, allocations: 80.17 MB / 339.4 MB, free: 7.543 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/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_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.116e-06/3.116e-06, allocations: 0 / 0.4924 GB, free: 6.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.173e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.1974/0.1974, allocations: 129.6 MB / 0.6189 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006646/0.2041, allocations: 4.297 MB / 0.6231 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.2053, allocations: 47.56 kB / 0.6231 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.2064, allocations: 278 kB / 0.6234 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002854/0.2092, allocations: 0.7372 MB / 0.6241 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.2113, allocations: 0.5253 MB / 0.6246 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001848/0.2131, allocations: 1.105 MB / 0.6257 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004142/0.2135, allocations: 94.61 kB / 0.6258 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002155/0.2157, allocations: 0.7164 MB / 0.6265 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007947/0.2165, allocations: 434.8 kB / 0.6269 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.2166, allocations: 44 kB / 0.627 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.2187, allocations: 0.6587 MB / 0.6276 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.2189, allocations: 119.4 kB / 0.6277 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003487/0.2192, allocations: 227.4 kB / 0.6279 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002216/0.2214, allocations: 0.9773 MB / 0.6289 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.286e-05/0.2215, allocations: 4 kB / 0.6289 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.487e-06/0.2215, allocations: 0 / 0.6289 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.454e-05/0.2215, allocations: 0 / 0.6289 GB, free: 12.16 MB / 0.5417 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.002333/0.2238, allocations: 0.9052 MB / 0.6298 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.2239, allocations: 14 kB / 0.6298 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.807e-05/0.224, allocations: 86.7 kB / 0.6299 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00048/0.2245, allocations: 100.4 kB / 0.63 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.2257, allocations: 489.4 kB / 0.6304 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/0.2258, allocations: 37.38 kB / 0.6305 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.358e-05/0.2258, allocations: 44.33 kB / 0.6305 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007689/0.2266, allocations: 0.5129 MB / 0.631 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.2266, allocations: 192 / 0.631 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.2267, allocations: 23.94 kB / 0.631 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.2267, allocations: 12 kB / 0.631 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006507/0.2273, allocations: 491.7 kB / 0.6315 GB, free: 9.379 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002858/0.2302, allocations: 1.537 MB / 0.633 GB, free: 7.785 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009264/0.2311, allocations: 344.4 kB / 0.6333 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.2314, allocations: 179.5 kB / 0.6335 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001649/0.233, allocations: 0.8379 MB / 0.6343 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.196e-05/0.2331, allocations: 39.06 kB / 0.6344 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 3.637e-06/0.2331, allocations: 0 / 0.6344 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of matching and sorting (n=47): time 0.00156/0.2347, allocations: 0.6466 MB / 0.635 GB, free: 5.703 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/0.2347, allocations: 59.84 kB / 0.6351 GB, free: 5.633 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006086/0.2353, allocations: 483.1 kB / 0.6355 GB, free: 5.148 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.78e-05/0.2354, allocations: 37.7 kB / 0.6356 GB, free: 5.105 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/0.2356, allocations: 284.8 kB / 0.6358 GB, free: 4.824 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.2358, allocations: 166.5 kB / 0.636 GB, free: 4.66 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.2359, allocations: 82.19 kB / 0.6361 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.236, allocations: 370.7 kB / 0.6364 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.2363, allocations: 133 kB / 0.6365 GB, free: 4.07 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.2365, allocations: 181.7 kB / 0.6367 GB, free: 3.879 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005068/0.237, allocations: 342.2 kB / 0.637 GB, free: 3.531 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.237, allocations: 0 / 0.637 GB, free: 3.531 MB / 0.5417 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008453/0.2379, allocations: 0.5026 MB / 0.6375 GB, free: 3.016 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.2379, allocations: 10.28 kB / 0.6375 GB, free: 3.008 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.2379, allocations: 0 / 0.6375 GB, free: 3.008 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002959/0.2382, allocations: 61.67 kB / 0.6376 GB, free: 2.941 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.2385, allocations: 87.89 kB / 0.6377 GB, free: 2.855 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5009/0.7394, allocations: 2.714 MB / 0.6403 GB, free: 148.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006824/0.74, allocations: 42.25 kB / 0.6404 GB, free: 148.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.889e-05/0.7401, allocations: 21.3 kB / 0.6404 GB, free: 148.4 MB / 0.5417 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.0005602/0.7407, allocations: 170.7 kB / 0.6406 GB, free: 148.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.7408, allocations: 65.64 kB / 0.6406 GB, free: 148.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/0.7426, allocations: 0.6884 MB / 0.6413 GB, free: 148.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.7426, allocations: 5.578 kB / 0.6413 GB, free: 148.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.7426, allocations: 1.125 kB / 0.6413 GB, free: 148.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.7427, allocations: 2.75 kB / 0.6413 GB, free: 148.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002674/0.7453, allocations: 1.042 MB / 0.6423 GB, free: 147.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.7453, allocations: 1.562 kB / 0.6423 GB, free: 147.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.7456, allocations: 72.05 kB / 0.6424 GB, free: 147.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003148/0.7459, allocations: 67.12 kB / 0.6425 GB, free: 147.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.7459, allocations: 14.84 kB / 0.6425 GB, free: 147.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/0.7481, allocations: 2.704 MB / 0.6451 GB, free: 145 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/0.7481, allocations: 6.125 kB / 0.6451 GB, free: 145 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.7498, allocations: 0.7319 MB / 0.6458 GB, free: 144.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.75, allocations: 64.34 kB / 0.6459 GB, free: 144.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.75, allocations: 19.53 kB / 0.6459 GB, free: 144.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.7502, allocations: 9.297 kB / 0.6459 GB, free: 144.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.7504, allocations: 33.98 kB / 0.646 GB, free: 144.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.7504, allocations: 17.45 kB / 0.646 GB, free: 144.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007586/0.7512, allocations: 368.7 kB / 0.6463 GB, free: 144.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4e-08/0.7512, allocations: 3.938 kB / 0.6463 GB, free: 144.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001319/0.7525, allocations: 195.3 kB / 0.6465 GB, free: 144.4 MB / 0.5417 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.002428/0.7549, allocations: 1.433 MB / 0.6479 GB, free: 143.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001375/0.7563, allocations: 0.5474 MB / 0.6484 GB, free: 143.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.7563, allocations: 2.094 kB / 0.6484 GB, free: 143.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007052/0.757, allocations: 427.5 kB / 0.6489 GB, free: 142.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.7584, allocations: 284.5 kB / 0.6491 GB, free: 142.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.7688, allocations: 4.765 MB / 0.6538 GB, free: 140.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.7691, allocations: 264.9 kB / 0.654 GB, free: 140 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007676/0.7698, allocations: 120.4 kB / 0.6541 GB, free: 140 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.77, allocations: 230 kB / 0.6544 GB, free: 139.8 MB / 0.5417 GB Notification: Performance of SimCode: time 5.871e-06/0.77, allocations: 1.188 kB / 0.6544 GB, free: 139.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05625/0.8263, allocations: 19.86 MB / 0.6738 GB, free: 124.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.99, allocations: 7 kB / 0.6738 GB, free: 124.9 MB / 0.5417 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ThermofluidStream_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_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance.fmu > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_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_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_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.csv. Warning: Get data of variable Time from file ThermofluidStream_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: 16.017623223364353]