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.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.001764/0.001764, allocations: 80.83 kB / 19.18 MB, free: 2.527 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.002173/0.002173, allocations: 164.8 kB / 22.46 MB, free: 5.355 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.485/1.485, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.9845/0.9845, allocations: 116 MB / 375.2 MB, free: 7.523 MB / 350.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 3.938 kB / 0.5538 GB, free: 13.78 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.611e-05, allocations: 2.281 kB / 0.5538 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.05139/0.05141, allocations: 42.01 MB / 0.5948 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01801/0.06942, allocations: 11.48 MB / 0.606 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001684/0.07111, allocations: 75.31 kB / 0.6061 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003082/0.07419, allocations: 1.107 MB / 0.6071 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006381/0.08057, allocations: 2.313 MB / 0.6094 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003659/0.08423, allocations: 1.21 MB / 0.6106 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004696/0.08893, allocations: 3.134 MB / 0.6136 GB, free: 232 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008317/0.08976, allocations: 278.2 kB / 0.6139 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004258/0.09402, allocations: 1.932 MB / 0.6158 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.0959, allocations: 0.923 MB / 0.6167 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004605/0.09636, allocations: 143.9 kB / 0.6168 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00327/0.09963, allocations: 1.045 MB / 0.6179 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006515/0.1003, allocations: 442.1 kB / 0.6183 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00147/0.1018, allocations: 0.6623 MB / 0.6189 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006016/0.1078, allocations: 2.936 MB / 0.6218 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.1078, allocations: 4 kB / 0.6218 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1078, allocations: 0 / 0.6218 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.173e-05/0.1078, allocations: 4 kB / 0.6218 GB, free: 7.824 MB / 0.5294 GB 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.005189/0.113, allocations: 2.478 MB / 0.6242 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1131, allocations: 8.031 kB / 0.6242 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009084/0.114, allocations: 279.4 kB / 0.6245 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/0.1165, allocations: 1.26 MB / 0.6257 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.1166, allocations: 103 kB / 0.6258 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/0.1168, allocations: 136.3 kB / 0.6259 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002933/0.1197, allocations: 1.552 MB / 0.6275 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/0.1197, allocations: 4 kB / 0.6275 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.1199, allocations: 48 kB / 0.6275 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/0.1199, allocations: 32 kB / 0.6275 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003029/0.1229, allocations: 1.579 MB / 0.6291 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007122/0.1301, allocations: 3.612 MB / 0.6326 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/0.1326, allocations: 1.215 MB / 0.6338 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/0.1338, allocations: 0.6193 MB / 0.6344 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004734/0.1386, allocations: 1.982 MB / 0.6363 GB, free: 8.672 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001497/0.1401, allocations: 0.7832 MB / 0.6371 GB, free: 7.855 MB / 0.545 GB Notification: Performance of pre-optimization done (n=139): time 3.857e-06/0.1401, allocations: 0 / 0.6371 GB, free: 7.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=139): time 0.004848/0.1449, allocations: 1.943 MB / 0.639 GB, free: 5.902 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.794e-05/0.145, allocations: 120.1 kB / 0.6391 GB, free: 5.762 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.1468, allocations: 1.267 MB / 0.6404 GB, free: 4.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.1469, allocations: 49.7 kB / 0.6404 GB, free: 4.426 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006929/0.1476, allocations: 0.7184 MB / 0.6411 GB, free: 3.699 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004885/0.1481, allocations: 499.7 kB / 0.6416 GB, free: 3.207 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004057/0.1485, allocations: 238.8 kB / 0.6418 GB, free: 2.965 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.1487, allocations: 353.9 kB / 0.6421 GB, free: 2.613 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.1497, allocations: 484.1 kB / 0.6426 GB, free: 2.137 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.151, allocations: 0.6971 MB / 0.6433 GB, free: 1.371 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/0.1533, allocations: 1.157 MB / 0.6444 GB, free: 168 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.1533, allocations: 0 / 0.6444 GB, free: 168 kB / 0.545 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003344/0.1567, allocations: 1.551 MB / 0.6459 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.1567, allocations: 41.62 kB / 0.646 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.1567, allocations: 4 kB / 0.646 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000463/0.1572, allocations: 109.8 kB / 0.6461 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.1583, allocations: 271.6 kB / 0.6463 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003266/0.1616, allocations: 2.959 MB / 0.6492 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.1626, allocations: 111.2 kB / 0.6493 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.1627, allocations: 63.95 kB / 0.6494 GB, free: 10.82 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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.0007692/0.1635, allocations: 381.6 kB / 0.6498 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003787/0.1639, allocations: 182.8 kB / 0.6499 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004526/0.1684, allocations: 2.111 MB / 0.652 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.1684, allocations: 16 kB / 0.652 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1684, allocations: 0 / 0.652 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/0.1684, allocations: 7.969 kB / 0.652 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006096/0.1745, allocations: 2.947 MB / 0.6549 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.1745, allocations: 4 kB / 0.6549 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.1756, allocations: 267.6 kB / 0.6552 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003985/0.176, allocations: 105.6 kB / 0.6553 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.1761, allocations: 51.91 kB / 0.6553 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003183/0.1793, allocations: 2.948 MB / 0.6582 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.1793, allocations: 3.938 kB / 0.6582 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004791/0.1841, allocations: 2.306 MB / 0.6604 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009127/0.185, allocations: 392.2 kB / 0.6608 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002448/0.1853, allocations: 43.89 kB / 0.6609 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00073/0.186, allocations: 47.97 kB / 0.6609 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002683/0.1863, allocations: 121 kB / 0.661 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.1864, allocations: 55.97 kB / 0.6611 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001359/0.1877, allocations: 0.8746 MB / 0.6619 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1877, allocations: 4 kB / 0.6619 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001735/0.1895, allocations: 0.6004 MB / 0.6625 GB, free: 13.11 MB / 0.5762 GB 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 (149): * Single equations (assignments): 145 * 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.002245/0.1917, allocations: 0.8206 MB / 0.6633 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003231/0.195, allocations: 1.501 MB / 0.6648 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.195, allocations: 0 / 0.6648 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001808/0.1968, allocations: 0.9077 MB / 0.6657 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/0.1999, allocations: 0.6281 MB / 0.6663 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008404/0.2083, allocations: 3.421 MB / 0.6696 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009272/0.2092, allocations: 0.7603 MB / 0.6704 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001316/0.2105, allocations: 373 kB / 0.6707 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005112/0.2111, allocations: 188.4 kB / 0.6709 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of SimCode: time 1.342e-06/0.2111, allocations: 0 / 0.6709 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of Templates: time 0.3055/0.5165, allocations: 31.1 MB / 0.7013 GB, free: 129.2 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (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) [Timeout 1200] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.254742804914713]