Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001811/0.001811, allocations: 79.34 kB / 19.76 MB, free: 1.875 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.001904/0.001904, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.559/1.559, allocations: 177.2 MB / 203.4 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7466/0.7466, allocations: 74.9 MB / 334.7 MB, free: 15.54 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: 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_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_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.002638/0.002638, allocations: 81.09 kB / 496.4 MB, free: 29.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1183, allocations: 73.04 MB / 0.5561 GB, free: 15.6 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.06074/0.1791, allocations: 49.09 MB / 0.604 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02703/0.2061, allocations: 19.73 MB / 0.6233 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.2078, allocations: 99.06 kB / 0.6234 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002443/0.2102, allocations: 0.7913 MB / 0.6241 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005035/0.2152, allocations: 1.716 MB / 0.6258 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004193/0.2194, allocations: 1.327 MB / 0.6271 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004107/0.2235, allocations: 2.587 MB / 0.6296 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007043/0.2243, allocations: 298.7 kB / 0.6299 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002357/0.2266, allocations: 1.116 MB / 0.631 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.2281, allocations: 0.8702 MB / 0.6319 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003131/0.2284, allocations: 128 kB / 0.632 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003282/0.2317, allocations: 1.143 MB / 0.6331 GB, free: 420 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004908/0.2322, allocations: 342.4 kB / 0.6334 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.2333, allocations: 0.7305 MB / 0.6341 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005446/0.2387, allocations: 2.661 MB / 0.6367 GB, free: 12.67 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2387, allocations: 0 / 0.6367 GB, free: 12.67 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2387, allocations: 0 / 0.6367 GB, free: 12.67 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.242e-05/0.2388, allocations: 0 / 0.6367 GB, free: 12.67 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.004748/0.2435, allocations: 2.349 MB / 0.639 GB, free: 10.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2436, allocations: 8.031 kB / 0.639 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006815/0.2442, allocations: 254.5 kB / 0.6393 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002562/0.2468, allocations: 1.183 MB / 0.6404 GB, free: 8.785 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.647e-05/0.2469, allocations: 90.22 kB / 0.6405 GB, free: 8.695 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.2471, allocations: 123.9 kB / 0.6406 GB, free: 8.574 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/0.2493, allocations: 1.281 MB / 0.6419 GB, free: 7.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.953e-05/0.2494, allocations: 0 / 0.6419 GB, free: 7.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.619e-05/0.2495, allocations: 51.94 kB / 0.6419 GB, free: 7.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/0.2495, allocations: 24 kB / 0.642 GB, free: 7.156 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/0.2515, allocations: 1.145 MB / 0.6431 GB, free: 6.004 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006124/0.2577, allocations: 2.957 MB / 0.646 GB, free: 2.992 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.2593, allocations: 0.8497 MB / 0.6468 GB, free: 2.125 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007644/0.2601, allocations: 418.7 kB / 0.6472 GB, free: 1.719 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003721/0.2638, allocations: 1.551 MB / 0.6487 GB, free: 144 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.2638, allocations: 39.56 kB / 0.6488 GB, free: 96 kB / 0.545 GB Notification: Performance of pre-optimization done (n=103): time 3.176e-06/0.2638, allocations: 0 / 0.6488 GB, free: 96 kB / 0.545 GB Notification: Performance of matching and sorting (n=103): time 0.003684/0.2675, allocations: 1.45 MB / 0.6502 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.2676, allocations: 68.34 kB / 0.6502 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/0.2693, allocations: 1.197 MB / 0.6514 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.2694, allocations: 41.7 kB / 0.6514 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006756/0.2701, allocations: 0.7732 MB / 0.6522 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003645/0.2705, allocations: 364.8 kB / 0.6525 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/0.2707, allocations: 166.7 kB / 0.6527 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.2709, allocations: 341.9 kB / 0.653 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006014/0.2715, allocations: 297.9 kB / 0.6533 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008181/0.2723, allocations: 0.5016 MB / 0.6538 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.2738, allocations: 0.7684 MB / 0.6546 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2738, allocations: 4 kB / 0.6546 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002382/0.2762, allocations: 1.123 MB / 0.6557 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.2762, allocations: 8 kB / 0.6557 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.2762, allocations: 11.94 kB / 0.6557 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006618/0.2769, allocations: 170.7 kB / 0.6558 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007583/0.2776, allocations: 187.7 kB / 0.656 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004546/0.2822, allocations: 4.408 MB / 0.6603 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008754/0.283, allocations: 95.45 kB / 0.6604 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.2832, allocations: 39.98 kB / 0.6605 GB, free: 3.609 MB / 0.5606 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.0005551/0.2837, allocations: 269.7 kB / 0.6607 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003357/0.2841, allocations: 162.9 kB / 0.6609 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002979/0.287, allocations: 1.573 MB / 0.6624 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.287, allocations: 8 kB / 0.6624 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.2871, allocations: 4 kB / 0.6624 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.2871, allocations: 3.984 kB / 0.6624 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004348/0.2914, allocations: 2.19 MB / 0.6646 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.2914, allocations: 0 / 0.6646 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006239/0.292, allocations: 160 kB / 0.6647 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000608/0.2927, allocations: 162.4 kB / 0.6649 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.452e-05/0.2927, allocations: 27.98 kB / 0.6649 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004553/0.2973, allocations: 4.435 MB / 0.6692 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.2973, allocations: 4.031 kB / 0.6692 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003121/0.3004, allocations: 1.551 MB / 0.6707 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006441/0.3011, allocations: 250.6 kB / 0.671 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.3012, allocations: 28.05 kB / 0.671 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005637/0.3018, allocations: 31.92 kB / 0.671 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.302, allocations: 88.77 kB / 0.6711 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.639e-05/0.302, allocations: 35.98 kB / 0.6712 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001252/0.3033, allocations: 0.8363 MB / 0.672 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.3033, allocations: 0 / 0.672 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001555/0.3048, allocations: 0.5533 MB / 0.6725 GB, free: 6.793 MB / 0.5762 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.001033/0.3059, allocations: 0.6503 MB / 0.6731 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002233/0.3081, allocations: 1.118 MB / 0.6742 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.3081, allocations: 4 kB / 0.6742 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.3095, allocations: 0.7708 MB / 0.675 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/0.3117, allocations: 491 kB / 0.6755 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005154/0.3169, allocations: 2.761 MB / 0.6782 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007772/0.3177, allocations: 0.6756 MB / 0.6788 GB, free: 192 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000984/0.3186, allocations: 270 kB / 0.6791 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/0.3189, allocations: 124.5 kB / 0.6792 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of SimCode: time 8.82e-07/0.3189, allocations: 0 / 0.6792 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of Templates: time 0.2858/0.6048, allocations: 27.8 MB / 0.7063 GB, free: 128.4 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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.851556390989572]