Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.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.0008879/0.0008879, 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.0008334/0.0008334, 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 0.8861/0.8861, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.6498/0.6498, allocations: 116 MB / 375.2 MB, free: 4.176 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.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5533 GB, free: 13.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.219e-05, allocations: 14.02 kB / 0.5533 GB, free: 13.31 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.4598/0.4598, allocations: 277.5 MB / 0.8243 GB, free: 8.09 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02495/0.4847, allocations: 29.86 MB / 0.8534 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0022/0.4869, allocations: 162.5 kB / 0.8536 GB, free: 9.98 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002968/0.4899, allocations: 1.291 MB / 0.8548 GB, free: 8.68 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007155/0.4971, allocations: 3.713 MB / 0.8585 GB, free: 4.945 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006653/0.5037, allocations: 3.537 MB / 0.8619 GB, free: 1.398 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004672/0.5084, allocations: 4.416 MB / 0.8662 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000932/0.5093, allocations: 0.5026 MB / 0.8667 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005584/0.5149, allocations: 3.265 MB / 0.8699 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001695/0.5166, allocations: 1.195 MB / 0.8711 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0004622/0.5171, allocations: 232 kB / 0.8713 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00837/0.5254, allocations: 6.502 MB / 0.8777 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0007474/0.5262, allocations: 0.595 MB / 0.8782 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001457/0.5276, allocations: 0.9896 MB / 0.8792 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.009943/0.5376, allocations: 5.344 MB / 0.8844 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.5376, allocations: 0 / 0.8844 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5376, allocations: 0 / 0.8844 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001169/0.5377, allocations: 0 / 0.8844 GB, free: 10.24 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.006089/0.5438, allocations: 3.779 MB / 0.8881 GB, free: 6.398 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.5438, allocations: 11.97 kB / 0.8881 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005403/0.5444, allocations: 295.4 kB / 0.8884 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002489/0.5469, allocations: 0.6576 MB / 0.889 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002815/0.5497, allocations: 1.784 MB / 0.8908 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003469/0.55, allocations: 0.6126 MB / 0.8914 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003214/0.5504, allocations: 212 kB / 0.8916 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/0.5536, allocations: 2.316 MB / 0.8938 GB, free: 212 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.5536, allocations: 7.938 kB / 0.8939 GB, free: 204 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.5537, allocations: 88 kB / 0.8939 GB, free: 116 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.089e-05/0.5538, allocations: 75.98 kB / 0.894 GB, free: 36 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003138/0.5569, allocations: 1.971 MB / 0.8959 GB, free: 14.05 MB / 0.7448 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007857/0.5648, allocations: 6.137 MB / 0.9019 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00288/0.5677, allocations: 1.853 MB / 0.9037 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.5689, allocations: 0.9349 MB / 0.9047 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004243/0.5693, allocations: 221.8 kB / 0.9049 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.5693, allocations: 60.5 kB / 0.9049 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=174): time 3.787e-06/0.5693, allocations: 0 / 0.9049 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of matching and sorting (n=176): time 0.01033/0.5797, allocations: 6.178 MB / 0.911 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.5797, allocations: 69.41 kB / 0.911 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.5813, allocations: 1.667 MB / 0.9126 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001855/0.5814, allocations: 53.7 kB / 0.9127 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005538/0.582, allocations: 1.132 MB / 0.9138 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003937/0.5824, allocations: 0.6196 MB / 0.9144 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003322/0.5827, allocations: 327.5 kB / 0.9147 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 6.99e-05/0.5828, allocations: 301.1 kB / 0.915 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009247/0.5837, allocations: 0.6637 MB / 0.9157 GB, free: 9.578 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.585, allocations: 0.8492 MB / 0.9165 GB, free: 8.691 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001967/0.5869, allocations: 1.562 MB / 0.918 GB, free: 7.09 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.5869, allocations: 0 / 0.918 GB, free: 7.09 MB / 0.7605 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.003767/0.5907, allocations: 2.611 MB / 0.9206 GB, free: 4.453 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.5907, allocations: 4 kB / 0.9206 GB, free: 4.449 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.5907, allocations: 4.109 kB / 0.9206 GB, free: 4.445 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.5918, allocations: 0.5398 MB / 0.9211 GB, free: 3.891 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008551/0.5926, allocations: 375.5 kB / 0.9215 GB, free: 3.523 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007928/0.6006, allocations: 9.476 MB / 0.9307 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.6018, allocations: 91.98 kB / 0.9308 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002178/0.602, allocations: 124 kB / 0.9309 GB, free: 9.266 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (173): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,2,100.0%), (2,17,100.0%), (2,2,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007518/0.6027, allocations: 388 kB / 0.9313 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004072/0.6031, allocations: 258.3 kB / 0.9315 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004958/0.6081, allocations: 3.892 MB / 0.9353 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.6081, allocations: 20.38 kB / 0.9354 GB, free: 4.691 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.6081, allocations: 4 kB / 0.9354 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.6081, allocations: 11.95 kB / 0.9354 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2328/0.841, allocations: 4.653 MB / 0.9399 GB, free: 308 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/0.841, allocations: 2.516 kB / 0.9399 GB, free: 308 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.8422, allocations: 351.5 kB / 0.9402 GB, free: 308 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001309/0.8435, allocations: 0.5397 MB / 0.9408 GB, free: 308 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003238/0.8438, allocations: 78.36 kB / 0.9409 GB, free: 308 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006914/0.8507, allocations: 9.422 MB / 0.9501 GB, free: 301.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.8507, allocations: 2.906 kB / 0.9501 GB, free: 301.4 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005107/0.8558, allocations: 3.658 MB / 0.9536 GB, free: 300.1 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009249/0.8567, allocations: 384.5 kB / 0.954 GB, free: 300.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003274/0.8571, allocations: 36.14 kB / 0.954 GB, free: 300 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007697/0.8578, allocations: 87.95 kB / 0.9541 GB, free: 300 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003042/0.8581, allocations: 166.7 kB / 0.9543 GB, free: 300 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/0.8583, allocations: 114.2 kB / 0.9544 GB, free: 300 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00118/0.8595, allocations: 1.115 MB / 0.9555 GB, free: 299.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8595, allocations: 0 / 0.9555 GB, free: 299.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002518/0.862, allocations: 0.9361 MB / 0.9564 GB, free: 299.4 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,flowResistanceB2.inlet.m_flow,flowResistanceB1.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int,mCV2.inlet.m_flow,mCV2.dp_int) * 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 (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,4,100.0%), (1,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008097/0.8701, allocations: 5.183 MB / 0.9614 GB, free: 297.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004051/0.8741, allocations: 2.512 MB / 0.9639 GB, free: 296.4 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.8741, allocations: 1.219 kB / 0.9639 GB, free: 296.4 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002237/0.8764, allocations: 1.716 MB / 0.9656 GB, free: 295.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/0.8791, allocations: 0.8331 MB / 0.9664 GB, free: 295.2 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02321/0.9023, allocations: 17.47 MB / 0.9834 GB, free: 287.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007048/0.903, allocations: 1.074 MB / 0.9845 GB, free: 287.7 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002075/0.9051, allocations: 1.459 MB / 0.9859 GB, free: 286.9 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/0.9061, allocations: 1.234 MB / 0.9871 GB, free: 285.8 MB / 0.7761 GB Notification: Performance of SimCode: time 1.192e-06/0.9061, allocations: 0 / 0.9871 GB, free: 285.8 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07963/0.9858, allocations: 76.2 MB / 1.062 GB, free: 210.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.208/10.19, allocations: 10.55 kB / 1.062 GB, free: 210.5 MB / 0.7761 GB " [Timeout remaining time 650] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.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: 12.817149163223803]