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.001022/0.001022, allocations: 93.16 kB / 19.65 MB, free: 292 kB / 13.93 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.001072/0.001072, allocations: 172.9 kB / 23.02 MB, free: 1.562 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.007/1.007, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.659/0.659, allocations: 118.7 MB / 378.6 MB, free: 1.527 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.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: Performance of FrontEnd - loaded program: time 2.925e-06/2.925e-06, allocations: 0 / 483.6 MB, free: 8.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.345e-05/3.638e-05, allocations: 2.312 kB / 483.6 MB, free: 8.281 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.008648/0.008684, allocations: 10.45 MB / 494 MB, free: 1.258 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005034/0.01372, allocations: 3.553 MB / 497.6 MB, free: 14.84 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000645/0.01436, allocations: 81.84 kB / 497.7 MB, free: 14.79 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.01555, allocations: 0.6061 MB / 498.3 MB, free: 14.58 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.01763, allocations: 1.096 MB / 499.4 MB, free: 13.9 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.01929, allocations: 0.7035 MB / 0.4884 GB, free: 13.52 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002852/0.02214, allocations: 2.251 MB / 0.4906 GB, free: 12.36 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005079/0.02265, allocations: 216.4 kB / 0.4908 GB, free: 12.23 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/0.02583, allocations: 1.564 MB / 0.4923 GB, free: 11.47 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009041/0.02673, allocations: 0.586 MB / 0.4929 GB, free: 11 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002014/0.02694, allocations: 88 kB / 0.493 GB, free: 10.91 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006503/0.02759, allocations: 265.9 kB / 0.4932 GB, free: 10.68 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.02785, allocations: 347.5 kB / 0.4935 GB, free: 10.38 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005197/0.02837, allocations: 499.7 kB / 0.494 GB, free: 9.93 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.03011, allocations: 1.445 MB / 0.4954 GB, free: 8.684 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.03011, allocations: 0 / 0.4954 GB, free: 8.684 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.03011, allocations: 0 / 0.4954 GB, free: 8.684 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.572e-05/0.03016, allocations: 0 / 0.4954 GB, free: 8.684 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002718/0.03288, allocations: 2.198 MB / 0.4976 GB, free: 6.637 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.03292, allocations: 8.031 kB / 0.4976 GB, free: 6.629 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004639/0.03338, allocations: 320.6 kB / 0.4979 GB, free: 6.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.03489, allocations: 1.247 MB / 0.4991 GB, free: 5.145 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/0.03493, allocations: 62.38 kB / 0.4992 GB, free: 5.086 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.224e-05/0.03502, allocations: 96.31 kB / 0.4993 GB, free: 4.992 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008322/0.03586, allocations: 0.7153 MB / 0.5 GB, free: 4.227 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.03587, allocations: 4 kB / 0.5 GB, free: 4.223 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/0.03592, allocations: 28 kB / 0.5 GB, free: 4.195 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.03593, allocations: 23.98 kB / 0.5 GB, free: 4.172 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000554/0.03649, allocations: 423.5 kB / 0.5004 GB, free: 3.762 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002958/0.03945, allocations: 2.866 MB / 0.5032 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006722/0.04012, allocations: 0.5412 MB / 0.5037 GB, free: 280 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.04035, allocations: 205.4 kB / 0.5039 GB, free: 72 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/0.0418, allocations: 1.008 MB / 0.5049 GB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.04184, allocations: 49.98 kB / 0.505 GB, free: 14.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 1.983e-06/0.04184, allocations: 0 / 0.505 GB, free: 14.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=69): time 0.001198/0.04304, allocations: 0.82 MB / 0.5058 GB, free: 14.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.04307, allocations: 60.06 kB / 0.5058 GB, free: 14.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.04418, allocations: 1.324 MB / 0.5071 GB, free: 12.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/0.04423, allocations: 37.7 kB / 0.5072 GB, free: 12.69 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004395/0.04467, allocations: 0.7501 MB / 0.5079 GB, free: 11.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.0448, allocations: 253.8 kB / 0.5081 GB, free: 11.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.04495, allocations: 152.2 kB / 0.5083 GB, free: 11.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.0451, allocations: 0.4965 MB / 0.5088 GB, free: 11.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.04526, allocations: 109.9 kB / 0.5089 GB, free: 10.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.04559, allocations: 474.8 kB / 0.5093 GB, free: 10.33 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004715/0.04606, allocations: 432.7 kB / 0.5097 GB, free: 9.852 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.04607, allocations: 0 / 0.5097 GB, free: 9.852 MB / 442.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0008232/0.04689, allocations: 0.6753 MB / 0.5104 GB, free: 9.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.04692, allocations: 11.98 kB / 0.5104 GB, free: 9.148 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.04692, allocations: 4 kB / 0.5104 GB, free: 9.145 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004187/0.04734, allocations: 123.3 kB / 0.5105 GB, free: 9.016 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.04765, allocations: 135.8 kB / 0.5106 GB, free: 8.883 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/0.04983, allocations: 3.746 MB / 0.5143 GB, free: 4.895 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.05012, allocations: 55.61 kB / 0.5144 GB, free: 4.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.05017, allocations: 31.98 kB / 0.5144 GB, free: 4.809 MB / 442.7 MB 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 (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.0002122/0.05038, allocations: 200.4 kB / 0.5146 GB, free: 4.602 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.05053, allocations: 198.9 kB / 0.5148 GB, free: 4.406 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000994/0.05153, allocations: 0.8863 MB / 0.5156 GB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.05153, allocations: 8 kB / 0.5156 GB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.05153, allocations: 7.984 kB / 0.5157 GB, free: 3.465 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.05154, allocations: 3.938 kB / 0.5157 GB, free: 3.461 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.05313, allocations: 1.594 MB / 0.5172 GB, free: 1.797 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.05313, allocations: 0 / 0.5172 GB, free: 1.797 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.05335, allocations: 99.89 kB / 0.5173 GB, free: 1.699 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003332/0.05369, allocations: 135.4 kB / 0.5174 GB, free: 1.559 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/0.05373, allocations: 23.98 kB / 0.5175 GB, free: 1.535 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/0.05603, allocations: 3.738 MB / 0.5211 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.05603, allocations: 0 / 0.5211 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.0571, allocations: 0.9342 MB / 0.522 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.05738, allocations: 268.5 kB / 0.5223 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.609e-05/0.05747, allocations: 16 kB / 0.5223 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.05769, allocations: 16.06 kB / 0.5223 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.943e-05/0.05778, allocations: 64.48 kB / 0.5224 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.05781, allocations: 19.98 kB / 0.5224 GB, free: 12.19 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007223/0.05853, allocations: 0.8125 MB / 0.5232 GB, free: 11.39 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05853, allocations: 0 / 0.5232 GB, free: 11.39 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005724/0.0591, allocations: 331.4 kB / 0.5235 GB, free: 11.06 MB / 458.7 MB 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 (59): * Single equations (assignments): 57 * 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.0009509/0.06006, allocations: 383 kB / 0.5239 GB, free: 10.81 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000821/0.06088, allocations: 0.744 MB / 0.5246 GB, free: 10.03 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.06088, allocations: 0 / 0.5246 GB, free: 10.03 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004069/0.06129, allocations: 0.5782 MB / 0.5252 GB, free: 9.414 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.06265, allocations: 0.5388 MB / 0.5257 GB, free: 8.898 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.0657, allocations: 2.422 MB / 0.528 GB, free: 6.406 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.06588, allocations: 264.3 kB / 0.5283 GB, free: 6.117 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004983/0.06638, allocations: 229.7 kB / 0.5285 GB, free: 5.891 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.06656, allocations: 116.5 kB / 0.5286 GB, free: 5.777 MB / 458.7 MB Notification: Performance of SimCode: time 9.12e-07/0.06656, allocations: 0 / 0.5286 GB, free: 5.777 MB / 458.7 MB Notification: Performance of Templates: time 0.02487/0.09144, allocations: 20.54 MB / 0.5487 GB, free: 1.711 MB / 474.7 MB " [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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_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.185109718237072]