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.001785/0.001785, allocations: 88.72 kB / 19.44 MB, free: 360 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.002387/0.002387, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.544/1.544, allocations: 177.2 MB / 203.1 MB, free: 5.613 MB / 186.7 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 1.104/1.104, allocations: 118.6 MB / 378.2 MB, free: 1.441 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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 2.084e-06/2.084e-06, allocations: 0 / 482.9 MB, free: 8.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.219e-05, allocations: 3.625 kB / 482.9 MB, free: 8.316 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.08171/0.08173, allocations: 42.05 MB / 0.5126 GB, free: 6.887 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02056/0.1023, allocations: 11.54 MB / 0.5239 GB, free: 11.31 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00253/0.1048, allocations: 87.25 kB / 0.524 GB, free: 11.23 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003753/0.1086, allocations: 1.095 MB / 0.5251 GB, free: 10.12 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007853/0.1164, allocations: 2.325 MB / 0.5273 GB, free: 7.785 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004296/0.1207, allocations: 1.242 MB / 0.5285 GB, free: 6.539 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.005909/0.1266, allocations: 3.181 MB / 0.5316 GB, free: 3.344 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.1276, allocations: 278.4 kB / 0.5319 GB, free: 3.043 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004959/0.1326, allocations: 1.964 MB / 0.5338 GB, free: 1.074 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002027/0.1346, allocations: 0.9229 MB / 0.5347 GB, free: 152 kB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004439/0.1351, allocations: 136 kB / 0.5349 GB, free: 16 kB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003846/0.1389, allocations: 1.049 MB / 0.5359 GB, free: 14.96 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005513/0.1395, allocations: 454 kB / 0.5363 GB, free: 14.52 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001382/0.1408, allocations: 0.6701 MB / 0.537 GB, free: 13.85 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006064/0.1469, allocations: 2.982 MB / 0.5399 GB, free: 10.86 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1469, allocations: 0 / 0.5399 GB, free: 10.86 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1469, allocations: 0 / 0.5399 GB, free: 10.86 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.85e-05/0.147, allocations: 0 / 0.5399 GB, free: 10.86 MB / 474.7 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.005676/0.1526, allocations: 2.525 MB / 0.5423 GB, free: 8.281 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1527, allocations: 8.031 kB / 0.5424 GB, free: 8.273 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.1538, allocations: 426.9 kB / 0.5428 GB, free: 7.855 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/0.1566, allocations: 1.362 MB / 0.5441 GB, free: 6.449 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.1567, allocations: 98.97 kB / 0.5442 GB, free: 6.352 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000233/0.157, allocations: 140.3 kB / 0.5443 GB, free: 6.215 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003032/0.16, allocations: 1.544 MB / 0.5458 GB, free: 4.617 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.16, allocations: 0 / 0.5458 GB, free: 4.617 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.1602, allocations: 56 kB / 0.5459 GB, free: 4.562 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/0.1602, allocations: 36 kB / 0.5459 GB, free: 4.527 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00316/0.1634, allocations: 1.576 MB / 0.5475 GB, free: 2.945 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008898/0.1723, allocations: 3.663 MB / 0.551 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002996/0.1752, allocations: 1.227 MB / 0.5522 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.1766, allocations: 0.6051 MB / 0.5528 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005809/0.1824, allocations: 1.997 MB / 0.5548 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001706/0.1841, allocations: 0.7791 MB / 0.5555 GB, free: 10.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 3.175e-06/0.1841, allocations: 0 / 0.5555 GB, free: 10.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.005061/0.1892, allocations: 1.998 MB / 0.5575 GB, free: 8.531 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.1893, allocations: 120.1 kB / 0.5576 GB, free: 8.387 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/0.1914, allocations: 1.309 MB / 0.5589 GB, free: 7.066 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.853e-05/0.1915, allocations: 49.64 kB / 0.5589 GB, free: 7.012 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008066/0.1923, allocations: 0.7422 MB / 0.5596 GB, free: 6.258 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005038/0.1928, allocations: 487.7 kB / 0.5601 GB, free: 5.777 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004312/0.1933, allocations: 250.8 kB / 0.5603 GB, free: 5.527 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002296/0.1935, allocations: 357.9 kB / 0.5607 GB, free: 5.172 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.1945, allocations: 480.1 kB / 0.5611 GB, free: 4.695 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.1959, allocations: 0.8321 MB / 0.562 GB, free: 3.758 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00244/0.1984, allocations: 1.149 MB / 0.5631 GB, free: 2.555 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.1984, allocations: 4 kB / 0.5631 GB, free: 2.551 MB / 490.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003706/0.2021, allocations: 1.606 MB / 0.5647 GB, free: 0.918 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002272/0.2023, allocations: 37.69 kB / 0.5647 GB, free: 0.875 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.2023, allocations: 8 kB / 0.5647 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006206/0.2029, allocations: 117.6 kB / 0.5648 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.204, allocations: 271.6 kB / 0.5651 GB, free: 492 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003541/0.2076, allocations: 2.979 MB / 0.568 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.2088, allocations: 129.1 kB / 0.5681 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.2089, allocations: 63.97 kB / 0.5682 GB, free: 13.12 MB / 0.4948 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.0008656/0.2098, allocations: 377.5 kB / 0.5685 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004875/0.2103, allocations: 238.8 kB / 0.5688 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004656/0.2149, allocations: 2.111 MB / 0.5708 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.215, allocations: 16 kB / 0.5708 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.215, allocations: 0 / 0.5708 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/0.215, allocations: 7.969 kB / 0.5708 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006502/0.2215, allocations: 2.959 MB / 0.5737 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.2215, allocations: 0 / 0.5737 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.2225, allocations: 267.7 kB / 0.574 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005249/0.2231, allocations: 133.5 kB / 0.5741 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.2232, allocations: 47.97 kB / 0.5742 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003417/0.2266, allocations: 2.963 MB / 0.577 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2266, allocations: 0 / 0.577 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005089/0.2317, allocations: 2.357 MB / 0.5793 GB, free: 1.398 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009516/0.2326, allocations: 400.1 kB / 0.5797 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/0.2328, allocations: 39.89 kB / 0.5798 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006642/0.2335, allocations: 43.97 kB / 0.5798 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002734/0.2338, allocations: 121.1 kB / 0.5799 GB, free: 0.8047 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.2339, allocations: 55.97 kB / 0.58 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001446/0.2353, allocations: 0.8997 MB / 0.5809 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2353, allocations: 4.062 kB / 0.5809 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001729/0.2371, allocations: 0.5966 MB / 0.5814 GB, free: 15.25 MB / 0.5105 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.002477/0.2395, allocations: 0.8293 MB / 0.5823 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003129/0.2427, allocations: 1.509 MB / 0.5837 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2427, allocations: 0 / 0.5837 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001716/0.2444, allocations: 0.9115 MB / 0.5846 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/0.2473, allocations: 0.6634 MB / 0.5853 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008715/0.256, allocations: 3.51 MB / 0.5887 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009803/0.257, allocations: 0.781 MB / 0.5895 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001364/0.2584, allocations: 384.7 kB / 0.5898 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004981/0.2589, allocations: 192.4 kB / 0.59 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of SimCode: time 9.92e-07/0.2589, allocations: 0 / 0.59 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of Templates: time 0.06234/0.3212, allocations: 31.83 MB / 0.6211 GB, free: 7.312 MB / 0.5417 GB " [Timeout remaining time 660] 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.225687004975043]