Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 192.2 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6854/0.6854, allocations: 93.71 MB / 383.7 MB, free: 7.16 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 82.77 kB / 462.7 MB, free: 22.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1096, allocations: 68.26 MB / 0.5185 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.04361/0.1533, allocations: 45.69 MB / 0.5632 GB, free: 9.609 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01517/0.1685, allocations: 12.51 MB / 0.5754 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/0.1705, allocations: 63.56 kB / 0.5754 GB, free: 13 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002493/0.1731, allocations: 1.039 MB / 0.5765 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004719/0.1778, allocations: 1.908 MB / 0.5783 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002825/0.1807, allocations: 1.063 MB / 0.5794 GB, free: 8.977 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003903/0.1846, allocations: 3.672 MB / 0.5829 GB, free: 5.293 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006784/0.1853, allocations: 441.9 kB / 0.5834 GB, free: 4.832 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001998/0.1873, allocations: 1.222 MB / 0.5846 GB, free: 3.605 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.1885, allocations: 1.077 MB / 0.5856 GB, free: 2.523 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.1887, allocations: 92 kB / 0.5857 GB, free: 2.434 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/0.1917, allocations: 1.104 MB / 0.5868 GB, free: 1.328 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003988/0.1921, allocations: 394.2 kB / 0.5871 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009347/0.1931, allocations: 0.9204 MB / 0.588 GB, free: 16 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2251/0.4182, allocations: 2.728 MB / 0.5907 GB, free: 14.83 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4182, allocations: 0.8438 kB / 0.5907 GB, free: 14.83 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4182, allocations: 0 / 0.5907 GB, free: 14.83 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.23e-05/0.4183, allocations: 1.594 kB / 0.5907 GB, free: 14.83 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.005393/0.4237, allocations: 2.468 MB / 0.5931 GB, free: 13.6 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.4237, allocations: 8.469 kB / 0.5931 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005069/0.4242, allocations: 229.6 kB / 0.5934 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.4263, allocations: 1.266 MB / 0.5946 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.582e-05/0.4264, allocations: 98.75 kB / 0.5947 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.4266, allocations: 128.5 kB / 0.5948 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/0.4293, allocations: 1.497 MB / 0.5963 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.4293, allocations: 1.484 kB / 0.5963 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.4294, allocations: 52.31 kB / 0.5963 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/0.4295, allocations: 31.19 kB / 0.5963 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002856/0.4323, allocations: 1.561 MB / 0.5979 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007651/0.44, allocations: 6.269 MB / 0.604 GB, free: 9.379 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/0.4423, allocations: 1.301 MB / 0.6053 GB, free: 9.344 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.4434, allocations: 0.6754 MB / 0.6059 GB, free: 9.324 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005973/0.4493, allocations: 4.588 MB / 0.6104 GB, free: 22.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001311/0.4507, allocations: 0.6806 MB / 0.6111 GB, free: 22.02 MB / 478.1 MB Notification: Performance of pre-optimization done (n=139): time 3.165e-06/0.4507, allocations: 0 / 0.6111 GB, free: 22.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=139): time 0.004374/0.4551, allocations: 2.114 MB / 0.6131 GB, free: 21.67 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.4552, allocations: 75.53 kB / 0.6132 GB, free: 21.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.4569, allocations: 1.294 MB / 0.6145 GB, free: 21.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001576/0.4571, allocations: 51.17 kB / 0.6145 GB, free: 21.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004801/0.4575, allocations: 0.6945 MB / 0.6152 GB, free: 21.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003339/0.4579, allocations: 469 kB / 0.6156 GB, free: 20.86 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003558/0.4583, allocations: 249.9 kB / 0.6159 GB, free: 20.84 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4584, allocations: 354.4 kB / 0.6162 GB, free: 20.53 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008678/0.4593, allocations: 467.9 kB / 0.6167 GB, free: 20.52 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.4603, allocations: 0.6225 MB / 0.6173 GB, free: 20.39 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002373/0.4627, allocations: 1.162 MB / 0.6184 GB, free: 20.22 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.4627, allocations: 3.906 kB / 0.6184 GB, free: 20.22 MB / 478.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003313/0.4661, allocations: 1.533 MB / 0.6199 GB, free: 20.02 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.341e-05/0.4661, allocations: 35.23 kB / 0.6199 GB, free: 19.99 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.4662, allocations: 3.375 kB / 0.6199 GB, free: 19.99 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004173/0.4666, allocations: 106.6 kB / 0.62 GB, free: 19.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.4677, allocations: 276.4 kB / 0.6203 GB, free: 19.97 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002656/0.4703, allocations: 3.003 MB / 0.6232 GB, free: 17.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.4717, allocations: 144 kB / 0.6234 GB, free: 17.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/0.4719, allocations: 59.83 kB / 0.6234 GB, free: 17.37 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 1 * 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.0008178/0.4727, allocations: 381.1 kB / 0.6238 GB, free: 17.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/0.4731, allocations: 172.6 kB / 0.624 GB, free: 17.16 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004311/0.4774, allocations: 2.293 MB / 0.6262 GB, free: 16.45 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.4774, allocations: 15.84 kB / 0.6262 GB, free: 16.45 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.4775, allocations: 5.094 kB / 0.6262 GB, free: 16.45 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/0.4775, allocations: 10.94 kB / 0.6262 GB, free: 16.45 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005954/0.4834, allocations: 3.472 MB / 0.6296 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4835, allocations: 0 / 0.6296 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.4845, allocations: 282.4 kB / 0.6299 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003562/0.4848, allocations: 112.1 kB / 0.63 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.485, allocations: 53.66 kB / 0.6301 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002412/0.4874, allocations: 2.992 MB / 0.633 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4874, allocations: 5.312 kB / 0.633 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004161/0.4916, allocations: 2.382 MB / 0.6353 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008479/0.4925, allocations: 467.5 kB / 0.6358 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/0.4927, allocations: 50.8 kB / 0.6358 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008337/0.4935, allocations: 76.48 kB / 0.6359 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002357/0.4938, allocations: 121.5 kB / 0.636 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.4939, allocations: 57.88 kB / 0.636 GB, free: 10.47 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001126/0.495, allocations: 0.9179 MB / 0.6369 GB, free: 10.14 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4951, allocations: 0 / 0.6369 GB, free: 10.14 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001736/0.4968, allocations: 0.5894 MB / 0.6375 GB, free: 9.984 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.rear.m_flow,flowResistance2.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001563/0.4984, allocations: 0.8475 MB / 0.6383 GB, free: 9.66 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002707/0.5011, allocations: 1.582 MB / 0.6399 GB, free: 8.938 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5011, allocations: 0 / 0.6399 GB, free: 8.938 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001502/0.5026, allocations: 0.9937 MB / 0.6409 GB, free: 8.473 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/0.505, allocations: 467.6 kB / 0.6413 GB, free: 8.277 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005742/0.5107, allocations: 3.916 MB / 0.6451 GB, free: 5.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009105/0.5117, allocations: 1.348 MB / 0.6464 GB, free: 4.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001563/0.5133, allocations: 396.2 kB / 0.6468 GB, free: 4.609 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005269/0.5138, allocations: 194.1 kB / 0.647 GB, free: 4.551 MB / 478.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5138, allocations: 0 / 0.647 GB, free: 4.551 MB / 478.1 MB Notification: Performance of Templates: time 0.04624/0.56, allocations: 28.29 MB / 0.6746 GB, free: 11.15 MB / 0.4981 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches