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.001103/0.001103, allocations: 85.27 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001063/0.001063, allocations: 165 kB / 23.27 MB, free: 1.219 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 1.002/1.002, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.7289/0.7289, allocations: 118.7 MB / 378.9 MB, free: 1.406 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 484.1 MB, free: 8.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.142e-05, allocations: 2.312 kB / 484.1 MB, free: 8.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.01499/0.01502, allocations: 12.67 MB / 496.7 MB, free: 15.42 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01009/0.02512, allocations: 3.893 MB / 0.4889 GB, free: 12.69 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003692/0.02881, allocations: 119.2 kB / 0.489 GB, free: 12.61 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.03076, allocations: 375.6 kB / 0.4894 GB, free: 12.38 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006463/0.03722, allocations: 1.244 MB / 0.4906 GB, free: 11.52 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004026/0.04125, allocations: 0.804 MB / 0.4914 GB, free: 11.08 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.007414/0.04867, allocations: 3.02 MB / 0.4943 GB, free: 9.426 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007596/0.04942, allocations: 308.3 kB / 0.4946 GB, free: 9.125 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/0.05185, allocations: 1.611 MB / 0.4962 GB, free: 7.84 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008417/0.05269, allocations: 0.7825 MB / 0.4969 GB, free: 7.207 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.05284, allocations: 128 kB / 0.4971 GB, free: 7.082 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000837/0.05368, allocations: 301.8 kB / 0.4974 GB, free: 6.812 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002949/0.05398, allocations: 366.6 kB / 0.4977 GB, free: 6.504 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004894/0.05446, allocations: 0.6499 MB / 0.4983 GB, free: 5.902 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.05637, allocations: 1.765 MB / 0.5001 GB, free: 4.367 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.05637, allocations: 0 / 0.5001 GB, free: 4.367 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.05637, allocations: 0 / 0.5001 GB, free: 4.367 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.05639, allocations: 4 kB / 0.5001 GB, free: 4.363 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.002364/0.05875, allocations: 2.535 MB / 0.5025 GB, free: 1.777 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.05878, allocations: 11.97 kB / 0.5026 GB, free: 1.766 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004354/0.05922, allocations: 403 kB / 0.5029 GB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.06117, allocations: 1.405 MB / 0.5043 GB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.322e-05/0.06122, allocations: 94.7 kB / 0.5044 GB, free: 15.81 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.06134, allocations: 128.3 kB / 0.5045 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008244/0.06216, allocations: 0.9208 MB / 0.5054 GB, free: 14.67 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.06218, allocations: 4.125 kB / 0.5054 GB, free: 14.67 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/0.06223, allocations: 51.94 kB / 0.5055 GB, free: 14.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.06225, allocations: 28 kB / 0.5055 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004807/0.06273, allocations: 459.3 kB / 0.5059 GB, free: 14.13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002955/0.06568, allocations: 3.64 MB / 0.5095 GB, free: 10.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006841/0.06637, allocations: 0.7201 MB / 0.5102 GB, free: 9.672 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.06659, allocations: 250.2 kB / 0.5104 GB, free: 9.422 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001495/0.06809, allocations: 1.378 MB / 0.5118 GB, free: 8.059 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.06811, allocations: 50.39 kB / 0.5118 GB, free: 8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 1.553e-06/0.06811, allocations: 3.938 kB / 0.5118 GB, free: 7.996 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.001255/0.06937, allocations: 1.021 MB / 0.5128 GB, free: 6.953 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.0694, allocations: 60.41 kB / 0.5129 GB, free: 6.883 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008758/0.07027, allocations: 1.297 MB / 0.5142 GB, free: 5.578 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.07031, allocations: 45.64 kB / 0.5142 GB, free: 5.527 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004697/0.07078, allocations: 0.9314 MB / 0.5151 GB, free: 4.586 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.07095, allocations: 352.9 kB / 0.5154 GB, free: 4.238 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.07111, allocations: 192.2 kB / 0.5156 GB, free: 4.043 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.07125, allocations: 0.5081 MB / 0.5161 GB, free: 3.527 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.07138, allocations: 117.9 kB / 0.5162 GB, free: 3.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.07174, allocations: 0.641 MB / 0.5169 GB, free: 2.602 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004455/0.07219, allocations: 0.5367 MB / 0.5174 GB, free: 1.984 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.07219, allocations: 4 kB / 0.5174 GB, free: 1.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0008219/0.07301, allocations: 0.858 MB / 0.5182 GB, free: 1.102 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.07302, allocations: 8.562 kB / 0.5182 GB, free: 1.094 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.07303, allocations: 8 kB / 0.5182 GB, free: 1.086 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000389/0.07342, allocations: 190.8 kB / 0.5184 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.07373, allocations: 191.7 kB / 0.5186 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.07607, allocations: 5.52 MB / 0.524 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/0.07641, allocations: 87.62 kB / 0.5241 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/0.07646, allocations: 35.98 kB / 0.5241 GB, free: 10.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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.0002303/0.07669, allocations: 212.3 kB / 0.5243 GB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.07687, allocations: 226.7 kB / 0.5245 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.07812, allocations: 1.28 MB / 0.5258 GB, free: 8.934 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.07812, allocations: 12 kB / 0.5258 GB, free: 8.922 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.07813, allocations: 4 kB / 0.5258 GB, free: 8.918 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.07813, allocations: 3.984 kB / 0.5258 GB, free: 8.914 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.07978, allocations: 1.704 MB / 0.5275 GB, free: 7.125 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.07979, allocations: 4.188 kB / 0.5275 GB, free: 7.121 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.08004, allocations: 135.8 kB / 0.5276 GB, free: 6.988 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003612/0.0804, allocations: 194.8 kB / 0.5278 GB, free: 6.785 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/0.08043, allocations: 35.97 kB / 0.5278 GB, free: 6.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00232/0.08275, allocations: 5.513 MB / 0.5332 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.08275, allocations: 0 / 0.5332 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.08376, allocations: 1.127 MB / 0.5343 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002658/0.08402, allocations: 254.4 kB / 0.5346 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.561e-05/0.08411, allocations: 20.19 kB / 0.5346 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.08437, allocations: 27.98 kB / 0.5346 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.063e-05/0.08446, allocations: 80.8 kB / 0.5347 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.08449, allocations: 27.98 kB / 0.5347 GB, free: 15.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000544/0.08503, allocations: 0.7723 MB / 0.5355 GB, free: 14.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.08503, allocations: 0 / 0.5355 GB, free: 14.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000724/0.08576, allocations: 459 kB / 0.5359 GB, free: 14.05 MB / 474.7 MB 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 (80): * Single equations (assignments): 77 * 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.0002057/0.08596, allocations: 174.9 kB / 0.5361 GB, free: 13.88 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007691/0.08673, allocations: 1.024 MB / 0.5371 GB, free: 12.79 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.08673, allocations: 0 / 0.5371 GB, free: 12.79 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004779/0.08721, allocations: 0.8141 MB / 0.5379 GB, free: 11.93 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.08874, allocations: 0.719 MB / 0.5386 GB, free: 11.22 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.09241, allocations: 2.862 MB / 0.5414 GB, free: 8.281 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.09265, allocations: 282.1 kB / 0.5416 GB, free: 7.984 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006602/0.09331, allocations: 267.9 kB / 0.5419 GB, free: 7.715 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009015/0.09422, allocations: 0.5876 MB / 0.5425 GB, free: 7.125 MB / 474.7 MB Notification: Performance of SimCode: time 1.413e-06/0.09422, allocations: 0 / 0.5425 GB, free: 7.125 MB / 474.7 MB Notification: Performance of Templates: time 0.03465/0.1289, allocations: 27.96 MB / 0.5698 GB, free: 11.84 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.224153650924563]