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.001591/0.001591, allocations: 77.31 kB / 19.76 MB, free: 2.051 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.001746/0.001746, allocations: 155.2 kB / 23 MB, free: 4.941 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.371/1.371, allocations: 177.2 MB / 203.4 MB, free: 9.301 MB / 190.1 MB " [Timeout remaining time 179] 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.7144/0.7144, allocations: 79.6 MB / 339.4 MB, free: 11.53 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002603/0.002603, allocations: 87.03 kB / 0.4924 GB, free: 26.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.11, allocations: 74.59 MB / 0.5652 GB, free: 6.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.04731/0.1573, allocations: 41.14 MB / 0.6054 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01554/0.1728, allocations: 11.36 MB / 0.6165 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.1741, allocations: 79.31 kB / 0.6165 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002447/0.1766, allocations: 1.072 MB / 0.6176 GB, free: 336 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005094/0.1817, allocations: 2.129 MB / 0.6197 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003085/0.1848, allocations: 1.202 MB / 0.6208 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003617/0.1884, allocations: 2.852 MB / 0.6236 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005771/0.189, allocations: 286.1 kB / 0.6239 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003117/0.1921, allocations: 1.92 MB / 0.6258 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.1936, allocations: 1.042 MB / 0.6268 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003121/0.1939, allocations: 136 kB / 0.6269 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002489/0.1964, allocations: 1.034 MB / 0.6279 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000478/0.1969, allocations: 434.1 kB / 0.6283 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001005/0.1979, allocations: 0.7771 MB / 0.6291 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004302/0.2022, allocations: 2.883 MB / 0.6319 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2022, allocations: 0 / 0.6319 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2022, allocations: 4 kB / 0.6319 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.494e-05/0.2022, allocations: 0 / 0.6319 GB, free: 1.566 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.004903/0.2071, allocations: 2.49 MB / 0.6344 GB, free: 15.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2072, allocations: 8.031 kB / 0.6344 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007683/0.2079, allocations: 275.4 kB / 0.6346 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/0.2104, allocations: 1.261 MB / 0.6359 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.212e-05/0.2104, allocations: 98.97 kB / 0.6359 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/0.2106, allocations: 127.9 kB / 0.6361 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.2133, allocations: 1.551 MB / 0.6376 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.2133, allocations: 0 / 0.6376 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.2134, allocations: 55.98 kB / 0.6376 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.2134, allocations: 32 kB / 0.6377 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002751/0.2162, allocations: 1.583 MB / 0.6392 GB, free: 9.938 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006284/0.2225, allocations: 3.576 MB / 0.6427 GB, free: 6.301 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002306/0.2248, allocations: 1.219 MB / 0.6439 GB, free: 5.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.2259, allocations: 0.603 MB / 0.6445 GB, free: 4.465 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004269/0.2302, allocations: 1.974 MB / 0.6464 GB, free: 2.469 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/0.2316, allocations: 0.7908 MB / 0.6472 GB, free: 1.645 MB / 0.545 GB Notification: Performance of pre-optimization done (n=139): time 3.386e-06/0.2316, allocations: 4 kB / 0.6472 GB, free: 1.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=139): time 0.004398/0.236, allocations: 1.94 MB / 0.6491 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.2361, allocations: 124.1 kB / 0.6492 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.2377, allocations: 1.251 MB / 0.6504 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.791e-05/0.2378, allocations: 53.7 kB / 0.6505 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006129/0.2384, allocations: 0.7145 MB / 0.6512 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004269/0.2388, allocations: 495.6 kB / 0.6516 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003887/0.2392, allocations: 242.8 kB / 0.6519 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.2394, allocations: 353.9 kB / 0.6522 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009273/0.2403, allocations: 488.1 kB / 0.6527 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.2414, allocations: 0.6971 MB / 0.6534 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/0.2436, allocations: 1.165 MB / 0.6545 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.2436, allocations: 0 / 0.6545 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003023/0.2466, allocations: 1.548 MB / 0.656 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.2466, allocations: 41.69 kB / 0.656 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.2466, allocations: 4 kB / 0.6561 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004262/0.2471, allocations: 101.6 kB / 0.6561 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.2481, allocations: 275.6 kB / 0.6564 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002968/0.2511, allocations: 2.956 MB / 0.6593 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008101/0.2519, allocations: 119.2 kB / 0.6594 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.252, allocations: 59.97 kB / 0.6595 GB, free: 4.617 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.0006408/0.2526, allocations: 385.5 kB / 0.6598 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003049/0.253, allocations: 182.8 kB / 0.66 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004245/0.2572, allocations: 2.112 MB / 0.6621 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.2572, allocations: 12 kB / 0.6621 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2572, allocations: 4 kB / 0.6621 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/0.2572, allocations: 7.969 kB / 0.6621 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005453/0.2627, allocations: 2.946 MB / 0.665 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.2627, allocations: 3.938 kB / 0.665 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009879/0.2637, allocations: 271.8 kB / 0.6652 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003583/0.264, allocations: 113.5 kB / 0.6653 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.2641, allocations: 43.97 kB / 0.6654 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002891/0.267, allocations: 2.959 MB / 0.6683 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.267, allocations: 7.922 kB / 0.6683 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004214/0.2713, allocations: 2.306 MB / 0.6705 GB, free: 9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007434/0.272, allocations: 392.2 kB / 0.6709 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/0.2722, allocations: 35.94 kB / 0.6709 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006224/0.2728, allocations: 39.98 kB / 0.671 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002424/0.2731, allocations: 129.1 kB / 0.6711 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.2732, allocations: 51.97 kB / 0.6712 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001184/0.2743, allocations: 0.8744 MB / 0.672 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2743, allocations: 0 / 0.672 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001389/0.2757, allocations: 0.5653 MB / 0.6726 GB, free: 6.93 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.002089/0.2778, allocations: 0.8231 MB / 0.6734 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002811/0.2806, allocations: 1.51 MB / 0.6748 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2806, allocations: 4.125 kB / 0.6748 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.2822, allocations: 0.9028 MB / 0.6757 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.2841, allocations: 461.6 kB / 0.6762 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005566/0.2897, allocations: 3.186 MB / 0.6793 GB, free: 116 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008878/0.2906, allocations: 0.7629 MB / 0.68 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001074/0.2917, allocations: 366 kB / 0.6804 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004644/0.2921, allocations: 180.4 kB / 0.6805 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of SimCode: time 5.62e-07/0.2921, allocations: 0 / 0.6805 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of Templates: time 0.2703/0.5624, allocations: 27.38 MB / 0.7073 GB, free: 121.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 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -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/jenkins1/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: 6.404196312185377]