Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.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.001787/0.001787, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.002235/0.002235, allocations: 157.9 kB / 23.01 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.403/1.403, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.7332/0.7332, allocations: 74.91 MB / 334.7 MB, free: 15.53 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.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") [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.002727/0.002727, allocations: 90.41 kB / 496.4 MB, free: 29.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1173, allocations: 73.04 MB / 0.5561 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.04121/0.1585, allocations: 34.21 MB / 0.5895 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01892/0.1774, allocations: 13.79 MB / 0.6029 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.1785, allocations: 67.38 kB / 0.603 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002064/0.1806, allocations: 0.8861 MB / 0.6039 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003497/0.1841, allocations: 1.363 MB / 0.6052 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002864/0.187, allocations: 1.029 MB / 0.6062 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002528/0.1895, allocations: 1.961 MB / 0.6081 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004384/0.1899, allocations: 215.5 kB / 0.6083 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.1916, allocations: 1.078 MB / 0.6094 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009733/0.1926, allocations: 0.6488 MB / 0.61 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001729/0.1927, allocations: 92 kB / 0.6101 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002092/0.1948, allocations: 0.7921 MB / 0.6109 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000353/0.1952, allocations: 330.5 kB / 0.6112 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006433/0.1958, allocations: 0.5669 MB / 0.6117 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003207/0.199, allocations: 2.112 MB / 0.6138 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.199, allocations: 3.984 kB / 0.6138 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.393e-06/0.199, allocations: 0 / 0.6138 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.341e-05/0.1991, allocations: 0 / 0.6138 GB, free: 4.215 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.003499/0.2026, allocations: 2.026 MB / 0.6158 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2026, allocations: 8.031 kB / 0.6158 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004807/0.2031, allocations: 219 kB / 0.616 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.2051, allocations: 1.127 MB / 0.6171 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.812e-05/0.2052, allocations: 66 kB / 0.6172 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.2053, allocations: 83.95 kB / 0.6172 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.2069, allocations: 0.9034 MB / 0.6181 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.2069, allocations: 0 / 0.6181 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.215e-05/0.2069, allocations: 28 kB / 0.6182 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.207, allocations: 27.88 kB / 0.6182 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.2084, allocations: 0.8003 MB / 0.619 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003996/0.2124, allocations: 2.203 MB / 0.6211 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.2135, allocations: 0.6009 MB / 0.6217 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005487/0.2141, allocations: 298.7 kB / 0.622 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002354/0.2164, allocations: 1.129 MB / 0.6231 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.17e-05/0.2165, allocations: 43.22 kB / 0.6231 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=73): time 2.445e-06/0.2165, allocations: 0 / 0.6231 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.002649/0.2192, allocations: 1.057 MB / 0.6242 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.2192, allocations: 64.06 kB / 0.6242 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.2209, allocations: 1.29 MB / 0.6255 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/0.221, allocations: 41.7 kB / 0.6255 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005939/0.2216, allocations: 0.6319 MB / 0.6261 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.2218, allocations: 265.7 kB / 0.6264 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.222, allocations: 142.5 kB / 0.6265 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.2222, allocations: 334 kB / 0.6268 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004399/0.2227, allocations: 209.9 kB / 0.627 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005771/0.2233, allocations: 367.4 kB / 0.6274 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.2243, allocations: 0.5475 MB / 0.6279 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2243, allocations: 0 / 0.6279 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001642/0.2259, allocations: 0.8258 MB / 0.6287 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.226, allocations: 5.25 kB / 0.6287 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.226, allocations: 4 kB / 0.6287 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004425/0.2264, allocations: 105.8 kB / 0.6288 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/0.2269, allocations: 139.8 kB / 0.629 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003024/0.23, allocations: 2.947 MB / 0.6319 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/0.2305, allocations: 55.64 kB / 0.6319 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-05/0.2305, allocations: 28 kB / 0.6319 GB, free: 1.078 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (75): * Single equations (assignments): 73 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004822/0.231, allocations: 321.7 kB / 0.6322 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.2313, allocations: 155 kB / 0.6324 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/0.2334, allocations: 1.097 MB / 0.6335 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.2334, allocations: 8 kB / 0.6335 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.2334, allocations: 3.938 kB / 0.6335 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.2334, allocations: 4.172 kB / 0.6335 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002935/0.2363, allocations: 1.7 MB / 0.6351 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.2363, allocations: 0 / 0.6351 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.2368, allocations: 115.8 kB / 0.6353 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003561/0.2371, allocations: 113.7 kB / 0.6354 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-05/0.2372, allocations: 19.98 kB / 0.6354 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002875/0.2401, allocations: 2.944 MB / 0.6383 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.2401, allocations: 4.031 kB / 0.6383 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.2422, allocations: 1.184 MB / 0.6394 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004867/0.2427, allocations: 264.7 kB / 0.6397 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.2428, allocations: 16 kB / 0.6397 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004371/0.2433, allocations: 19.98 kB / 0.6397 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.2434, allocations: 60.48 kB / 0.6398 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.635e-05/0.2434, allocations: 27.98 kB / 0.6398 GB, free: 8.707 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001266/0.2447, allocations: 0.9096 MB / 0.6407 GB, free: 7.801 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2447, allocations: 0 / 0.6407 GB, free: 7.801 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001058/0.2458, allocations: 399.1 kB / 0.6411 GB, free: 7.41 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.inlet.m_flow,flowResistance2.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 (63): * Single equations (assignments): 61 * 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,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.00198/0.2477, allocations: 0.7526 MB / 0.6418 GB, free: 6.809 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.2493, allocations: 0.776 MB / 0.6425 GB, free: 6.008 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.2493, allocations: 0 / 0.6425 GB, free: 6.008 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009059/0.2502, allocations: 0.5406 MB / 0.6431 GB, free: 5.441 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.2517, allocations: 371.1 kB / 0.6434 GB, free: 5.094 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004177/0.2559, allocations: 2.455 MB / 0.6458 GB, free: 2.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007213/0.2566, allocations: 0.62 MB / 0.6464 GB, free: 1.934 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006961/0.2573, allocations: 238.5 kB / 0.6467 GB, free: 1.719 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.2576, allocations: 112.5 kB / 0.6468 GB, free: 1.605 MB / 0.545 GB Notification: Performance of SimCode: time 9.82e-07/0.2576, allocations: 0 / 0.6468 GB, free: 1.605 MB / 0.545 GB Notification: Performance of Templates: time 0.03735/0.2949, allocations: 20.43 MB / 0.6667 GB, free: 13.5 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.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.025843200972304]