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.001737/0.001737, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002087/0.002087, allocations: 214.7 kB / 22.99 MB, free: 4.945 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.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.7432/0.7432, allocations: 94.62 MB / 407.8 MB, free: 8.859 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.002488/0.002488, allocations: 88.38 kB / 0.5562 GB, free: 38.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1154, allocations: 73.05 MB / 0.6275 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.05363/0.1691, allocations: 49.09 MB / 0.6754 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02571/0.1948, allocations: 19.73 MB / 0.6947 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/0.1967, allocations: 99.06 kB / 0.6948 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002412/0.1991, allocations: 0.7952 MB / 0.6956 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004706/0.2038, allocations: 1.7 MB / 0.6972 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003672/0.2075, allocations: 1.341 MB / 0.6986 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003211/0.2107, allocations: 2.575 MB / 0.7011 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005245/0.2113, allocations: 302.7 kB / 0.7014 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001589/0.2128, allocations: 1.116 MB / 0.7024 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.2139, allocations: 0.878 MB / 0.7033 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.2141, allocations: 124 kB / 0.7034 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002542/0.2166, allocations: 1.135 MB / 0.7045 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000309/0.2169, allocations: 346.3 kB / 0.7049 GB, free: 152 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006941/0.2176, allocations: 0.7305 MB / 0.7056 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00332/0.2209, allocations: 2.661 MB / 0.7082 GB, free: 12.74 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.2209, allocations: 0 / 0.7082 GB, free: 12.74 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2209, allocations: 3.938 kB / 0.7082 GB, free: 12.74 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.844e-05/0.2209, allocations: 0 / 0.7082 GB, free: 12.74 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.003861/0.2248, allocations: 2.341 MB / 0.7105 GB, free: 10.35 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2248, allocations: 15.97 kB / 0.7105 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005462/0.2254, allocations: 254.5 kB / 0.7107 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.2276, allocations: 1.172 MB / 0.7119 GB, free: 8.867 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.528e-05/0.2276, allocations: 98.22 kB / 0.712 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.2278, allocations: 116 kB / 0.7121 GB, free: 8.656 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.2297, allocations: 1.281 MB / 0.7133 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.2298, allocations: 0 / 0.7133 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.914e-05/0.2298, allocations: 51.94 kB / 0.7134 GB, free: 7.262 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/0.2299, allocations: 28 kB / 0.7134 GB, free: 7.234 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.2317, allocations: 1.133 MB / 0.7145 GB, free: 6.094 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005001/0.2367, allocations: 2.969 MB / 0.7174 GB, free: 3.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.2381, allocations: 0.865 MB / 0.7182 GB, free: 2.188 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006763/0.2388, allocations: 418.3 kB / 0.7186 GB, free: 1.781 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003179/0.242, allocations: 1.547 MB / 0.7202 GB, free: 212 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.242, allocations: 47.56 kB / 0.7202 GB, free: 156 kB / 0.545 GB Notification: Performance of pre-optimization done (n=103): time 2.414e-06/0.242, allocations: 0 / 0.7202 GB, free: 156 kB / 0.545 GB Notification: Performance of matching and sorting (n=103): time 0.003191/0.2452, allocations: 1.447 MB / 0.7216 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.2453, allocations: 64.41 kB / 0.7217 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.2467, allocations: 1.197 MB / 0.7228 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.669e-05/0.2468, allocations: 45.7 kB / 0.7229 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006898/0.2475, allocations: 0.7654 MB / 0.7236 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003339/0.2478, allocations: 372.8 kB / 0.724 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/0.2481, allocations: 158.7 kB / 0.7241 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.2483, allocations: 345.9 kB / 0.7245 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005569/0.2488, allocations: 293.9 kB / 0.7248 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007456/0.2496, allocations: 0.5056 MB / 0.7252 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.2509, allocations: 0.7762 MB / 0.726 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2509, allocations: 0 / 0.726 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002017/0.2529, allocations: 1.127 MB / 0.7271 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2529, allocations: 7.938 kB / 0.7271 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.253, allocations: 4 kB / 0.7271 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005399/0.2535, allocations: 166.7 kB / 0.7273 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006534/0.2542, allocations: 187.8 kB / 0.7275 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004001/0.2582, allocations: 4.408 MB / 0.7318 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/0.2587, allocations: 87.42 kB / 0.7318 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.482e-05/0.2588, allocations: 43.98 kB / 0.7319 GB, free: 3.684 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.0004297/0.2592, allocations: 273.7 kB / 0.7321 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/0.2595, allocations: 162.9 kB / 0.7323 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.2621, allocations: 1.571 MB / 0.7338 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.2621, allocations: 8 kB / 0.7338 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.2622, allocations: 7.984 kB / 0.7339 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.659e-06/0.2622, allocations: 3.984 kB / 0.7339 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003567/0.2657, allocations: 2.194 MB / 0.736 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2657, allocations: 0 / 0.736 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00053/0.2663, allocations: 151.8 kB / 0.7361 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004867/0.2668, allocations: 170.7 kB / 0.7363 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.075e-05/0.2668, allocations: 31.98 kB / 0.7363 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003956/0.2708, allocations: 4.435 MB / 0.7407 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2708, allocations: 0 / 0.7407 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002586/0.2734, allocations: 1.555 MB / 0.7422 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000488/0.2738, allocations: 254.6 kB / 0.7424 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.274, allocations: 23.95 kB / 0.7425 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004978/0.2745, allocations: 31.92 kB / 0.7425 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.2746, allocations: 80.84 kB / 0.7426 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-05/0.2747, allocations: 35.98 kB / 0.7426 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001102/0.2758, allocations: 0.8441 MB / 0.7434 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2758, allocations: 3.938 kB / 0.7434 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001287/0.2771, allocations: 0.5456 MB / 0.744 GB, free: 6.855 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.0008671/0.2779, allocations: 0.6547 MB / 0.7446 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001886/0.2798, allocations: 1.117 MB / 0.7457 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2798, allocations: 0 / 0.7457 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.281, allocations: 0.772 MB / 0.7464 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.2828, allocations: 489.5 kB / 0.7469 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004444/0.2872, allocations: 2.819 MB / 0.7497 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/0.2879, allocations: 0.6717 MB / 0.7503 GB, free: 196 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/0.2882, allocations: 135.4 kB / 0.7504 GB, free: 60 kB / 0.5762 GB Notification: Performance of SimCode: time 4.5e-07/0.2882, allocations: 0 / 0.7504 GB, free: 60 kB / 0.5762 GB Notification: Performance of Templates: time 0.2975/0.5857, allocations: 46.39 MB / 0.7957 GB, free: 86.76 MB / 0.5762 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 -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: 11.557592343073338]