Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.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.001546/0.001546, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001667/0.001667, allocations: 157 kB / 23.01 MB, free: 4.949 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.36/1.36, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 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.7084/0.7084, allocations: 79.62 MB / 339.4 MB, free: 10.98 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: translateModel(ThermofluidStream.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve") [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.002528/0.002528, allocations: 86.78 kB / 0.4924 GB, free: 25.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1176, allocations: 74.58 MB / 0.5652 GB, free: 5.969 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.0566/0.1742, allocations: 49.08 MB / 0.6131 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02518/0.1993, allocations: 19.74 MB / 0.6324 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.201, allocations: 99.06 kB / 0.6325 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002498/0.2035, allocations: 0.7874 MB / 0.6333 GB, free: 24 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004916/0.2085, allocations: 1.708 MB / 0.6349 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003801/0.2123, allocations: 1.335 MB / 0.6362 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003661/0.2159, allocations: 2.586 MB / 0.6388 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006195/0.2165, allocations: 294.8 kB / 0.6391 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.2187, allocations: 1.12 MB / 0.6401 GB, free: 8.918 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.22, allocations: 0.8741 MB / 0.641 GB, free: 8.039 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002262/0.2202, allocations: 128 kB / 0.6411 GB, free: 7.914 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003157/0.2234, allocations: 1.132 MB / 0.6422 GB, free: 6.781 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003829/0.2238, allocations: 350.3 kB / 0.6426 GB, free: 6.438 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009227/0.2247, allocations: 0.7343 MB / 0.6433 GB, free: 5.699 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005166/0.2299, allocations: 2.657 MB / 0.6459 GB, free: 3.031 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.2299, allocations: 8 kB / 0.6459 GB, free: 3.023 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2299, allocations: 0 / 0.6459 GB, free: 3.023 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.238e-05/0.2299, allocations: 0 / 0.6459 GB, free: 3.023 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.004463/0.2344, allocations: 2.341 MB / 0.6482 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.2344, allocations: 13.47 kB / 0.6482 GB, free: 0.625 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000657/0.2351, allocations: 254.5 kB / 0.6484 GB, free: 384 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/0.2374, allocations: 1.176 MB / 0.6496 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.032e-05/0.2375, allocations: 90.28 kB / 0.6497 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.2377, allocations: 123.9 kB / 0.6498 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/0.2397, allocations: 1.281 MB / 0.651 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.2398, allocations: 4 kB / 0.651 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.914e-05/0.2398, allocations: 47.94 kB / 0.6511 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.2399, allocations: 28 kB / 0.6511 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.2418, allocations: 1.137 MB / 0.6522 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005442/0.2472, allocations: 2.961 MB / 0.6551 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.2487, allocations: 0.8698 MB / 0.656 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007177/0.2494, allocations: 422.7 kB / 0.6564 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003575/0.253, allocations: 1.551 MB / 0.6579 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.2531, allocations: 43.56 kB / 0.6579 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=103): time 2.866e-06/0.2531, allocations: 0 / 0.6579 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103): time 0.003571/0.2566, allocations: 1.45 MB / 0.6593 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.2567, allocations: 64.34 kB / 0.6594 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.2584, allocations: 1.197 MB / 0.6606 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.839e-05/0.2585, allocations: 49.7 kB / 0.6606 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006683/0.2592, allocations: 0.7616 MB / 0.6614 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003481/0.2595, allocations: 372.8 kB / 0.6617 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/0.2598, allocations: 162.7 kB / 0.6619 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.26, allocations: 341.9 kB / 0.6622 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005699/0.2605, allocations: 289.9 kB / 0.6625 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007972/0.2613, allocations: 0.5095 MB / 0.663 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.2627, allocations: 0.7645 MB / 0.6637 GB, free: 336 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.2628, allocations: 4 kB / 0.6637 GB, free: 332 kB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002366/0.2651, allocations: 1.131 MB / 0.6648 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.2651, allocations: 8 kB / 0.6648 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.2651, allocations: 0 / 0.6648 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006446/0.2658, allocations: 174.7 kB / 0.665 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007128/0.2665, allocations: 187.7 kB / 0.6652 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004469/0.271, allocations: 4.404 MB / 0.6695 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008045/0.2718, allocations: 87.33 kB / 0.6696 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.2719, allocations: 43.98 kB / 0.6696 GB, free: 9.965 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,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.000579/0.2725, allocations: 277.7 kB / 0.6699 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003917/0.2729, allocations: 166.9 kB / 0.67 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002997/0.2759, allocations: 1.565 MB / 0.6715 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.2759, allocations: 11.98 kB / 0.6716 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.2759, allocations: 4 kB / 0.6716 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.2759, allocations: 3.984 kB / 0.6716 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0042/0.2801, allocations: 2.194 MB / 0.6737 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2801, allocations: 192 / 0.6737 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005835/0.2807, allocations: 155.8 kB / 0.6739 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005714/0.2813, allocations: 170.6 kB / 0.674 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.058e-05/0.2814, allocations: 31.98 kB / 0.6741 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004267/0.2856, allocations: 4.419 MB / 0.6784 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2856, allocations: 0 / 0.6784 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00304/0.2887, allocations: 1.559 MB / 0.6799 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006218/0.2893, allocations: 254.6 kB / 0.6801 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000229/0.2895, allocations: 27.95 kB / 0.6802 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006176/0.2901, allocations: 27.92 kB / 0.6802 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.2903, allocations: 84.78 kB / 0.6803 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.961e-05/0.2904, allocations: 39.98 kB / 0.6803 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001299/0.2917, allocations: 0.8402 MB / 0.6811 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2917, allocations: 0 / 0.6811 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001618/0.2933, allocations: 0.5495 MB / 0.6817 GB, free: 13.14 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.inlet.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 (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001086/0.2944, allocations: 0.6511 MB / 0.6823 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002239/0.2966, allocations: 1.121 MB / 0.6834 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2966, allocations: 0 / 0.6834 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.2979, allocations: 0.7759 MB / 0.6842 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.3002, allocations: 485.6 kB / 0.6846 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005197/0.3054, allocations: 2.76 MB / 0.6873 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008038/0.3062, allocations: 0.6755 MB / 0.688 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009777/0.3072, allocations: 270.5 kB / 0.6882 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/0.3075, allocations: 124.5 kB / 0.6883 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of SimCode: time 1.172e-06/0.3075, allocations: 0 / 0.6883 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of Templates: time 0.2847/0.5922, allocations: 27.8 MB / 0.7155 GB, free: 116 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.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.324596279999241]